Skip to content

Commit

Permalink
Remove deprecated prototype fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharparam committed Dec 13, 2024
1 parent ad63a9a commit c3ad930
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/prototypes/combinator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ local name = constants.ENTITY_NAME
local combi = flib_data_util.copy_prototype(data.raw["constant-combinator"]["constant-combinator"], name)
combi.icon = "__cybersyn-combinator__/graphics/icons/cybersyn-combinator.png"
combi.icon_size = 64
combi.icon_mipmaps = 4
combi.next_upgrade = nil
combi.fast_replaceable_group = "constant-combinator"
combi.sprites = make_4way_animation_from_spritesheet {
Expand All @@ -15,15 +14,13 @@ combi.sprites = make_4way_animation_from_spritesheet {
scale = 0.5,
width = 114,
height = 102,
frame_count = 1,
shift = util.by_pixel(0, 5)
},
{
filename = "__base__/graphics/entity/combinator/constant-combinator-shadow.png",
scale = 0.5,
width = 98,
height = 66,
frame_count = 1,
shift = util.by_pixel(8.5, 5.5),
draw_as_shadow = true
}
Expand All @@ -33,7 +30,6 @@ combi.sprites = make_4way_animation_from_spritesheet {
local combi_item = flib_data_util.copy_prototype(data.raw.item["constant-combinator"], name)
combi_item.icon = "__cybersyn-combinator__/graphics/icons/cybersyn-combinator.png"
combi_item.icon_size = 64
combi_item.icon_mipmaps = 4
combi_item.subgroup = data.raw.item["train-stop"].subgroup
combi_item.place_result = name

Expand Down

0 comments on commit c3ad930

Please sign in to comment.