mod in development
Posted: Thu Sep 17, 2020 3:38 am
hey guys & gals hope your having a good week. i have a concept for a mod that i would appreciate some help on. i want to create a ship that limits the player to 8 systems total. to do this i was planning on having systems replace each other upon a players purchase from a store the same way the medbay is replaced by a colon bay. unfortunately I'm unable to create a code that slipstream will except. here's with i came up with so far
im very new to c++ and coding in general so this probably is straight garbage. i would appreciate any feed back and thank you
Code: Select all
</slot>
if (<battery power="1" room="1" start="true" img="room_battery_2">)
{<artillery power="1" room="1" start="false"
<doors power="1" room="1" start="false" img="room_doors_4">
<sensors power="1" room="1" start="false" img="room_sensors_6">}
<slot>
</slot>
if (<doors power="1" room="1" start="true" img="room_doors_4">)
{<artillery power="1" room="1" start="false"
<battery power="1" room="1" start="false" img="room_battery_2" />
<sensors power="1" room="1" start="false" img="room_sensors_6">}
<slot>
</slot>
if (<sensors power="1" room="1" start="true" img="room_sensors_6">)
{<artillery power="1" room="1" start="false"
<battery power="1" room="1" start="false" img="room_battery_2" />
<doors power="1" room="1" start="false" img="room_doors_4">}
</slot>
</slot>
if (<drones power="1" room="6" start="true" img="room_drones_14" >)
{<hacking power="1" room="6" start="false" img="room_hacking_7" />
<mind power="1" room="6" start="false" img="room_mind_2" />}
if (<hacking power="1" room="6" start="true" img="room_hacking_7">)
{<drones power="1" room="6" start="false" img="room_drones_14" />
<mind power="1" room="6" start="false" img="room_mind_2" />}
if (<mind power="1" room="6" start="true" img="room_mind_2" >)
{<drones power="1" room="6" start="false" img="room_drones_14" />
<hacking power="1" room="6" start="false" img="room_hacking_7" />}
<slot>
im very new to c++ and coding in general so this probably is straight garbage. i would appreciate any feed back and thank you