diff --git a/data/json/furniture_and_terrain/furniture-migo.json b/data/json/furniture_and_terrain/furniture-migo.json index f526b55d666b..f000490a00af 100644 --- a/data/json/furniture_and_terrain/furniture-migo.json +++ b/data/json/furniture_and_terrain/furniture-migo.json @@ -219,8 +219,8 @@ "symbol": "i", "color": "magenta", "looks_like": "t_machinery_light", - "move_cost_mod": 4, - "coverage": 10, + "move_cost_mod": -1, + "coverage": 75, "light_emitted": 15, "required_str": -1, "emissions": [ "emit_shock_burst" ], @@ -233,7 +233,8 @@ "sound_fail": "whump!", "furn_set": "f_alien_scar", "items": [ { "item": "fetid_goop", "count": [ 3, 5 ], "prob": 100 } ], - "ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 40, "block_unaimed_chance": "25%" } + "//": "destroy_threshold equal to str_min instead of str_max due to delicate wetware, and a pissed-off alien bug installed inside", + "ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 8, "block_unaimed_chance": "75%" } } } ] diff --git a/data/json/furniture_and_terrain/terrain-fences-gates.json b/data/json/furniture_and_terrain/terrain-fences-gates.json index 0544a77856aa..44fb64681ad6 100644 --- a/data/json/furniture_and_terrain/terrain-fences-gates.json +++ b/data/json/furniture_and_terrain/terrain-fences-gates.json @@ -15,7 +15,8 @@ "sound": "crunch!", "sound_fail": "whump!", "ter_set": "t_null", - "items": [ { "item": "splinter", "count": [ 10, 20 ] } ] + "items": [ { "item": "splinter", "count": [ 10, 20 ] } ], + "ranged": { "reduction": [ 12, 24 ], "destroy_threshold": 150 } } }, { @@ -166,7 +167,7 @@ "symbol": "+", "color": "brown", "move_cost": 3, - "coverage": 60, + "coverage": 35, "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DOOR", "MOUNTABLE", "BURROWABLE" ], "connects_to": "WOODFENCE", "open": "t_fencegate_o", @@ -192,7 +193,8 @@ { "item": "nail", "charges": [ 2, 8 ] }, { "item": "splinter", "count": [ 1, 2 ] }, { "item": "hinge", "count": [ 1, 2 ] } - ] + ], + "ranged": { "reduction": [ 2, 4 ], "destroy_threshold": 20, "block_unaimed_chance": "25%" } } }, { @@ -370,6 +372,7 @@ "symbol": "LINE_OXOX", "color": "brown", "move_cost": 3, + "coverage": 25, "flags": [ "TRANSPARENT", "DIGGABLE", @@ -390,7 +393,8 @@ "sound": "crack.", "sound_fail": "wham.", "ter_set": "t_null", - "items": [ { "item": "2x4", "count": [ 1, 3 ] }, { "item": "nail", "charges": [ 2, 6 ] }, { "item": "splinter", "count": 1 } ] + "items": [ { "item": "2x4", "count": [ 1, 3 ] }, { "item": "nail", "charges": [ 2, 6 ] }, { "item": "splinter", "count": 1 } ], + "ranged": { "reduction": [ 2, 4 ], "destroy_threshold": 20, "block_unaimed_chance": "25%" } } }, { @@ -632,6 +636,7 @@ "color": "brown", "looks_like": "t_fence", "move_cost": 0, + "coverage": 60, "examine_action": "chainfence", "flags": [ "TRANSPARENT", @@ -651,7 +656,8 @@ "sound": "whump!", "sound_fail": "whack!", "ter_set": "t_fence_post", - "items": [ { "item": "2x4", "count": [ 1, 2 ] } ] + "items": [ { "item": "2x4", "count": [ 1, 2 ] } ], + "ranged": { "reduction": [ 3, 5 ], "destroy_threshold": 12, "block_unaimed_chance": "50%" } } }, { @@ -689,7 +695,8 @@ { "item": "nail", "charges": [ 2, 8 ] }, { "item": "splinter", "count": [ 1, 2 ] }, { "item": "hinge", "count": [ 1, 2 ] } - ] + ], + "ranged": { "reduction": [ 2, 4 ], "destroy_threshold": 20, "block_unaimed_chance": "50%" } } }, { @@ -746,7 +753,8 @@ { "item": "pipe", "count": [ 4, 8 ] }, { "item": "sheet_metal_small", "count": [ 8, 20 ] }, { "item": "sheet_metal", "count": [ 0, 2 ] } - ] + ], + "ranged": { "reduction": [ 5, 10 ], "destroy_threshold": 18, "block_unaimed_chance": "50%" } } }, { @@ -785,7 +793,8 @@ { "item": "sheet_metal_small", "count": [ 8, 20 ] }, { "item": "sheet_metal", "count": [ 0, 2 ] }, { "item": "hinge", "count": [ 1, 2 ] } - ] + ], + "ranged": { "reduction": [ 5, 10 ], "destroy_threshold": 20, "block_unaimed_chance": "50%" } } }, { @@ -847,7 +856,8 @@ "sound": "whump!", "sound_fail": "whack!", "ter_set": "t_fence_post", - "items": [ { "item": "2x4", "count": [ 4, 10 ] } ] + "items": [ { "item": "2x4", "count": [ 4, 10 ] } ], + "ranged": { "reduction": [ 3, 5 ], "destroy_threshold": 12 } } }, { @@ -885,7 +895,8 @@ { "item": "nail", "charges": [ 10, 20 ] }, { "item": "splinter", "count": [ 4, 6 ] }, { "item": "hinge", "count": [ 1, 2 ] } - ] + ], + "ranged": { "reduction": [ 2, 4 ], "destroy_threshold": 20 } } }, { @@ -919,6 +930,7 @@ "symbol": "LINE_OXOX", "color": "yellow", "move_cost": 3, + "coverage": 25, "flags": [ "TRANSPARENT", "NOITEM", "THIN_OBSTACLE", "MOUNTABLE", "SHORT", "AUTO_WALL_SYMBOL", "BURROWABLE" ], "connects_to": "RAILING", "bash": { @@ -932,7 +944,8 @@ { "item": "nail", "charges": [ 2, 6 ] }, { "item": "scrap", "count": [ 1, 3 ] }, { "item": "splinter", "count": [ 1, 3 ] } - ] + ], + "ranged": { "reduction": [ 10, 20 ], "destroy_threshold": 12, "block_unaimed_chance": "25%" } } }, { @@ -957,7 +970,9 @@ { "item": "glass_shard", "count": [ 5, 15 ] }, { "item": "pipe", "charges": [ 1, 2 ] }, { "item": "scrap", "count": [ 1, 3 ] } - ] + ], + "//": "reduction and destroy_threshold are lower for plain glass", + "ranged": { "reduction": [ 1, 10 ], "destroy_threshold": 10, "block_unaimed_chance": "25%" } } }, { @@ -969,6 +984,7 @@ "symbol": "LINE_OXOX", "color": "dark_gray", "move_cost": 3, + "coverage": 25, "flags": [ "TRANSPARENT", "NOITEM", "THIN_OBSTACLE", "MOUNTABLE", "SHORT", "AUTO_WALL_SYMBOL", "BURROWABLE" ], "connects_to": "RAILING", "deconstruct": { "ter_set": "t_rock_floor", "items": [ { "item": "sheet_metal", "count": 2 }, { "item": "pipe", "count": 4 } ] }, @@ -983,7 +999,8 @@ { "item": "sheet_metal", "charges": 1 }, { "item": "sheet_metal_small", "charges": [ 1, 4 ] }, { "item": "scrap", "count": [ 1, 3 ] } - ] + ], + "ranged": { "reduction": [ 10, 20 ], "destroy_threshold": 80, "block_unaimed_chance": "25%" } } }, { @@ -1008,7 +1025,9 @@ { "item": "rock", "count": [ 5, 10 ] }, { "item": "scrap", "count": [ 5, 8 ] }, { "item": "rebar", "count": [ 0, 2 ] } - ] + ], + "//": "Stone obstacles have double the expected reduction but lower destroy_threshold in return", + "ranged": { "reduction": [ 100, 200 ], "destroy_threshold": 200, "block_unaimed_chance": "25%" } } }, { @@ -1020,6 +1039,7 @@ "color": "light_gray", "looks_like": "t_guardrail_bg_dp", "move_cost": 3, + "coverage": 25, "flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "MOUNTABLE", "SHORT", "THIN_OBSTACLE", "ROAD", "BURROWABLE" ], "bash": { "str_min": 8, @@ -1027,7 +1047,8 @@ "sound": "crunch!", "sound_fail": "clang!", "ter_set": "t_pavement_hw_air", - "items": [ { "item": "pipe", "count": [ 1, 2 ] }, { "item": "scrap", "count": [ 3, 6 ] } ] + "items": [ { "item": "pipe", "count": [ 1, 2 ] }, { "item": "scrap", "count": [ 3, 6 ] } ], + "ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 150, "block_unaimed_chance": "25%" } } }, { @@ -1038,6 +1059,7 @@ "symbol": "#", "color": "light_gray", "move_cost": 3, + "coverage": 25, "flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "MOUNTABLE", "SHORT", "THIN_OBSTACLE", "ROAD", "BURROWABLE" ], "bash": { "str_min": 8, @@ -1045,7 +1067,8 @@ "sound": "crunch!", "sound_fail": "clang!", "ter_set": "t_pavement_bg_dp", - "items": [ { "item": "pipe", "count": [ 1, 2 ] }, { "item": "scrap", "count": [ 3, 6 ] } ] + "items": [ { "item": "pipe", "count": [ 1, 2 ] }, { "item": "scrap", "count": [ 3, 6 ] } ], + "ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 150, "block_unaimed_chance": "25%" } } }, { @@ -1056,6 +1079,7 @@ "symbol": "#", "color": "light_gray", "move_cost": 3, + "coverage": 25, "flags": [ "TRANSPARENT", "NOITEM", "REDUCE_SCENT", "MOUNTABLE", "SHORT", "THIN_OBSTACLE", "ROAD", "BURROWABLE" ], "looks_like": "t_guardrail_bg_dp", "bash": { @@ -1064,7 +1088,8 @@ "sound": "crunch!", "sound_fail": "clang!", "ter_set": "t_pavement", - "items": [ { "item": "pipe", "count": [ 1, 2 ] }, { "item": "scrap", "count": [ 3, 6 ] } ] + "items": [ { "item": "pipe", "count": [ 1, 2 ] }, { "item": "scrap", "count": [ 3, 6 ] } ], + "ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 150, "block_unaimed_chance": "25%" } } } ] diff --git a/data/json/furniture_and_terrain/terrain-flora.json b/data/json/furniture_and_terrain/terrain-flora.json index 729d429a9af3..8e6fba378d98 100644 --- a/data/json/furniture_and_terrain/terrain-flora.json +++ b/data/json/furniture_and_terrain/terrain-flora.json @@ -19,7 +19,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -41,7 +42,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -66,7 +68,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -87,7 +90,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -110,7 +114,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -132,7 +137,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -155,7 +161,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -177,7 +184,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -200,7 +208,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -222,7 +231,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -245,7 +255,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -267,7 +278,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -288,7 +300,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -308,7 +321,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -328,7 +342,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 35, 70 ], "destroy_threshold": 140 } } }, { @@ -372,7 +387,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -395,7 +411,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -419,7 +436,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -442,7 +460,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -474,7 +493,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -497,7 +517,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -521,7 +542,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -544,7 +566,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -568,7 +591,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -591,7 +615,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -615,7 +640,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -638,7 +664,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -662,7 +689,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -685,7 +713,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -709,7 +738,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -732,7 +762,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -764,7 +795,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -787,7 +819,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -819,7 +852,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -842,7 +876,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -870,7 +905,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -903,7 +939,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 30, 60 ], "destroy_threshold": 120 } } }, { @@ -929,7 +966,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -949,7 +987,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -975,7 +1014,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -995,7 +1035,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1016,7 +1057,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1037,7 +1079,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1063,7 +1106,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1086,7 +1130,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1110,7 +1155,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1132,7 +1178,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1156,7 +1203,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1178,7 +1226,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1202,7 +1251,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1224,7 +1274,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1245,7 +1296,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -1922,7 +1974,7 @@ "symbol": "1", "color": "brown", "move_cost": 4, - "coverage": 45, + "coverage": 50, "flags": [ "TRANSPARENT", "FLAMMABLE_ASH", "DIGGABLE", "REDUCE_SCENT", "MOUNTABLE", "SHORT" ], "bash": { "str_min": 80, @@ -1930,7 +1982,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "splinter", "count": [ 5, 15 ] } ] + "items": [ { "item": "splinter", "count": [ 5, 15 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180, "block_unaimed_chance": "50%" } } }, { @@ -1950,7 +2003,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "splinter", "count": [ 5, 15 ] } ] + "items": [ { "item": "splinter", "count": [ 5, 15 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180, "block_unaimed_chance": "25%" } } }, { @@ -2126,7 +2180,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { @@ -2148,7 +2203,8 @@ "sound": "crunch!", "sound_fail": "whack!", "ter_set": "t_dirt", - "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ] + "items": [ { "item": "stick_long", "count": [ 3, 10 ] }, { "item": "splinter", "count": [ 10, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 180 } } }, { diff --git a/data/json/furniture_and_terrain/terrain-fungal.json b/data/json/furniture_and_terrain/terrain-fungal.json index 091517cbbb23..96ee416eb3e8 100644 --- a/data/json/furniture_and_terrain/terrain-fungal.json +++ b/data/json/furniture_and_terrain/terrain-fungal.json @@ -77,7 +77,14 @@ "move_cost": 0, "coverage": 100, "flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "REDUCE_SCENT", "MINEABLE" ], - "bash": { "str_min": 30, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" } + "bash": { + "str_min": 30, + "str_max": 180, + "sound": "crunch!", + "sound_fail": "poof!", + "ter_set": "t_fungus", + "ranged": { "reduction": [ 15, 30 ], "destroy_threshold": 180 } + } }, { "type": "terrain", @@ -89,7 +96,14 @@ "move_cost": 0, "coverage": 100, "flags": [ "FLAMMABLE_ASH", "NOITEM", "SUPPORTS_ROOF", "FUNGUS", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE" ], - "bash": { "str_min": 30, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" } + "bash": { + "str_min": 30, + "str_max": 180, + "sound": "crunch!", + "sound_fail": "poof!", + "ter_set": "t_fungus", + "ranged": { "reduction": [ 15, 30 ], "destroy_threshold": 180 } + } }, { "type": "terrain", @@ -124,7 +138,14 @@ "move_cost": 0, "coverage": 80, "flags": [ "FLAMMABLE_ASH", "NOITEM", "FUNGUS", "TREE", "REDUCE_SCENT" ], - "bash": { "str_min": 40, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" } + "bash": { + "str_min": 40, + "str_max": 180, + "sound": "crunch!", + "sound_fail": "poof!", + "ter_set": "t_fungus", + "ranged": { "reduction": [ 20, 40 ], "destroy_threshold": 180 } + } }, { "type": "terrain", @@ -148,6 +169,13 @@ "coverage": 80, "flags": [ "FLAMMABLE_ASH", "NOITEM", "FUNGUS", "TREE", "REDUCE_SCENT" ], "examine_action": "tree_marloss", - "bash": { "str_min": 40, "str_max": 180, "sound": "crunch!", "sound_fail": "poof!", "ter_set": "t_fungus" } + "bash": { + "str_min": 40, + "str_max": 180, + "sound": "crunch!", + "sound_fail": "poof!", + "ter_set": "t_fungus", + "ranged": { "reduction": [ 20, 40 ], "destroy_threshold": 180 } + } } ] diff --git a/data/json/furniture_and_terrain/terrain-migo.json b/data/json/furniture_and_terrain/terrain-migo.json index 8f75c2bef72d..65832e8d9570 100644 --- a/data/json/furniture_and_terrain/terrain-migo.json +++ b/data/json/furniture_and_terrain/terrain-migo.json @@ -16,7 +16,8 @@ "sound": "boom!", "sound_fail": "whack!", "ter_set": "t_resin_hole", - "items": [ { "item": "resin_chunk", "count": [ 10, 40 ] } ] + "items": [ { "item": "resin_chunk", "count": [ 10, 40 ] } ], + "ranged": { "reduction": [ 125, 250 ], "destroy_threshold": 700 } } }, { @@ -27,7 +28,7 @@ "symbol": "#", "color": "dark_gray", "move_cost": 0, - "coverage": 100, + "coverage": 60, "roof": "t_resin_roof", "flags": [ "NOITEM", "WALL", "PERMEABLE", "TRANSPARENT", "INDOORS", "NONFLAMMABLE", "MINEABLE" ], "bash": { @@ -36,7 +37,8 @@ "sound": "boom!", "sound_fail": "whack!", "ter_set": "t_floor_resin", - "items": [ { "item": "resin_chunk", "count": [ 2, 5 ] } ] + "items": [ { "item": "resin_chunk", "count": [ 2, 5 ] } ], + "ranged": { "reduction": [ 35, 70 ], "destroy_threshold": 300, "block_unaimed_chance": "50%" } } }, { @@ -108,7 +110,8 @@ "sound": "boom!", "sound_fail": "whack!", "ter_set": "t_resin_hole", - "items": [ { "item": "resin_chunk", "count": [ 2, 5 ] } ] + "items": [ { "item": "resin_chunk", "count": [ 2, 5 ] } ], + "ranged": { "reduction": [ 45, 90 ], "destroy_threshold": 120 } } }, { diff --git a/data/json/furniture_and_terrain/terrain-triffid.json b/data/json/furniture_and_terrain/terrain-triffid.json index e7085bd8e150..8e0df02e4df3 100644 --- a/data/json/furniture_and_terrain/terrain-triffid.json +++ b/data/json/furniture_and_terrain/terrain-triffid.json @@ -16,7 +16,8 @@ "sound": "crunch!", "sound_fail": "whump!", "ter_set": "t_bark_wall_chipped", - "items": [ { "item": "splinter", "count": [ 5, 10 ] } ] + "items": [ { "item": "splinter", "count": [ 5, 10 ] } ], + "ranged": { "reduction": [ 30, 60 ], "destroy_threshold": 180 } } }, { @@ -36,7 +37,8 @@ "sound": "crunch!", "sound_fail": "whump!", "ter_set": "t_bark_wall_broken", - "items": [ { "item": "splinter", "count": [ 5, 10 ] } ] + "items": [ { "item": "splinter", "count": [ 5, 10 ] } ], + "ranged": { "reduction": [ 20, 40 ], "destroy_threshold": 160 } } }, { @@ -54,7 +56,8 @@ "sound": "crash!", "sound_fail": "whump!", "ter_set": "t_barkfloor", - "items": [ { "item": "splinter", "count": [ 10, 20 ] } ] + "items": [ { "item": "splinter", "count": [ 10, 20 ] } ], + "ranged": { "reduction": [ 4, 8 ], "destroy_threshold": 150, "block_unaimed_chance": "50%" } } }, { @@ -74,7 +77,8 @@ "sound": "crunch!", "sound_fail": "whump!", "ter_set": "t_barkfloor", - "items": [ { "item": "splinter", "count": [ 20, 25 ] } ] + "items": [ { "item": "splinter", "count": [ 20, 25 ] } ], + "ranged": { "reduction": [ 40, 80 ], "destroy_threshold": 160 } } }, { @@ -165,7 +169,8 @@ "sound": "crunch!", "sound_fail": "whump!", "ter_set": "t_null", - "items": [ { "item": "splinter", "count": [ 2, 5 ] } ] + "items": [ { "item": "splinter", "count": [ 2, 5 ] } ], + "ranged": { "reduction": [ 6, 12 ], "destroy_threshold": 150 } } }, {