Add two new cheat codes: "more power" gives you 1000 power, and
"superpower" gives you a very large number of power. git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2462 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
46a9f57922
commit
35df577a0e
|
@ -44,6 +44,8 @@ static CHEAT_ENTRY cheatCodes[] =
|
|||
{"count me", kf_ShowNumObjects}, // give a count of objects in the world
|
||||
{"give all", kf_AllAvailable}, // give all
|
||||
{"research all", kf_FinishAllResearch}, // research everything at once
|
||||
{"superpower", kf_MaxPower}, // get tons of power
|
||||
{"more power", kf_UpThePower}, // get tons of power
|
||||
{"deity", kf_ToggleGodMode}, //from above
|
||||
{"droidinfo", kf_DebugDroidInfo}, //show unit stats
|
||||
{"sensors", kf_ToggleSensorDisplay}, //show sensor ranges
|
||||
|
|
|
@ -270,8 +270,8 @@ void kf_MaxPower( void )
|
|||
{
|
||||
if(!bMultiPlayer|| (NetPlay.bComms == 0))
|
||||
{
|
||||
asPower[selectedPlayer]->currentPower=SDWORD_MAX;
|
||||
addConsoleMessage("Max Power!!",LEFT_JUSTIFY);
|
||||
asPower[selectedPlayer]->currentPower = SDWORD_MAX / 2;
|
||||
addConsoleMessage("Power overwhelming",LEFT_JUSTIFY);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue