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