Compare commits
2 commits
a28e452c04
...
0ad6479463
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ad6479463 | ||
|
|
c36bf41c17 |
3 changed files with 23 additions and 3 deletions
|
|
@ -48,6 +48,8 @@ AAILoaders.make_tier({
|
|||
|
||||
data.raw.recipe["aai-wood-loader"].additional_categories = { "wood-processing" }
|
||||
|
||||
data.raw["loader-1x1"]["aai-wood-loader"].animation_speed_coefficient = 1.01 * 32
|
||||
|
||||
if not basic_circuit_board then
|
||||
local nauvis_recipe = Recipe:new("aai-wood-loader"):clone("wood-loader-electronic-circuit")
|
||||
nauvis_recipe:replaceIngredient("gold-cable", "electronic-circuit")
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ lane_splitter.prototype.structure_patch.east.filename = data.raw.splitter["wood-
|
|||
lane_splitter.prototype.structure_patch.south.filename = data.raw.splitter["wood-splitter"].structure_patch.south.filename
|
||||
lane_splitter.prototype.structure_patch.west.filename = data.raw.splitter["wood-splitter"].structure_patch.west.filename
|
||||
lane_splitter.prototype.structure_patch.north.filename = data.raw.splitter["wood-splitter"].structure_patch.north.filename
|
||||
lane_splitter.prototype.animation_speed_coefficient = 1.01 * 32
|
||||
lane_splitter.item.icon = Lignumis.graphics .. "icons/wood-lane-splitter.png"
|
||||
lane_splitter.item.order = "d[lane-splitter]-0[wood-lane-splitter]"
|
||||
lane_splitter.recipe.additional_categories = { "wood-processing" }
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
local meld = require("meld")
|
||||
local hit_effects = require("__base__.prototypes.entity.hit-effects")
|
||||
local sounds = require("__base__.prototypes.entity.sounds")
|
||||
local item_sounds = require("__base__.prototypes.item_sounds")
|
||||
|
|
@ -8,13 +9,26 @@ if mods["wood-logistics"] and settings.startup["wood-logistics-belts"].value the
|
|||
end
|
||||
|
||||
local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value
|
||||
local speed = 7.5
|
||||
local speed = 7.5 / 480
|
||||
local name = "wood"
|
||||
local transportBeltName = name .. "-transport-belt"
|
||||
local undergroundBeltName = name .. "-underground-belt"
|
||||
local splitterName = name .. "-splitter"
|
||||
local gfx = Lignumis.graphics .. "entity/wood-logistics/"
|
||||
|
||||
local function createAnimation()
|
||||
return meld({
|
||||
animation_set = {
|
||||
filename = gfx .. "wood-transport-belt.png",
|
||||
priority = "extra-high",
|
||||
size = 128,
|
||||
scale = 0.5,
|
||||
frame_count = 16,
|
||||
direction_count = 20
|
||||
}
|
||||
}, belt_reader_gfx)
|
||||
end
|
||||
|
||||
data:extend({
|
||||
{
|
||||
type = "transport-belt",
|
||||
|
|
@ -46,6 +60,7 @@ data:extend({
|
|||
fast_replaceable_group = "transport-belt",
|
||||
related_underground_belt = undergroundBeltName,
|
||||
speed = speed,
|
||||
belt_animation_set = createAnimation(),
|
||||
connector_frame_sprites = transport_belt_connector_frame_sprites,
|
||||
circuit_connector = circuit_connector_definitions["belt"],
|
||||
circuit_wire_max_distance = transport_belt_circuit_wire_max_distance
|
||||
|
|
@ -179,7 +194,8 @@ data:extend({
|
|||
scale = 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
belt_animation_set = createAnimation()
|
||||
},
|
||||
{
|
||||
type = "corpse",
|
||||
|
|
@ -302,7 +318,8 @@ data:extend({
|
|||
shift = util.by_pixel(6, -18),
|
||||
scale = 0.5
|
||||
}
|
||||
}
|
||||
},
|
||||
belt_animation_set = createAnimation()
|
||||
},
|
||||
{
|
||||
type = "corpse",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue