Make window by the storage tank optional

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Make window by the storage tank optional

Post by darkfrei »

Hi devs!

Can you please make this parameters optional? I need the storage tank without any window.

Code: Select all

local entity= data.raw["storage-tank"]["storage-tank"]
entity.pictures.window_background
entity.pictures.fluid_background
entity.pictures.flow_sprite
entity.pictures.gas_flow
entity.window_bounding_box
entity.flow_length_in_ticks
PFQNiet
Filter Inserter
Filter Inserter
Posts: 289
Joined: Sat Sep 05, 2020 7:48 pm
Contact:

Re: Make window by the storage tank optional

Post by PFQNiet »

Can't you just set those graphics to the empty sprite?
User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 430
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: Make window by the storage tank optional

Post by kirazy »

PFQNiet wrote: Fri Jan 15, 2021 10:28 pm Can't you just set those graphics to the empty sprite?
Yep.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Make window by the storage tank optional

Post by darkfrei »

PFQNiet wrote: Fri Jan 15, 2021 10:28 pm Can't you just set those graphics to the empty sprite?
I don't know why I need empty sprites for it.
User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 430
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Re: Make window by the storage tank optional

Post by kirazy »

darkfrei wrote: Fri Jan 15, 2021 11:41 pm
PFQNiet wrote: Fri Jan 15, 2021 10:28 pm Can't you just set those graphics to the empty sprite?
I don't know why I need empty sprites for it.
Mandatory properties but you don't want to use it.
Post Reply

Return to “Modding interface requests”