Skip to content

Development options

tukkek edited this page May 31, 2016 · 22 revisions

There is a file called preferences.properties on Javelin's main folder. Alongside other user options you can enable some cheats there to help with testing the game. You can also edit this file from the game editor by pressing o outside of combat.

If you're on Windows try to avoid Notepad and use Wordpad, Notepad++ or any other decent text editor instead to change this file.

Ideally this file should become a more user-friendly option screen by the 2.0 release.

Note that some of these options can and will break certain aspects of the game if active. These are intended for development/testing purposes, not for cheating the gameplay - though certainly they can be used for that too at your own risk.

Each line contains a option.name=value pair and can be disabled by putting a hash character (#) at the very beginning. To re-enable that line just remove the hash.


cheat.combat=false

cheat.xp=9000

cheat.gold=9000

cheat.haxor=9000

cheat.labor=9000

cheat.world=show

cheat.garrison=clear

cheat.monster=orc

cheat.period=noon

cheat.map=forest.Dense

cheat.foes=1

cheat.weather=storm


Below are descriptions for the less intuitive options:

cheat.world: when active will show the entire world screen.

cheat.garrison: when active will create a game world without defenses for fortifications. Makes it easier to test some of them and may break others.

cheat.monster: if active all random battles will feature one of these for easier testing.

cheat.period: will force a certain time of day during battles. Possible values are: morning, noon, evening, night.

cheat.map: all random battles will feature this map instead of choosing one based on current location. See Maps for the supported values.

cheat.foes: determines exact number of foes to appear on random encounters.

cheat.weather: determines amount of rain. Possible values are: dry, rain and storm.

Clone this wiki locally