Skip to content
Open
8 changes: 7 additions & 1 deletion bobassembly/prototypes/assembly-burner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ if not mods["aai-industry"] and settings.startup["bobmods-assembly-burner"].valu
filename = "__base__/sound/item/mechanical-inventory-pickup.ogg",
volume = 0.8,
},
weight = 40000,
weight = 20000,
},

{
Expand Down Expand Up @@ -337,4 +337,10 @@ if not mods["aai-industry"] and settings.startup["bobmods-assembly-burner"].valu
data.raw["assembling-machine"]["bob-burner-assembling-machine"].ingredient_count = 2
data.raw["assembling-machine"]["bob-steam-assembling-machine"].ingredient_count = 4
end

if mods["space-age"] then
data.raw["assembling-machine"]["bob-burner-assembling-machine"].surface_conditions = {
{ property = "pressure", min = 10 },
}
end
end
29 changes: 17 additions & 12 deletions bobgreenhouse/prototypes/entities.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,22 @@ data:extend({
},
})

if feature_flags["freezing"] and mods["space-age"] then
data.raw["assembling-machine"]["bob-greenhouse"].heating_energy = "250kW"
data.raw["assembling-machine"]["bob-greenhouse"].graphics_set.frozen_patch = {
filename = "__space-age__/graphics/entity/frozen/lab/lab.png",
width = 194,
height = 174,
scale = 0.5,
shift = { 0, 0.09375 },
if mods["space-age"] then
data.raw["assembling-machine"]["bob-greenhouse"].surface_conditions = {
{ property = "gravity", min = 1 },
}
local pipefrozenpatch = data.raw["assembling-machine"]["assembling-machine-2"].fluid_boxes[1].pipe_picture_frozen
local pcfrozenpatch = data.raw["assembling-machine"]["assembling-machine-2"].fluid_boxes[1].pipe_covers_frozen
data.raw["assembling-machine"]["bob-greenhouse"].fluid_boxes[1].pipe_picture_frozen = pipefrozenpatch
data.raw["assembling-machine"]["bob-greenhouse"].fluid_boxes[1].pipe_covers_frozen = pcfrozenpatch
if feature_flags["freezing"] then
data.raw["assembling-machine"]["bob-greenhouse"].heating_energy = "250kW"
data.raw["assembling-machine"]["bob-greenhouse"].graphics_set.frozen_patch = {
filename = "__space-age__/graphics/entity/frozen/lab/lab.png",
width = 194,
height = 174,
scale = 0.5,
shift = { 0, 0.09375 },
}
local pipefrozenpatch = data.raw["assembling-machine"]["assembling-machine-2"].fluid_boxes[1].pipe_picture_frozen
local pcfrozenpatch = data.raw["assembling-machine"]["assembling-machine-2"].fluid_boxes[1].pipe_covers_frozen
data.raw["assembling-machine"]["bob-greenhouse"].fluid_boxes[1].pipe_picture_frozen = pipefrozenpatch
data.raw["assembling-machine"]["bob-greenhouse"].fluid_boxes[1].pipe_covers_frozen = pcfrozenpatch
end
end
16 changes: 16 additions & 0 deletions boblogistics/prototypes/chests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ if data.raw.item["bob-brass-alloy"] then
drop_sound = chest_drop_move,
inventory_move_sound = chest_drop_move,
pick_sound = chest_pick,
weight = 20000,
},
{
type = "container",
Expand Down Expand Up @@ -74,6 +75,13 @@ if data.raw.item["bob-brass-alloy"] then
circuit_wire_max_distance = default_circuit_wire_max_distance,
},
})

if mods["space-age"] then
data.raw.container["bob-brass-chest"].surface_conditions = {
{ property = "gravity", min = 1 },
}
end

end

if data.raw.item["bob-titanium-plate"] then
Expand All @@ -97,6 +105,7 @@ if data.raw.item["bob-titanium-plate"] then
drop_sound = chest_drop_move,
inventory_move_sound = chest_drop_move,
pick_sound = chest_pick,
weight = 20000,
},
{
type = "container",
Expand Down Expand Up @@ -152,4 +161,11 @@ if data.raw.item["bob-titanium-plate"] then
circuit_wire_max_distance = default_circuit_wire_max_distance,
},
})

if mods["space-age"] then
data.raw.container["bob-titanium-chest"].surface_conditions = {
{ property = "gravity", min = 1 },
}
end

end
19 changes: 19 additions & 0 deletions boblogistics/prototypes/entity/logistic-container.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,22 @@ data:extend({
circuit_wire_max_distance = 15,
}),
})

if mods["space-age"] then
local no_space = {
{ property = "gravity", min = 1 },
}

data.raw["logistic-container"]["bob-passive-provider-chest-2"].surface_conditions = no_space
data.raw["logistic-container"]["bob-active-provider-chest-2"].surface_conditions = no_space
data.raw["logistic-container"]["bob-storage-chest-2"].surface_conditions = no_space
data.raw["logistic-container"]["bob-buffer-chest-2"].surface_conditions = no_space
data.raw["logistic-container"]["bob-requester-chest-2"].surface_conditions = no_space

data.raw["logistic-container"]["bob-passive-provider-chest-3"].surface_conditions = no_space
data.raw["logistic-container"]["bob-active-provider-chest-3"].surface_conditions = no_space
data.raw["logistic-container"]["bob-storage-chest-3"].surface_conditions = no_space
data.raw["logistic-container"]["bob-buffer-chest-3"].surface_conditions = no_space
data.raw["logistic-container"]["bob-requester-chest-3"].surface_conditions = no_space

end
Loading