diff --git a/CHEATS.md b/CHEATS.md index 2d7b7b60..88e52788 100644 --- a/CHEATS.md +++ b/CHEATS.md @@ -10,7 +10,15 @@ ## In game -- Press B, R, I simultaneously to fill up your inventory. +- Press B, R, I simultaneously to fill heealth and fuel. + +- \` + F1 = Fill rocket fuel + +- \` + F2 = Full health + +- \` + F3 = Full jump jet + +- \` + F4 = Fill weapons - Press F8 to bring up debug mode. diff --git a/Otto Matic Strategy Guide.doc b/Otto Matic Strategy Guide.doc new file mode 100644 index 00000000..73bfc1e8 Binary files /dev/null and b/Otto Matic Strategy Guide.doc differ diff --git a/Otto Matic Strategy Guide.pdf b/Otto Matic Strategy Guide.pdf new file mode 100644 index 00000000..e21ead76 Binary files /dev/null and b/Otto Matic Strategy Guide.pdf differ diff --git a/src/Player/Player_Robot.c b/src/Player/Player_Robot.c index 9f331257..849e55a5 100644 --- a/src/Player/Player_Robot.c +++ b/src/Player/Player_Robot.c @@ -2824,10 +2824,44 @@ static void CheckPlayerActionControls(ObjNode *theNode) gPlayerInfo.health = 1.0; gPlayerInfo.fuel = 1.0; gPlayerInfo.jumpJet = 1.0; - gPlayerInfo.weaponInventory[6].type = WEAPON_TYPE_SUPERNOVA; + } + + if (GetKeyState(SDL_SCANCODE_GRAVE) && + GetKeyState(SDL_SCANCODE_F1)) + { + gPlayerInfo.fuel = 1.0; + } + + if (GetKeyState(SDL_SCANCODE_GRAVE) && + GetKeyState(SDL_SCANCODE_F2)) + { + gPlayerInfo.health = 1.0; + } + + if (GetKeyState(SDL_SCANCODE_GRAVE) && + GetKeyState(SDL_SCANCODE_F3)) + { + gPlayerInfo.jumpJet = 1.0; + } + + if (GetKeyState(SDL_SCANCODE_GRAVE) && + GetKeyState(SDL_SCANCODE_F4)) + { + gPlayerInfo.weaponInventory[1].type = WEAPON_TYPE_STUNPULSE; + gPlayerInfo.weaponInventory[1].quantity = 99; + gPlayerInfo.weaponInventory[2].type = WEAPON_TYPE_FREEZE; + gPlayerInfo.weaponInventory[2].quantity = 99; + gPlayerInfo.weaponInventory[3].type = WEAPON_TYPE_FLAME; + gPlayerInfo.weaponInventory[3].quantity = 99; + gPlayerInfo.weaponInventory[4].type = WEAPON_TYPE_FLARE; + gPlayerInfo.weaponInventory[4].quantity = 99; + gPlayerInfo.weaponInventory[5].type = WEAPON_TYPE_SUPERNOVA; + gPlayerInfo.weaponInventory[5].quantity = 99; + gPlayerInfo.weaponInventory[6].type = WEAPON_TYPE_DART; gPlayerInfo.weaponInventory[6].quantity = 99; - gPlayerInfo.weaponInventory[7].type = WEAPON_TYPE_STUNPULSE; + gPlayerInfo.weaponInventory[7].type = WEAPON_TYPE_GROWTH; gPlayerInfo.weaponInventory[7].quantity = 99; + LoadSoundEffect(EFFECT_GIANTFOOTSTEP); } /***************/ diff --git a/src/Player/Player_Weapons.c b/src/Player/Player_Weapons.c index d0c237e4..92726198 100644 --- a/src/Player/Player_Weapons.c +++ b/src/Player/Player_Weapons.c @@ -324,7 +324,7 @@ static const short weaponToModel[] = /* MAKE IT FLY AWAY */ - if (type == WEAPON_TYPE_GROWTH) // special case the growth powerup + if ((type == WEAPON_TYPE_GROWTH) && (gLevelNum == LEVEL_NUM_JUNGLE)) // special case the growth powerup TossGrowthVial(); else {