World Modifiers

**World Modifiers** allow the player to customize a variety of parameters to increase or decrease the challenge of the game. They can be found on the Join World screen.

As well as sliders for each of the changeable parameters, there are also a selection of presets to make choosing the right settings easy: Easy, Hard, Hardcore, Casual, Hammer mode, and Immersive.

## Modifiers

### Combat Settings

In real terms, following is the effect of each setting:

 Easy
 Normal
 Hard
 Very Hard

In **Hard** and **Very Hard** settings, there is a higher probability of spawning high-level enemies.

Player Damage (%) modifications are not reflected in the values shown on the screen, either in weapon damage ranges in the inventory or upon successful hits to a creature.

### Death Penalty

The **death penalty** slider affects several aspects of what happens to a player character upon Death. Independent factors include:

* **Equipment**, the inventory items that are worn or in use at the moment the player dies
* **Inventory**, all other items that weren't worn or in use
* **Skill loss**, a reduction to all Skill levels for the player
	+ The listed percentage is the portion of total skill level value lost
	+ The loss is not rounded, and new, otherwise unattainable decimal levels will be set, even though the decimals are truncated
	+ Every skill's next level requirement is recalculated for the new, reduced level and progress is set to zero -- this progress loss is *not* impacted by the death penalty settings
	+ **Example**: A player's Run skill is 70, halfway to 71, and they die on the "easy" death penalty setting. 2.5% of the level value of 70 is lost and the new, effective level for the Run skill is set to 68.25, visualized in the UI as 68. The required experience to the next level, 69.25, is calculated and progress towards it is set to 0.

### Resource Rate

Ranges from **0.5x** to **3x** normal drop rate from mobs and lootable objects in the world. There are a few exceptions (not sure if intentional) like fish.

### Raid Settings

Governs how often enemies may raid your base.

 Much less
 Less
 Normal
 More
 Much more

### Portal Settings

* Portal items - Allows everything to be portalled at all time
* Normal - Non-portalable items apply as standard
* No boss portals - Portals aren't available when a boss is active
* No portals - No portals are allowed at all in the world

### Hammer-mode

* Allows no-build cost on any item buildable with a hammer.
* **Doesn't affect the cost** of making gear at a crafting station.
* Deconstructing a log pile or rock pile while in hammer-mode will cause the stack to disappear **without giving the 50 items** it would usually give (regardless of being originally crafted while in non-hammer-mode).

## Global keys

World modifiers are stored in Global Keys. Console commands can be used to set or remove keys which provides another way to set world modifiers.

Following keys can be set to modify game behavior:

* AllPiecesUnlocked: If set, all pieces are unlocked.
* AllRecipesUnlocked: If set, all recipes are unlocked.
* DeathDeleteItems: If set, all items are deleted on death (unless DeathDeleteUnequipped or DeathKeepEquip is set).
* DeathDeleteUnequipped: If set, unequipped items are deleted on death.
* DeathKeepEquip: If set, equipped items are kept on death.
* DeathSkillsReset: If set, all skills are lost on death.
* DungeonBuild: If set, can build in dungeons.
* NoBuildCost: if set, building is free.
* NoCraftCost: If set, crafting is free.
* NoBossPortals: If set, portals can't be used near bosses.
* NoMap: If set, map can't be used.
* NoPortals: If set, portals can't be used.
* NoWorkbench: If set, can build without workbench.
* PassiveMobs: If set, enemies are passive.
* PlayerEvents: If set, events use player specific keys.
* TeleportAll: If set, all items can be teleported.

Following keys can be used to multiply a game setting:

* DamageTaken
* EnemyDamage
* EnemyLevelUpRate
* EnemySpeedSize
* EventRate
* MoveStaminaRate
* PlayerDamage
* ResourceRate
* SkillGainRate
* SkillReductionRate
* StaminaRate
* StaminaRegenRate

Each key has a default value of 100. For example to increase player damage by 50%, use command **setkey PlayerDamage 150**

World level can be used for unfinished NewGame+ feature:

* WorldLevel [value]
* WorldLevelLockedTools: If set, tool tier check also checks the world level.

## Notes

* World Modifiers were introduced in the Hildir's Request update
	+ With sliders set to Normal, the game will play much as it did before the patch.
* The Resource Rate modifier does round up, so 1.5x is effectively equal to 2x for various drops such as from enemies, berry bushes and so on.
* Resource rate does not affect Fish, Trophies and boss drops