Skip to content

Development options

tukkek edited this page Jun 24, 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.

Most of these should work by configuring them via the in-game options configuration, without restarting the game (though in some cases you may need to press a key for the screen to update or move once for the game world to update). If that doesn't work you may need to restart the application or start a whole new game (which should be fixed at some point).

Note that since this page is used for team coordination it may refer to some options that are already in the game, but on a version that hasn't yet been released to the public.


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

cheat.season=summer


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.

cheat.season: accepts spring, summer, autumn and winter (obviously).

Clone this wiki locally