Skip to content

Commit

Permalink
Fix JSON members having the wrong type.
Browse files Browse the repository at this point in the history
  • Loading branch information
BevapDin committed Dec 25, 2019
1 parent 8c2405f commit e59baa0
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion data/json/items/comestibles/carnivore.json
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@
"color": "brown",
"healthy": -8,
"quench": -5,
"calories": "54",
"calories": 54,
"vitamins": [ [ "vitA", 6 ], [ "vitC", 2 ], [ "calcium", 0 ], [ "iron", 8 ], [ "vitB", 155 ] ]
},
{
Expand Down
2 changes: 1 addition & 1 deletion data/json/items/tool/deployable.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"to_hit": -4,
"bashing": 7,
"material": [ "wood" ],
"looks_like": [ "f_wood_keg" ],
"looks_like": "f_wood_keg",
"symbol": "u",
"color": "light_gray",
"use_action": { "type": "deploy_furn", "furn_type": "f_butter_churn" },
Expand Down
2 changes: 1 addition & 1 deletion data/json/mapgen/steel_mill/steel_mill_z2.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
"::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::"
],
"terrain": [ { "M": "t_grate" }, { "8": "t_grate" } ],
"terrain": { "M": "t_grate", "8": "t_grate" },
"furniture": { },
"palettes": [ "steel_mill_palette" ],
"place_monsters": [
Expand Down
2 changes: 1 addition & 1 deletion data/json/npcs/TALK_TEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"responses": [
{ "text": "This is a basic test response.", "topic": "TALK_DONE" },
{ "text": "This is a cash test response.", "topic": "TALK_DONE", "condition": { "u_has_cash": 500 } },
{ "text": "This is an npc service test response.", "topic": "TALK_DONE", "condition": { "npc_service": 500 } },
{ "text": "This is an npc service test response.", "topic": "TALK_DONE", "condition": { "npc_service": true } },
{ "text": "This is an npc available test response.", "topic": "TALK_DONE", "condition": "npc_available" }
]
},
Expand Down
2 changes: 1 addition & 1 deletion data/json/npcs/TALK_TRUE_FOODPERSON.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
]
},
"text": "I am you but from an alternate reality.",
"trial": { "type": "LIE", "difficulty": 10, "mod": { "trust": 1, "value": 1 } },
"trial": { "type": "LIE", "difficulty": 10, "mod": [ [ "TRUST", 1 ], [ "VALUE", 1 ] ] },
"success": { "topic": "TALK_FOODPERSON_MULTIVERSE", "opinion": { "trust": 2, "value": 2 } },
"failure": { "topic": "TALK_FOODPERSON_ONLYONE", "opinion": { "trust": -5, "value": -5 } }
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"difficulty": 5,
"value": 100000,
"start": {
"assign_mission_target": { "om_terrain": "field", "reveal_radius": 5, "random": true, "search_range": [ 10, 50 ] },
"assign_mission_target": { "om_terrain": "field", "reveal_radius": 5, "random": true, "search_range": 30 },
"update_mapgen": {
"place_monster": [
{ "monster": "mon_graboid", "name": "Little Guy", "x": 12, "y": 12, "target": true },
Expand Down
4 changes: 2 additions & 2 deletions data/json/npcs/tacoma_ranch/NPC_ranch_nurse.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@
"text": "[$200, 30m] I need you to patch me up.",
"topic": "TALK_RANCH_NURSE_AID_DONE",
"effect": [ "give_aid", { "u_spend_cash": 20000 } ],
"condition": { "npc_service": 20000 }
"condition": { "npc_service": true }
},
{
"text": "[$500, 1h] I need you to patch me up.",
"topic": "TALK_RANCH_NURSE_AID_DONE",
"effect": [ "give_all_aid", { "u_spend_cash": 50000 } ],
"condition": { "npc_service": 50000 }
"condition": { "npc_service": true }
},
{ "text": "I should be fine.", "topic": "TALK_RANCH_NURSE" }
]
Expand Down
4 changes: 2 additions & 2 deletions data/json/npcs/tacoma_ranch/NPC_ranch_woodcutter1.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"text": "[$2000, 1d] 10 logs",
"topic": "TALK_DONE",
"effect": [ "buy_10_logs", { "u_spend_cash": 200000 } ],
"condition": { "npc_service": 200000 }
"condition": { "npc_service": true }
},
{
"text": "[$12000, 7d] 100 logs",
"topic": "TALK_DONE",
"effect": [ "buy_100_logs", { "u_spend_cash": 1200000 } ],
"condition": { "npc_service": 1200000 }
"condition": { "npc_service": true }
},
{ "text": "Maybe later.", "topic": "TALK_RANCH_WOODCUTTER", "condition": "npc_available" },
{ "text": "I'll be back later.", "topic": "TALK_RANCH_WOODCUTTER" }
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Aftershock/items/afs__items.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
"volume": "11356 ml",
"price": 5000,
"price_postapoc": 45000,
"looks_like": [ "still" ],
"looks_like": "still",
"symbol": "u",
"color": "light_green",
"use_action": { "type": "deploy_furn", "furn_type": "f_atomic_butter_churn" },
Expand Down

0 comments on commit e59baa0

Please sign in to comment.