Add json import/export
This commit is contained in:
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"ancestry": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "human",
|
||||
"creature_type": "humanoid",
|
||||
"size": "medium",
|
||||
"speed": 30,
|
||||
"_fly_speed": null,
|
||||
"_climb_speed": null,
|
||||
"_swim_speed": null
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "tiefling",
|
||||
"creature_type": "humanoid",
|
||||
"size": "medium",
|
||||
"speed": 30,
|
||||
"_fly_speed": null,
|
||||
"_climb_speed": null,
|
||||
"_swim_speed": null
|
||||
}
|
||||
],
|
||||
"ancestry_trait": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Darkvision",
|
||||
"description": "You can see in dim light within 60 feet of you as if it were bright light, and in darkness as if it were dim light. You can\u2019t discern color in darkness, only shades of gray."
|
||||
}
|
||||
],
|
||||
"character_class": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "fighter",
|
||||
"hit_die_name": "1d10",
|
||||
"hit_die_stat_name": "constitution",
|
||||
"starting_skills": 0
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "rogue",
|
||||
"hit_die_name": "1d8",
|
||||
"hit_die_stat_name": "dexterity",
|
||||
"starting_skills": 0
|
||||
}
|
||||
],
|
||||
"class_attribute": [],
|
||||
"modifier": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Darkvision",
|
||||
"target": "vision_in_darkness",
|
||||
"stacks": false,
|
||||
"absolute_value": 120,
|
||||
"multiply_value": null,
|
||||
"multiply_attribute": null,
|
||||
"relative_value": null,
|
||||
"relative_attribute": null,
|
||||
"new_value": null,
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Ability Score Increase",
|
||||
"target": "intelligence",
|
||||
"stacks": false,
|
||||
"absolute_value": null,
|
||||
"multiply_value": null,
|
||||
"multiply_attribute": null,
|
||||
"relative_value": 1,
|
||||
"relative_attribute": null,
|
||||
"new_value": null,
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "Ability Score Increase",
|
||||
"target": "charisma",
|
||||
"stacks": false,
|
||||
"absolute_value": null,
|
||||
"multiply_value": null,
|
||||
"multiply_attribute": null,
|
||||
"relative_value": 2,
|
||||
"relative_attribute": null,
|
||||
"new_value": null,
|
||||
"description": ""
|
||||
}
|
||||
],
|
||||
"skill": [],
|
||||
"transaction_log": [],
|
||||
"character": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Sabetha",
|
||||
"hit_points": 10,
|
||||
"temp_hit_points": 0,
|
||||
"_max_hit_points": 10,
|
||||
"_armor_class": 10,
|
||||
"_strength": 10,
|
||||
"_dexterity": 10,
|
||||
"_constitution": 10,
|
||||
"_intelligence": 14,
|
||||
"_wisdom": 10,
|
||||
"_charisma": 10,
|
||||
"_vision": null,
|
||||
"exhaustion": 0,
|
||||
"ancestry_id": 2,
|
||||
"slug": "nMnWu"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "Bob",
|
||||
"hit_points": 10,
|
||||
"temp_hit_points": 0,
|
||||
"_max_hit_points": 10,
|
||||
"_armor_class": 10,
|
||||
"_strength": 10,
|
||||
"_dexterity": 10,
|
||||
"_constitution": 10,
|
||||
"_intelligence": 10,
|
||||
"_wisdom": 10,
|
||||
"_charisma": 10,
|
||||
"_vision": null,
|
||||
"exhaustion": 0,
|
||||
"ancestry_id": 1,
|
||||
"slug": "PjPdM"
|
||||
}
|
||||
],
|
||||
"class_attribute_map": [],
|
||||
"class_attribute_option": [],
|
||||
"class_skill_map": [],
|
||||
"modifier_map": [
|
||||
{
|
||||
"id": 1,
|
||||
"modifier_id": 1,
|
||||
"primary_table_name": "ancestry_trait",
|
||||
"primary_table_id": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"modifier_id": 2,
|
||||
"primary_table_name": "ancestry",
|
||||
"primary_table_id": 2
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"modifier_id": 3,
|
||||
"primary_table_name": "ancestry",
|
||||
"primary_table_id": 2
|
||||
}
|
||||
],
|
||||
"trait_map": [
|
||||
{
|
||||
"id": 1,
|
||||
"ancestry_id": 2,
|
||||
"ancestry_trait_id": 1,
|
||||
"level": 1
|
||||
}
|
||||
],
|
||||
"character_class_attribute_map": [],
|
||||
"character_skill_map": [],
|
||||
"class_map": [
|
||||
{
|
||||
"id": 1,
|
||||
"character_id": 1,
|
||||
"character_class_id": 1,
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"character_id": 1,
|
||||
"character_class_id": 2,
|
||||
"level": 3
|
||||
}
|
||||
],
|
||||
"hit_die": [
|
||||
{
|
||||
"id": 1,
|
||||
"character_id": 1,
|
||||
"character_class_id": 1,
|
||||
"spent": false
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"character_id": 1,
|
||||
"character_class_id": 1,
|
||||
"spent": false
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"character_id": 1,
|
||||
"character_class_id": 2,
|
||||
"spent": false
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"character_id": 1,
|
||||
"character_class_id": 2,
|
||||
"spent": false
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"character_id": 1,
|
||||
"character_class_id": 2,
|
||||
"spent": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user