mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
New Cheat to be Released from the Dorm
New Cheat to be Released from the Dorm
This commit is contained in:
parent
f77a880689
commit
a88695f2ad
1 changed files with 14 additions and 1 deletions
15
Cheat.js
15
Cheat.js
|
@ -16,8 +16,9 @@ function CheatKey() {
|
|||
if (KeyPress == 43) CheatTime(900000);
|
||||
if (KeyPress == 45) CheatTime(-900000);
|
||||
|
||||
// Actors and inventory cheat
|
||||
// Specific cheats by functions
|
||||
if (CurrentActor != "") CheatActor();
|
||||
if ((CurrentChapter == "C012_AfterClass") && (CurrentScreen == "Dorm")) CheatDorm();
|
||||
CheatSkill();
|
||||
CheatInventory();
|
||||
|
||||
|
@ -78,4 +79,16 @@ function CheatInventory() {
|
|||
if ((KeyPress == 83) || (KeyPress == 115)) PlayerAddInventory("SleepingPill", 1);
|
||||
if ((KeyPress == 84) || (KeyPress == 116)) PlayerAddInventory("TapeGag", 1);
|
||||
if ((KeyPress == 86) || (KeyPress == 118)) PlayerAddInventory("VibratingEgg", 1);
|
||||
}
|
||||
|
||||
// Cheats that are specific to the player's dorm room
|
||||
function CheatDorm() {
|
||||
|
||||
// If the player isn't grounded, she can be released by using *
|
||||
if ((KeyPress == 42) && !GameLogQuery(CurrentChapter, "", "EventGrounded")) {
|
||||
PlayerReleaseBondage();
|
||||
if (PlayerHasLockedInventory("ChastityBelt")) { PlayerUnlockInventory("ChastityBelt"); PlayerAddInventory("ChastityBelt", 1); }
|
||||
if (PlayerHasLockedInventory("VibratingEgg")) { PlayerUnlockInventory("VibratingEgg"); PlayerAddInventory("VibratingEgg", 1); }
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue