Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# DifficultySettings - Runtime Docs

## DifficultySettings :: LuaStruct

Technology difficulty settings. Updating any of the attributes will immediately take effect in the game engine.

## Attributes

### technology_price_multiplier :: Read|Write double

A value in range [0.001, 1000].

### spoil_time_modifier :: Read|Write double

A value in range [0.01, 100].

Concept used in

- LuaGameScript::difficulty_settings
- AdvancedMapGenSettings