allow sprite variation in lamp

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
gheift
Fast Inserter
Fast Inserter
Posts: 188
Joined: Tue Mar 03, 2015 9:20 pm
Contact:

allow sprite variation in lamp

Post by gheift »

Please allow multiple sprites in the lamp prototype, these can then be selected with entity.graphics_variation like with the simple-entity:

Code: Select all

data:extend{{
    name = "my-lamp",
    type = "lamp",
    pictures_on = {
        { filename = "__mod__/graphic/sprite-on-1.png", width = 32, height = 32, },
        { filename = "__mod__/graphic/sprite-on-2.png", width = 32, height = 32, },
    },
    pictures_off = {
        { filename = "__mod__/graphic/sprite-off-1.png", width = 32, height = 32, },
        { filename = "__mod__/graphic/sprite-off-2.png", width = 32, height = 32, },
    },
    -- ...
}}
Thanks,
Gerhard

Post Reply

Return to “Modding interface requests”