mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-05 20:39:10 +01:00
2.2 KiB
2.2 KiB
Testing Cheats
You can open up the game's cheat menu by pressing the F1
key. Here is a list of some of the more useful cheats for mod development and testing. Keep in mind that [arguments]
need to be replaced with your custom value.
ShowNonBuyable
allows you to buy plates, pots and the likeNeed [name] [percentage <= 1]
changes the current person's needsNoNeed
stops need reduction for everyoneNeedless
fills all needs back upNeedy
reduces all needs to zero
EditWorld
allows you to place things outside of lotsIgnorePlacementRules
allows you to place colliding furnitureEditPerson
opens a character editor with all functionality enabledGib
gives you 10,000 tiny bucksExtremelyFast
allows you to select the 15x speed option all the timeSkill [name] [level]
sets the current person's skill levelHeld [object name or null]
sets the current person's held objectJob [name] [level]
stes the current person's job and job levelDie
kills the current personEmotion [modifier name] [level] [seconds]
adds an emotion modifier to the current personFriendship [name without spaces] [percentage <= 1]
sets the friendship level between the named partner and the current personRomance [name without spaces] [percentage <= 1]
sets the romance level between the named partner and the current personEditCurrentActionSpot
turns on action spot edit mode, which allows you to easily edit the properties of the selected person's current action spot- The person's animation stops, but they are drawn on all surrounding objects of the same type instead, which makes it easier to ensure that the offset looks correct in multiple rotations and positions
- Pressing the up, down, left and right keys moves the current action spot's position and holding shift moves the spot's visual position instead
- Pressing the page up and page down keys moves the spot's y offset
- The resulting values are printed to the console every time a modification is made, so you can copy them and paste them into your action spot code
DumpTexture
saves the game's texture packer's entire texture into the Tiny Life directory (which can be accessed through the options menu) as_Packed.png
(0.16.0+)