How to change player data
This tutorial helps you to change start game player data
Files & folders needed:
assets/creatures/player.json
Structure of the player file:
{
"start_money": 0,
"start_max_hp": 50.0,
"max_weight": 35.0,
"casual_mode":{
"accuracy": 0.75,
"strength": 5
},
"start_skills":{
"accuracy": 0.4,
"strength": 0,
"armor": 0,
"rad_resist": 0,
"anom_resist": 0
},
"start_items": ["w_pistol","w_ak","flashlight"],
"use_items_after_start": ["w_pistol","w_ak"],
"start_quests": [],
"start_event_keys": [],
"start_level": "intro"
}
start_money = set player new game money amount
start_max_hp = set player new game maximum health
max_weight = set player new game maximum weight
casual_mode = propery list of skills that will be set at easy difficulty
start_skills = property list of skills that will be set at normal difficulty
start_items = list of items IDs that will be spawned at new game
use_items_after_start = list of items IDs from start_items list that will be used
start_quests = add quests by IDs from list
start_event_keys = list of event keys that will be added to the player
start_level = level ID from assets/levels/ where player will start new game
Last updated