Skip to content

Instantly share code, notes, and snippets.

@Pinacolada64
Created February 9, 2023 06:52
Show Gist options
  • Save Pinacolada64/511d4a7f51660b0ba285c10f53f56c09 to your computer and use it in GitHub Desktop.
Save Pinacolada64/511d4a7f51660b0ba285c10f53f56c09 to your computer and use it in GitHub Desktop.
Valid player JSON file
# file path: server/run/server/player-a.json
{
"name": "Mr. X",
"id": "x",
"connection_id": 29,
"gender": "male",
"stat": {
"chr": 10,
"con": 10,
"dex": 10,
"int": 10,
"str": 10,
"wis": 10,
"egy": 10
},
"flag": {
"room_descs": true,
"expert_mode": false,
"debug": true,
"more_prompt": true
},
"once_per_day": [],
"silver": {
"in_hand": 500,
"in_bank": 1000,
"in_bar": 2000
},
"age": 46,
"birthday": "6/16/1976",
"guild": "claw",
"char_class": "wizard",
"race": "human",
"natural_alignment": "good",
"client": {
"name": "Commodore 128",
"cols": 80,
"rows": 25,
"translation": "PetSCII",
"return_key": "Return",
"linefeeds": false
},
"hit_points": 100,
"experience": 100,
"map_level": 1,
"room": 49,
"moves_made": 10,
"moves_today": 0,
"armor": "none",
"shield": "none",
"shield_used": "none",
"shield_skill": 100,
"weapon": "none",
"weapon_used": "none",
"weapon_skill": 0,
"weapon_left": 0,
"honor_rating": 0,
"formal_training": 0,
"monsters_killed": 0,
"dead_monsters": 9,
"monster_at_quit": 0,
"allies": 0,
"ally_inv": 0,
"ally_abilities": 0,
"ally_flags": "none",
"has_horse": false,
"horse_name": "none",
"horse_armor": "none",
"has_saddlebags": false,
"saddlebags": 0,
"vinny_loan": 0,
"max_inv": 10,
"food": 0,
"drink": 0,
"spells": 0,
"booby_traps": 0,
"times_played": 10,
"last_play_date": "11/14/2022",
"special_items": 0,
"combinations": 0,
"last_command": [
"quit"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment