I want to make a system for fire sprinklers, one that can be upgraded and requires power to function. I need a WATER resource for it, but I will make the player encounter more in asteroid belts and perhaps nebulas so that I don't have to edit things in the store menu.
How would I add a custom resource and a place for displaying how much you have of it on screen? How would I add a system (requiring a room)? Lastly, how would I make it so that you can click on it and use it, just like a weapon, but it would put out fires. Here's how I hoped it would work:
LVL 1 (1 power): you click on it and it put out fires at the target, ridding you of one unit of water for each possible fire unit in the room. It removes the fire and temporarily shuts off any system/subsystem in the room (~3 seconds)
LVL 2 (2 power): You click on it and it puts out fires more efficiently, taking out the fire but only using as much water as needed. EX. there are three spots in the room, but only 2 fires. It will put them out but use up 2 water instead of 3. Still takes out systems/subsystems in target room for ~3 seconds.
LVL 3 (4 power): Fully automated, does not take out systems/subsystems.
I am asking alot of you guys, but this is my gateway into FTL modding so I would appreciate some help on this one, so that I can hopefully make cooler things later. I just want to know more in-depth how this stuff works.
Thanks in advance!
