MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / aRoomSetFuelcen

Function aRoomSetFuelcen

scripts/DallasFuncs.cpp:2185–2192  ·  view source on GitHub ↗

$$ACTION Rooms Turn [e:On/Off] fuelcen in room [r:Room] aRoomSetFuelcen Turn On/Off fuelcen in room Turns on or off the fuelcen in a room Parameters: On/Off: whether the fuelcen should be on or off Room: the room to set $$END */

Source from the content-addressed store, hash-verified

2183$$END
2184*/
2185void aRoomSetFuelcen(int state, int roomnum) {
2186 msafe_struct mstruct;
2187
2188 mstruct.roomnum = roomnum;
2189 mstruct.state = state;
2190
2191 MSafe_CallFunction(MSAFE_ROOM_REFUEL, &mstruct);
2192}
2193
2194/*
2195$$ACTION

Callers 1

CallEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected