Skip to content

Commit

Permalink
v1.82 DynamicCheatsHook
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyoko-Jeremie committed Jan 28, 2025
1 parent 6e0c758 commit 43b2c08
Show file tree
Hide file tree
Showing 13 changed files with 787 additions and 178 deletions.
184 changes: 28 additions & 156 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,172 +1,44 @@
## this is a [KinkiestDungeon](https://github.com/Ada18980/KinkiestDungeon) game's cheat Mod

this mod add some Enchanted Restraints to game for fun.
this mod add some Enchanted Restraints & many Cheats to game for fun.

此mod添加了一些远古套装和许多作弊功能,用于提升游戏的乐趣。

because of some reason, the game will create more Enchanted Restraints than normal when enable
EnchantedRestraintsPatch .
if you don't like Enchanted Restraints , uncheck the `install EnchantedRestraintsPatch` option in GUI then reload game.

由于某些原因,启用`EnchantedRestraintsPatch`(远古套装补丁)后,游戏将比正常情况下创建更多的远古套装。
如果你不喜欢远古套装,可以在GUI中取消选中`EnchantedRestraintsPatch`选项并重启游戏。

---
## how to use

### use the game's `MOD` way
this mod are Game Save Safe , it is not broken your game save , you can add or remove it at any time in game.
if you are wearing the Enchanted Restraints added by this mod, after remove the mod, the Enchanted Restraints will be auto unequipped.

download the ` enchanted_restraints.zip` Zip file from [release page](https://github.com/Lyoko-Jeremie/KinkiestDungeon_Mod_enchanted_restraints/releases),
load it in main menu right bottom `Mod` menu, then start the game.
此mod存档安全,不会破坏游戏存档,可以在游戏中随时添加或删除。
如果当前身上已经穿有mod添加的远古服装,删除mod后,远古服装将会被自动卸下。

all the function must call in the develop console, press F12 to open it.
---

## how to use

**🎉UPDATE: now the mod way have a same GUI as Tampermonkey way**

[发布页面](https://github.com/Lyoko-Jeremie/KinkiestDungeon_Mod_enchanted_restraints/releases)下载
`enchanted_restraints.zip`压缩文件,
加载到游戏的mod页面,然后享受你的游戏乐趣。

### use the Game Mod Zip with simple GUI

download the `enchanted_restraints.zip` Zip file
from [release page](https://github.com/Lyoko-Jeremie/KinkiestDungeon_Mod_enchanted_restraints/releases),
load it into game's mod page, then enjoy you game's life.

### use the Tampermonkey Script with simple GUI

download the `GreasemonkeyScript_enchanted_restraints.user.js ` Zip file from [release page](https://github.com/Lyoko-Jeremie/KinkiestDungeon_Mod_enchanted_restraints/releases),
download the `GreasemonkeyScript_enchanted_restraints.user.js` Zip file
from [release page](https://github.com/Lyoko-Jeremie/KinkiestDungeon_Mod_enchanted_restraints/releases),
drag js file into a new tampermonkey Script , set the user include url to your game page,
start the game, press `Alt+Q` to open GUI (or click right-top banner), then enjoy you game's life.



---
## mod function

all the usage fun in the `Mod_EnchantedRestraints` or `KinkyDungeonMod_EnchantedRestraints`

example:

> Apply Custom new Restraints in this Mod : `Mod_EnchantedRestraints.ApplyModRestraint()`
> Bootstrap all base Cheat when new game start : `Mod_EnchantedRestraints.Cheats.BootstrapAllGood()`
> Init a SpellChoice when new game start : `Mod_EnchantedRestraints.Cheats.BootstrapSpellChoicesTable()`
> enable the FullStat Cheat : `Mod_EnchantedRestraints.Cheats.EnableFullState()`
> disable the FullStat Cheat : `Mod_EnchantedRestraints.Cheats.DisableFullState()`
### follow is the api list:

```js

// Apply all the new Restraints in this Mod
Mod_EnchantedRestraints.ApplyModRestraint()

// ===vvvvvvvv=== follow it cheats api list, and some function origin game not export ===vvvvvvvv===

// enable the FullStat
Mod_EnchantedRestraints.Cheats.EnableFullState()
// disable the FullStat
Mod_EnchantedRestraints.Cheats.DisableFullState()
// EnableAllCheats
Mod_EnchantedRestraints.Cheats.EnableAllCheats()
// DisableAllCheats
Mod_EnchantedRestraints.Cheats.DisableAllCheats()
// Add some Distraction
Mod_EnchantedRestraints.Cheats.AddDistraction(/*add offset [option = 10]*/)
//
Mod_EnchantedRestraints.Cheats.SetSpellPoints(/*Points [option = 10000]*/)
//
Mod_EnchantedRestraints.Cheats.SetAncientEnergy(/*AncientEnergy [option , 0.0~1.0]*/)
// add all the keys*1000 and gold*10000000
Mod_EnchantedRestraints.Cheats.AddManyKeys()
// add all the Potion*1000
Mod_EnchantedRestraints.Cheats.AddManyPotion()
// add all the Weapon to Inventory
Mod_EnchantedRestraints.Cheats.AddAllWeapon()
// add all the Outfit to Inventory
Mod_EnchantedRestraints.Cheats.AddAllOutfit()
// add all the Consumables*1000 , keys are not Consumables
Mod_EnchantedRestraints.Cheats.AddAllConsumables()
// add all the Restraints to Inventory
Mod_EnchantedRestraints.Cheats.AddAllRestraints()
// Remove All first layer Restraint , maybe need exe many time to remove all Restraint
Mod_EnchantedRestraints.Cheats.RemoveAllRestraint()
// Remove All layer Restraint , it will remove Restraint link
Mod_EnchantedRestraints.Cheats.RemoveAllRestraintDynamic()
//
Mod_EnchantedRestraints.Cheats.DebugSee.ShowAllRestraint()
//
Mod_EnchantedRestraints.Cheats.DebugSee.ShowAllRestraintDynamic()
//
Mod_EnchantedRestraints.Cheats.DebugSee.ShowAllRestraintDynamicName()
// wear Restraints of Slime
Mod_EnchantedRestraints.Cheats.WearSlime(/*key name [option]*/)
// wear Restraints of Wolf
Mod_EnchantedRestraints.Cheats.WearWolf(/*key name [option]*/)
// wear Restraints of Glue
Mod_EnchantedRestraints.Cheats.WearGlue(/*key name [option]*/)
// wear Restraints of Dress
Mod_EnchantedRestraints.Cheats.WearDress(/*key name [option]*/)
// wear Restraints of Crystal
Mod_EnchantedRestraints.Cheats.WearCrystal(/*key name [option]*/)
// wear Restraints of Bandit
Mod_EnchantedRestraints.Cheats.WearBanditLeg(/*key name [option]*/)
// wear Restraints of Ice
Mod_EnchantedRestraints.Cheats.WearIce(/*key name [option]*/)
// wear Restraints of Ribbon
Mod_EnchantedRestraints.Cheats.WearRibbon(/*key name [option]*/)
// wear Restraints of Enchanted
Mod_EnchantedRestraints.Cheats.WearEnchanted(/*key name [option]*/)
// wear Restraints of Kitty
Mod_EnchantedRestraints.Cheats.WearKitty(/*key name [option]*/)
// wear Restraints of MageArmor
Mod_EnchantedRestraints.Cheats.WearMageArmor(/*key name [option]*/)
// wear Restraints of MysticDuct
Mod_EnchantedRestraints.Cheats.WearMysticDuct(/*key name [option]*/)
// wear Restraints of Divine
Mod_EnchantedRestraints.Cheats.WearDivine(/*key name [option]*/)
// wear Restraints of Vibe
Mod_EnchantedRestraints.Cheats.WearVibe(/*key name [option]*/)
// wear Restraints of Crystal
Mod_EnchantedRestraints.Cheats.WearCrystal(/*key name [option]*/)
// wear Restraints of ShadowHand
Mod_EnchantedRestraints.Cheats.WearShadowHand(/*key name [option]*/)

// make All Relations Full
Mod_EnchantedRestraints.Cheats.FullAllRelations()
// make All Goddess Full
Mod_EnchantedRestraints.Cheats.FullAllGoddess()

// add a Choice
Mod_EnchantedRestraints.Cheats._AddOneCheatChoice(/*the choice key name*/)
// add some good Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceGoodEnhance()
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceGoodEscape()
// add some bad Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceBadNegative()
// add some Mid Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceMidEscape()
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceMid()
// add some Map Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceMap()
// show all Choice now enabled
Mod_EnchantedRestraints.Cheats.ChoicePrintNowChoice()
// enable HardMode,
// the HardMode auto enable when bad Choice point - good Choice point > 10 in origin game
Mod_EnchantedRestraints.Cheats.HardModeEnable()
// disable HardMode
Mod_EnchantedRestraints.Cheats.HardModeDisable()

// export Save Game String, this function implement in origin game code but not have a GUI
Mod_EnchantedRestraints.Cheats.SaveLoad.GameSaveDataString()
// load Save Game String
Mod_EnchantedRestraints.Cheats.SaveLoad.LoadGameSaveString(/*Game Save String from GameSaveDataString()*/)




```

```js

// follow are keys can be lock in Restraints,
// but some of Restraints have its special lock cannot to be lock by special key
Mod_EnchantedRestraints.Cheats.LockList = {
Purple: "Purple", // unlock by command magic, dont need key
Red: "Red",
White: "White",
Blue: "Blue", // unlock by magic key
Gold: "Gold", // unlock by MistressKey
};

// and game have MistressKey lock, GhostLock, they are be a special lock set in Restraints config
// MistressKey lock unlock by MistressKey
// GhostLock unlock by Ectoplasm

```
172 changes: 172 additions & 0 deletions ReadMe.md.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
## this is a [KinkiestDungeon](https://github.com/Ada18980/KinkiestDungeon) game's cheat Mod

this mod add some Enchanted Restraints to game for fun.


---
## how to use

### use the game's `MOD` way

download the ` enchanted_restraints.zip` Zip file from [release page](https://github.com/Lyoko-Jeremie/KinkiestDungeon_Mod_enchanted_restraints/releases),
load it in main menu right bottom `Mod` menu, then start the game.

all the function must call in the develop console, press F12 to open it.

**🎉UPDATE: now the mod way have a same GUI as Tampermonkey way**

### use the Tampermonkey Script with simple GUI

download the `GreasemonkeyScript_enchanted_restraints.user.js ` Zip file from [release page](https://github.com/Lyoko-Jeremie/KinkiestDungeon_Mod_enchanted_restraints/releases),
drag js file into a new tampermonkey Script , set the user include url to your game page,
start the game, press `Alt+Q` to open GUI (or click right-top banner), then enjoy you game's life.



---
## mod function

all the usage fun in the `Mod_EnchantedRestraints` or `KinkyDungeonMod_EnchantedRestraints`

example:

> Apply Custom new Restraints in this Mod : `Mod_EnchantedRestraints.ApplyModRestraint()`

> Bootstrap all base Cheat when new game start : `Mod_EnchantedRestraints.Cheats.BootstrapAllGood()`

> Init a SpellChoice when new game start : `Mod_EnchantedRestraints.Cheats.BootstrapSpellChoicesTable()`

> enable the FullStat Cheat : `Mod_EnchantedRestraints.Cheats.EnableFullState()`

> disable the FullStat Cheat : `Mod_EnchantedRestraints.Cheats.DisableFullState()`

### follow is the api list:

```js

// Apply all the new Restraints in this Mod
Mod_EnchantedRestraints.ApplyModRestraint()

// ===vvvvvvvv=== follow it cheats api list, and some function origin game not export ===vvvvvvvv===

// enable the FullStat
Mod_EnchantedRestraints.Cheats.EnableFullState()
// disable the FullStat
Mod_EnchantedRestraints.Cheats.DisableFullState()
// EnableAllCheats
Mod_EnchantedRestraints.Cheats.EnableAllCheats()
// DisableAllCheats
Mod_EnchantedRestraints.Cheats.DisableAllCheats()
// Add some Distraction
Mod_EnchantedRestraints.Cheats.AddDistraction(/*add offset [option = 10]*/)
//
Mod_EnchantedRestraints.Cheats.SetSpellPoints(/*Points [option = 10000]*/)
//
Mod_EnchantedRestraints.Cheats.SetAncientEnergy(/*AncientEnergy [option , 0.0~1.0]*/)
// add all the keys*1000 and gold*10000000
Mod_EnchantedRestraints.Cheats.AddManyKeys()
// add all the Potion*1000
Mod_EnchantedRestraints.Cheats.AddManyPotion()
// add all the Weapon to Inventory
Mod_EnchantedRestraints.Cheats.AddAllWeapon()
// add all the Outfit to Inventory
Mod_EnchantedRestraints.Cheats.AddAllOutfit()
// add all the Consumables*1000 , keys are not Consumables
Mod_EnchantedRestraints.Cheats.AddAllConsumables()
// add all the Restraints to Inventory
Mod_EnchantedRestraints.Cheats.AddAllRestraints()
// Remove All first layer Restraint , maybe need exe many time to remove all Restraint
Mod_EnchantedRestraints.Cheats.RemoveAllRestraint()
// Remove All layer Restraint , it will remove Restraint link
Mod_EnchantedRestraints.Cheats.RemoveAllRestraintDynamic()
//
Mod_EnchantedRestraints.Cheats.DebugSee.ShowAllRestraint()
//
Mod_EnchantedRestraints.Cheats.DebugSee.ShowAllRestraintDynamic()
//
Mod_EnchantedRestraints.Cheats.DebugSee.ShowAllRestraintDynamicName()
// wear Restraints of Slime
Mod_EnchantedRestraints.Cheats.WearSlime(/*key name [option]*/)
// wear Restraints of Wolf
Mod_EnchantedRestraints.Cheats.WearWolf(/*key name [option]*/)
// wear Restraints of Glue
Mod_EnchantedRestraints.Cheats.WearGlue(/*key name [option]*/)
// wear Restraints of Dress
Mod_EnchantedRestraints.Cheats.WearDress(/*key name [option]*/)
// wear Restraints of Crystal
Mod_EnchantedRestraints.Cheats.WearCrystal(/*key name [option]*/)
// wear Restraints of Bandit
Mod_EnchantedRestraints.Cheats.WearBanditLeg(/*key name [option]*/)
// wear Restraints of Ice
Mod_EnchantedRestraints.Cheats.WearIce(/*key name [option]*/)
// wear Restraints of Ribbon
Mod_EnchantedRestraints.Cheats.WearRibbon(/*key name [option]*/)
// wear Restraints of Enchanted
Mod_EnchantedRestraints.Cheats.WearEnchanted(/*key name [option]*/)
// wear Restraints of Kitty
Mod_EnchantedRestraints.Cheats.WearKitty(/*key name [option]*/)
// wear Restraints of MageArmor
Mod_EnchantedRestraints.Cheats.WearMageArmor(/*key name [option]*/)
// wear Restraints of MysticDuct
Mod_EnchantedRestraints.Cheats.WearMysticDuct(/*key name [option]*/)
// wear Restraints of Divine
Mod_EnchantedRestraints.Cheats.WearDivine(/*key name [option]*/)
// wear Restraints of Vibe
Mod_EnchantedRestraints.Cheats.WearVibe(/*key name [option]*/)
// wear Restraints of Crystal
Mod_EnchantedRestraints.Cheats.WearCrystal(/*key name [option]*/)
// wear Restraints of ShadowHand
Mod_EnchantedRestraints.Cheats.WearShadowHand(/*key name [option]*/)

// make All Relations Full
Mod_EnchantedRestraints.Cheats.FullAllRelations()
// make All Goddess Full
Mod_EnchantedRestraints.Cheats.FullAllGoddess()

// add a Choice
Mod_EnchantedRestraints.Cheats._AddOneCheatChoice(/*the choice key name*/)
// add some good Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceGoodEnhance()
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceGoodEscape()
// add some bad Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceBadNegative()
// add some Mid Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceMidEscape()
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceMid()
// add some Map Choice
Mod_EnchantedRestraints.Cheats.ChoiceAddCheatChoiceMap()
// show all Choice now enabled
Mod_EnchantedRestraints.Cheats.ChoicePrintNowChoice()
// enable HardMode,
// the HardMode auto enable when bad Choice point - good Choice point > 10 in origin game
Mod_EnchantedRestraints.Cheats.HardModeEnable()
// disable HardMode
Mod_EnchantedRestraints.Cheats.HardModeDisable()

// export Save Game String, this function implement in origin game code but not have a GUI
Mod_EnchantedRestraints.Cheats.SaveLoad.GameSaveDataString()
// load Save Game String
Mod_EnchantedRestraints.Cheats.SaveLoad.LoadGameSaveString(/*Game Save String from GameSaveDataString()*/)




```

```js

// follow are keys can be lock in Restraints,
// but some of Restraints have its special lock cannot to be lock by special key
Mod_EnchantedRestraints.Cheats.LockList = {
Purple: "Purple", // unlock by command magic, dont need key
Red: "Red",
White: "White",
Blue: "Blue", // unlock by magic key
Gold: "Gold", // unlock by MistressKey
};

// and game have MistressKey lock, GhostLock, they are be a special lock set in Restraints config
// MistressKey lock unlock by MistressKey
// GhostLock unlock by Ectoplasm

```
2 changes: 1 addition & 1 deletion modMeta/mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"moddesc": "A Cheats Mod with some enchanted_restraints",
"author": "LyokoJeremie",

"modbuild": "1.81",
"modbuild": "1.82",
"gamemajor": 5,
"gameminor": 4,
"gamepatch_min": -1,
Expand Down
Loading

0 comments on commit 43b2c08

Please sign in to comment.