Skip to content

Commit

Permalink
JSON styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Jul 23, 2021
1 parent b1b40ff commit d730317
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 26 deletions.
3 changes: 2 additions & 1 deletion data/json/items/comestibles/egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@
"rot_spawn": "GROUP_EGG_WASP",
"rot_spawn_chance": 100
},
{ "id": "egg_antlion",
{
"id": "egg_antlion",
"name": { "str": "antlion egg" },
"copy-from": "egg_insect",
"color": "yellow",
Expand Down
39 changes: 14 additions & 25 deletions data/json/monsters/insect_spider.json
Original file line number Diff line number Diff line change
Expand Up @@ -2072,7 +2072,7 @@
"death_function": [ "NORMAL" ],
"special_attacks": [ [ "EAT_FOOD", 60 ], [ "EAT_CROP", 80 ] ],
"reproduction": { "baby_monster": "mon_aphid_small", "baby_count": 1, "baby_timer": 20 },
"baby_flags": [ "SPRING", "SUMMER"],
"baby_flags": [ "SPRING", "SUMMER" ],
"biosignature": { "biosig_item": "honeydew", "biosig_timer": 600 },
"flags": [ "SEES", "HEARS", "SMELLS", "CLIMBS", "PATH_AVOID_FIRE", "PATH_AVOID_FALL", "SWARMS" ]
},
Expand All @@ -2087,8 +2087,8 @@
"weight": "80 kg",
"melee_cut": 8,
"delete": {
"reproduction": { "baby_egg": "egg_mantis", "baby_count": 1, "baby_timer": 30 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ]
"reproduction": { "baby_egg": "egg_mantis", "baby_count": 1, "baby_timer": 30 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ]
},
"upgrades": { "age_grow": 14, "into": "mon_mantis_giant" }
},
Expand All @@ -2112,14 +2112,7 @@
"melee_skill": 8,
"melee_dice": 1,
"melee_dice_sides": 6,
"melee_damage":
[
{
"damage_type": "cut",
"amount": 10.0,
"armor_penetration": 12
}
],
"melee_damage": [ { "damage_type": "cut", "amount": 10.0, "armor_penetration": 12 } ],
"dodge": 3,
"armor_bash": 10,
"armor_cut": 16,
Expand Down Expand Up @@ -2152,14 +2145,7 @@
"color": "red_green",
"weight": "815 kg",
"melee_dice": 2,
"melee_damage":
[
{
"damage_type": "cut",
"amount": 15.0,
"armor_penetration": 16
}
],
"melee_damage": [ { "damage_type": "cut", "amount": 15.0, "armor_penetration": 16 } ],
"dodge": 2,
"attack_cost": 25,
"special_attacks": [
Expand All @@ -2175,8 +2161,11 @@
],
"extend": { "flags": [ "DESTROYS", "PUSH_MON", "PUSH_VEH" ] },
"delete": {
"type": "leap", "cooldown": 8, "max_range": 5, "allow_no_target": false,
"upgrades": { "age_grow": 21, "into": "mon_mantis_mega" }
"type": "leap",
"cooldown": 8,
"max_range": 5,
"allow_no_target": false,
"upgrades": { "age_grow": 21, "into": "mon_mantis_mega" }
}
},
{
Expand Down Expand Up @@ -2267,8 +2256,8 @@
"volume": "750 ml",
"weight": "1 kg",
"delete": {
"reproduction": { "baby_egg": "egg_grasshopper", "baby_count": 3, "baby_timer": 15 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ]
"reproduction": { "baby_egg": "egg_grasshopper", "baby_count": 3, "baby_timer": 15 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ]
},
"upgrades": { "age_grow": 8, "into": "mon_grasshopper_giant" }
},
Expand Down Expand Up @@ -2395,8 +2384,8 @@
"weight": "4 kg",
"melee_cut": 8,
"delete": {
"reproduction": { "baby_egg": "egg_strider", "baby_count": 3, "baby_timer": 10 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ]
"reproduction": { "baby_egg": "egg_strider", "baby_count": 3, "baby_timer": 10 },
"baby_flags": [ "SPRING", "SUMMER", "AUTUMN" ]
},
"upgrades": { "age_grow": 7, "into": "mon_strider_giant" }
},
Expand Down

0 comments on commit d730317

Please sign in to comment.