Cheat Core by ethanwdp
  • by ethanwdp
  • 26. Jun 2015
  • 3418 views
  • 282 downloads
  • 0 followers
  • 0/5 points (0 votes)
Tried it? rate it:


Cheat Core 1.0

After I stripped Cheat Menu of the context menu code, I was left with a flexible core I could use.

It's no fun to keep that to myself, so I decided to upload it here.

 

NOTICE: This is a utility file for modders. If you're not a modder, and/or you just want a cheat mod, go to here:

www.pz-mods.net/gameplay/cheatmenu/

 

Features:

 

CheatCore.HandleToggle(stringNameForPlayerToSay, stringVariableToToggle, stringOptionalFunctionCall)

Example: CheatCore.HandleToggle("Godmode", "CheatCore.IsGod"). All arguments are optional.

CheatCore.SetTime(numberTimeToSet, stringTimeDayMonthOrYear)

Example: CheatCore.SetTime(9, "Time")

 

CheatCore.DoRefillAmmo()

 

CheatCore.DoMaxSkill(SkillToSet, ToLevel)

 

CheatCore.DoGhostMode()

 

CheatCore.DoRepair()

 

CheatCore.DoHeal()

 

CheatCore.AllStatsToggle() -- toggles all needs

 

CheatCore.DoMaxAllSkills()

 

CheatCore.DoWeaponDamage() -- run after setting CheatCore.IsMelee

 

Variables

 

CheatCore.IsGod -- Godmode.


CheatCore.IsAmmo -- Infinite ammo.

 

ISBuildMenu.cheat -- comes default with game, can be enabled like anything else. Effectively creative mode.

 

CheatCore.IsDelete -- Toggle Delete Mode (Press X to delete tile object under mouse. Ignores floor tiles to avoid issues.)

 

CheatCore.FireBrushEnabled -- Toggle Fire Brush.

 

CheatCore.ZombieBrushEnabled -- Toggle Zombie Brush. Requires CheatCore.ZombiesToSpawn to be defined.

 

CheatCore.IsMelee -- see CheatCore.DoWeaponDamage()

 

CheatCore.IsNeedNameHere -- Replace NeedNameHere with whatever need you're toggling off/on. There's a huge list of need toggle variables, but it boils down to IsNeedName. For example, IsSleep. They're case sensitive.

----------------------------------------------------------------------------------------------------------------------------

If you use this, a bit of credit would be nice but is not necessary.

 

CheatCore.IsMelee
X