Skip to content

Commit

Permalink
feat: Fix no hacksaw on metal bar window, closed doors block scent (#…
Browse files Browse the repository at this point in the history
…6029)

* Audit all Windows Oxytorch

* clean door scent
  • Loading branch information
RoyalFox2140 authored Feb 2, 2025
1 parent a4bf000 commit ef10251
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 32 deletions.
64 changes: 32 additions & 32 deletions data/json/furniture_and_terrain/terrain-doors.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"move_cost": 0,
"looks_like": "t_reinforced_door_glass_c",
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_laminated_door_glass_o",
"bash": {
"str_min": 60,
Expand Down Expand Up @@ -57,7 +57,7 @@
"move_cost": 0,
"looks_like": "t_reinforced_door_glass_c",
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_ballistic_door_glass_o",
"bash": {
"str_min": 100,
Expand Down Expand Up @@ -105,7 +105,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_reinforced_door_glass_o",
"bash": {
"str_min": 80,
Expand All @@ -130,7 +130,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "MINEABLE" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "NO_SCENT", "MINEABLE" ],
"open": "t_reinforced_door_glass_lab_o",
"bash": {
"str_min": 80,
Expand Down Expand Up @@ -201,7 +201,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_door_o",
"deconstruct": {
"ter_set": "t_door_frame",
Expand Down Expand Up @@ -240,7 +240,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL" ],
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_lab_o",
"deconstruct": {
"ter_set": "t_door_lab_frame",
Expand Down Expand Up @@ -279,7 +279,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL" ],
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_white_o",
"deconstruct": {
"ter_set": "t_door_white_frame",
Expand Down Expand Up @@ -318,7 +318,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL" ],
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_gray_o",
"deconstruct": {
"ter_set": "t_door_gray_frame",
Expand Down Expand Up @@ -357,7 +357,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL" ],
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_red_o",
"deconstruct": {
"ter_set": "t_door_red_frame",
Expand Down Expand Up @@ -396,7 +396,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL" ],
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_green_o",
"deconstruct": {
"ter_set": "t_door_green_frame",
Expand Down Expand Up @@ -830,7 +830,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_glass_red_o",
"deconstruct": { "ter_set": "t_door_red_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
"bash": {
Expand All @@ -856,7 +856,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_glass_green_o",
"deconstruct": { "ter_set": "t_door_green_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
"bash": {
Expand All @@ -880,7 +880,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_glass_white_o",
"deconstruct": { "ter_set": "t_door_white_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
"bash": {
Expand All @@ -906,7 +906,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_glass_gray_o",
"deconstruct": { "ter_set": "t_door_gray_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
"bash": {
Expand Down Expand Up @@ -1029,7 +1029,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "INDOORS", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "INDOORS", "DOOR", "NOITEM", "BARRICADABLE_DOOR", "CONNECT_TO_WALL", "NO_SCENT", "BLOCK_WIND" ],
"examine_action": "door_peephole",
"open": "t_door_o_peep",
"deconstruct": {
Expand Down Expand Up @@ -1293,7 +1293,7 @@
"move_cost": 0,
"coverage": 100,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR_REINFORCED", "CONNECT_TO_WALL", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "DOOR", "NOITEM", "BARRICADABLE_DOOR_REINFORCED", "CONNECT_TO_WALL", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_rdoor_o",
"deconstruct": {
"ter_set": "t_door_c",
Expand Down Expand Up @@ -1397,7 +1397,7 @@
"lockpick_result": "t_door_c",
"lockpick_message": "With a satisfying click, the lock on the door opens.",
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "REDUCE_SCENT", "CONNECT_TO_WALL", "BARRICADABLE_DOOR", "LOCKED", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "CONNECT_TO_WALL", "BARRICADABLE_DOOR", "LOCKED", "NO_SCENT", "BLOCK_WIND" ],
"examine_action": "locked_object",
"bash": {
"str_min": 8,
Expand Down Expand Up @@ -1452,7 +1452,7 @@
"FLAMMABLE_ASH",
"NOITEM",
"OPENCLOSE_INSIDE",
"REDUCE_SCENT",
"NO_SCENT",
"CONNECT_TO_WALL",
"BARRICADABLE_DOOR",
"LOCKED",
Expand Down Expand Up @@ -1513,7 +1513,7 @@
"FLAMMABLE_ASH",
"NOITEM",
"OPENCLOSE_INSIDE",
"REDUCE_SCENT",
"NO_SCENT",
"CONNECT_TO_WALL",
"BARRICADABLE_DOOR",
"LOCKED",
Expand Down Expand Up @@ -1570,7 +1570,7 @@
"lockpick_result": "t_door_c",
"lockpick_message": "With a satisfying click, the lock on the door opens.",
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "ALARMED", "NOITEM", "REDUCE_SCENT", "CONNECT_TO_WALL", "BARRICADABLE_DOOR", "LOCKED", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "ALARMED", "NOITEM", "NO_SCENT", "CONNECT_TO_WALL", "BARRICADABLE_DOOR", "LOCKED", "BLOCK_WIND" ],
"examine_action": "locked_object",
"bash": {
"str_min": 8,
Expand Down Expand Up @@ -1857,7 +1857,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT", "BLOCK_WIND" ],
"bash": {
"str_min": 15,
"str_max": 80,
Expand Down Expand Up @@ -1916,7 +1916,7 @@
"coverage": 95,
"roof": "t_flat_roof",
"examine_action": "door_peephole",
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "REDUCE_SCENT", "BLOCK_WIND" ],
"flags": [ "FLAMMABLE_ASH", "NOITEM", "WALL", "NO_SCENT", "BLOCK_WIND" ],
"bash": {
"str_min": 15,
"str_max": 80,
Expand Down Expand Up @@ -2033,7 +2033,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_door_metal_o",
"oxytorch": {
"result": "t_mdoor_frame",
Expand Down Expand Up @@ -2086,7 +2086,7 @@
"symbol": "'",
"color": "cyan",
"move_cost": 2,
"flags": [ "TRANSPARENT", "INDOORS", "FLAT", "CONNECT_TO_WALL", "ROAD", "MINEABLE" ],
"flags": [ "TRANSPARENT", "INDOORS", "FLAT", "CONNECT_TO_WALL", "ROAD", "NO_SCENT", "MINEABLE" ],
"open": "t_null",
"close": "t_secretdoor_metal_c"
},
Expand All @@ -2101,7 +2101,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "MINEABLE" ],
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "NO_SCENT", "MINEABLE" ],
"open": "t_door_metal_lab_o",
"bash": {
"str_min": 90,
Expand Down Expand Up @@ -2178,7 +2178,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_flat_roof",
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_door_metal_o_peep",
"examine_action": "door_peephole",
"bash": {
Expand Down Expand Up @@ -2239,7 +2239,7 @@
"duration": "14 seconds",
"byproducts": [ { "item": "steel_plate", "count": [ 0, 1 ] }, { "item": "steel_chunk", "count": [ 3, 8 ] } ]
},
"flags": [ "NOITEM", "REDUCE_SCENT", "CONNECT_TO_WALL", "LOCKED", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "NOITEM", "CONNECT_TO_WALL", "LOCKED", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"bash": {
"str_min": 90,
"str_max": 250,
Expand Down Expand Up @@ -2303,7 +2303,7 @@
},
"symbol": "+",
"color": "cyan",
"flags": [ "NOITEM", "REDUCE_SCENT", "CONNECT_TO_WALL", "LOCKED", "BLOCK_WIND", "PICKABLE" ]
"flags": [ "NOITEM", "NO_SCENT", "CONNECT_TO_WALL", "LOCKED", "BLOCK_WIND", "PICKABLE" ]
},
{
"type": "terrain",
Expand All @@ -2319,7 +2319,7 @@
"lockpick_result": "t_door_metal_c",
"lockpick_message": "With a satisfying click, the lock on the door opens.",
"roof": "t_flat_roof",
"flags": [ "NOITEM", "REDUCE_SCENT", "OPENCLOSE_INSIDE", "CONNECT_TO_WALL", "LOCKED", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "NOITEM", "OPENCLOSE_INSIDE", "CONNECT_TO_WALL", "LOCKED", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_door_metal_o",
"examine_action": "locked_object",
"oxytorch": {
Expand Down Expand Up @@ -2468,7 +2468,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "BLOCK_WIND" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_door_glass_o",
"deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
"bash": {
Expand All @@ -2494,7 +2494,7 @@
"color": "light_cyan",
"move_cost": 0,
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "CONNECT_TO_WALL" ],
"flags": [ "TRANSPARENT", "DOOR", "NOITEM", "NO_SCENT", "CONNECT_TO_WALL" ],
"open": "t_door_glass_lab_o",
"deconstruct": { "ter_set": "t_door_frame", "items": [ { "item": "glass_sheet", "count": 1 } ] },
"bash": {
Expand Down Expand Up @@ -2617,7 +2617,7 @@
"move_cost": 0,
"coverage": 95,
"roof": "t_metal_flat_roof",
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "MINEABLE", "BLOCK_WIND" ],
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "MINEABLE", "NO_SCENT", "BLOCK_WIND" ],
"open": "t_door_metal_bulkhead_o",
"bash": {
"str_min": 90,
Expand Down
6 changes: 6 additions & 0 deletions data/json/furniture_and_terrain/terrain-windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,12 @@
"roof": "t_flat_roof",
"flags": [ "TRANSPARENT", "NOITEM", "CONNECT_TO_WALL", "THIN_OBSTACLE", "PERMEABLE" ],
"oxytorch": { "result": "t_window_empty", "duration": "9 seconds", "byproducts": [ { "item": "rebar", "count": [ 1, 2 ] } ] },
"hacksaw": {
"result": "t_window_empty",
"duration": "10 minutes",
"message": "You finish cutting the metal.",
"byproducts": [ { "item": "rebar", "count": [ 1, 8 ] } ]
},
"bash": {
"str_min": 60,
"str_max": 250,
Expand Down

0 comments on commit ef10251

Please sign in to comment.