Hello,
I would like to make a game that takes place on board a space ship, the primary objective would be to keep the ship in good repair through a series of various catastrophes , such as hull breeches, invades, etc. Now there are two issues I am wondering about, and I think they might be related in how they are implemented. I am hoping maybe someone could share some input!
The first issue is the issue of a power/electricity system. I want the ship to have a central engine that supplies the power to the ship. I want wires to connect the main engine battery to the various consoles, lights, and so forth throughout the ship. If a wire is disconnected, cut, destroyed, whatever, then power stops going to whatever the wire was hooked up to, which could be a console, or an entire room if the wire is far enough back towards the main engine battery. So how would I make it so I can check if there is a connection of good wires between the engine and the various equipment of the ship?
In a similar vein, I want to simulate hull breeches, which remove the oxygen from the room(s) effected. Basically, all rooms are encased with floors and walls, and the dark vacuum of space exists outside of the walls and under the floors across the entire layout. If there is a breech in the floor or in a wall that is adjacent to space, I would like for the oxygen to be removed from the room (each room is an 'area' and keeps track of whether or not it alone has oxygen). However, if the breech extends through multiple rooms, or if there is a breech in one room and a door open to the next, how would I make it so that the oxygen is removed from all breeched/opened rooms?
Any ideas/thoughts/tips/input would be greatly appreciated!
Thanks!