Skip to content

Commit

Permalink
Give appropriate examine_actions to furniture and terrain (#72367)
Browse files Browse the repository at this point in the history
* edit examine actions

* metal crates are in danger now

* ill just remove it to prevent headache

* manhole covers are also in danger now
  • Loading branch information
AnotherSeawhite authored Mar 15, 2024
1 parent 4ed097b commit 75cc141
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions data/json/furniture_and_terrain/furniture-storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1499,6 +1499,7 @@
"required_str": 12,
"max_volume": "1000 L",
"flags": [ "CONTAINER", "SEALED", "BLOCKSDOOR", "MOUNTABLE", "FLAT_SURF" ],
"examine_action": "locked_object",
"prying": {
"result": "f_metal_crate_o",
"message": "You wrench open the metal crate.",
Expand Down
7 changes: 5 additions & 2 deletions data/json/furniture_and_terrain/terrain-doors.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@
"BLOCK_WIND",
"SUPPORTS_ROOF"
],
"examine_action": "locked_object",
"open": "t_door_o",
"bash": {
"str_min": 8,
Expand Down Expand Up @@ -325,6 +326,7 @@
"SUPPORTS_ROOF"
],
"open": "t_door_o_peep",
"examine_action": "door_peephole",
"bash": {
"str_min": 8,
"str_max": 80,
Expand Down Expand Up @@ -369,6 +371,7 @@
"BLOCK_WIND",
"SUPPORTS_ROOF"
],
"examine_action": "locked_object",
"bash": {
"str_min": 8,
"str_max": 80,
Expand Down Expand Up @@ -2650,7 +2653,7 @@
"copy-from": "t_door_metal_locked",
"looks_like": "t_door_metal_pickable",
"//": "Same as t_door_metal_pickable, but without OPENCLOSE_INSIDE. Due the inheritance issues cannot copy from the t_door_metal_pickable, delete doesn't work with flags",
"examine_action": "locked_object_pickable",
"examine_action": "locked_object",
"lockpick_result": "t_door_metal_c",
"lockpick_message": "With a satisfying click, the lock on the door opens.",
"oxytorch": {
Expand Down Expand Up @@ -2697,7 +2700,7 @@
"message": "You pry open the metal door.",
"prying_data": { "difficulty": 8, "prying_level": 4, "noisy": true, "failure": "The metal door is too thick." }
},
"examine_action": "locked_object_pickable",
"examine_action": "locked_object",
"oxytorch": {
"result": "t_mdoor_frame",
"duration": "14 seconds",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"symbol": "0",
"color": "dark_gray",
"move_cost": 2,
"examine_action": "locked_object",
"prying": {
"result": "t_manhole",
"message": "You lift the manhole cover.",
Expand Down

0 comments on commit 75cc141

Please sign in to comment.