|
69 | 69 | "flags": [ "NOITEM", "SUPPORTS_ROOF", "WALL", "NO_SCENT", "AUTO_WALL_SYMBOL", "MINEABLE", "BLOCK_WIND" ],
|
70 | 70 | "bash": { "str_min": 120, "str_max": 460, "sound": "scrrrash!", "sound_fail": "whump!", "ter_set": "t_lixa_wall" }
|
71 | 71 | },
|
| 72 | + { |
| 73 | + "id": "t_infinite_shaft_rooved", |
| 74 | + "type": "terrain", |
| 75 | + "name": "open air", |
| 76 | + "description": "An area of open air in what appears to be a shaft extending into the depths of the earth. You cannot understand how or why someone would build an eleavator shaft going into the depths of the earth like this for reasons other than mining. It's bottom, if there is one, seems to be far past where light penetrates.", |
| 77 | + "symbol": " ", |
| 78 | + "color": "i_cyan", |
| 79 | + "move_cost": 2, |
| 80 | + "roof": "t_flat_roof", |
| 81 | + "connect_groups": "INDOORFLOOR", |
| 82 | + "flags": [ "TRANSPARENT", "NO_FLOOR", "INDOORS", "FREE_TO_EXAMINE" ], |
| 83 | + "examine_action": { |
| 84 | + "type": "effect_on_condition", |
| 85 | + "effect_on_conditions": [ |
| 86 | + { |
| 87 | + "id": "false_ledge", |
| 88 | + "effect": [ |
| 89 | + { |
| 90 | + "run_eoc_selector": [ "EOC_PEEK_DOWN_pseudo", "EOC_CLIMB_DOWN_pseudo", "EOC_JUMP_ACROSS_pseudo", "EOC_FALL_DOWN_pseudo" ], |
| 91 | + "allow_cancel": true, |
| 92 | + "names": [ "Peek down", "Climb down by lowering yourself from the ledge", "Can't jump across (need a small gap)", "Fall down" ], |
| 93 | + "title": "There is a ledge here. What do you want to do?", |
| 94 | + "descriptions": [ |
| 95 | + "You look down as far as you can see.", |
| 96 | + "You hang off the ledge to get closer to a bottom you cannot see.", |
| 97 | + "Take a leap of faith.", |
| 98 | + "End it all." |
| 99 | + ] |
| 100 | + } |
| 101 | + ] |
| 102 | + } |
| 103 | + ] |
| 104 | + } |
| 105 | + }, |
| 106 | + { |
| 107 | + "type": "effect_on_condition", |
| 108 | + "id": "EOC_PEEK_DOWN_pseudo", |
| 109 | + "//": "for selector cannot pick EoCs that are failing", |
| 110 | + "effect": [ { "run_eocs": "EOC_PEEK_DOWN" } ] |
| 111 | + }, |
| 112 | + { |
| 113 | + "type": "effect_on_condition", |
| 114 | + "id": "EOC_CLIMB_DOWN_pseudo", |
| 115 | + "//": "for selector cannot pick EoCs that are failing", |
| 116 | + "effect": [ { "run_eocs": "EOC_CLIMB_DOWN" } ] |
| 117 | + }, |
| 118 | + { |
| 119 | + "type": "effect_on_condition", |
| 120 | + "id": "EOC_JUMP_ACROSS_pseudo", |
| 121 | + "//": "for selector cannot pick EoCs that are failing", |
| 122 | + "effect": [ { "run_eocs": "EOC_JUMP_ACROSS" } ] |
| 123 | + }, |
| 124 | + { |
| 125 | + "type": "effect_on_condition", |
| 126 | + "id": "EOC_FALL_DOWN_pseudo", |
| 127 | + "//": "for selector cannot pick EoCs that are failing", |
| 128 | + "effect": [ { "run_eocs": "EOC_FALL_DOWN" } ] |
| 129 | + }, |
| 130 | + { |
| 131 | + "type": "effect_on_condition", |
| 132 | + "id": "EOC_PEEK_DOWN", |
| 133 | + "condition": { "math": [ "u_val('morale') < -75" ] }, |
| 134 | + "false_effect": [ |
| 135 | + { |
| 136 | + "u_message": "You look down and see the elevator shaft going deeper than you expected. Much deeper to where you can no longer see beyond." |
| 137 | + } |
| 138 | + ], |
| 139 | + "effect": [ |
| 140 | + { |
| 141 | + "npc_location_variable": { "context_val": "Lixa_teleport" }, |
| 142 | + "target_params": { |
| 143 | + "om_terrain": "LIXA_entry_1", |
| 144 | + "om_terrain_match_type": "CONTAINS", |
| 145 | + "search_range": 12, |
| 146 | + "min_distance": 1, |
| 147 | + "z": 0, |
| 148 | + "random": true |
| 149 | + } |
| 150 | + }, |
| 151 | + { |
| 152 | + "npc_message": "You receive an uncontrollable compulsion to step forward into the open elevator shaft. As you step into the open air… you fall. Then you keep falling. The shaft you thought was only a few stories in height must be miles. You lose count repeatedly but slowly, finally, the floor approaches… THUMP! You feel searing final pain as every part of your body breaks when you hit the ground.", |
| 153 | + "popup": true |
| 154 | + }, |
| 155 | + { "npc_teleport": { "context_val": "Lixa_teleport" }, "force": true } |
| 156 | + ] |
| 157 | + }, |
| 158 | + { |
| 159 | + "type": "effect_on_condition", |
| 160 | + "id": "EOC_CLIMB_DOWN", |
| 161 | + "effect": [ |
| 162 | + { |
| 163 | + "u_location_variable": { "context_val": "Lixa_teleport" }, |
| 164 | + "target_params": { |
| 165 | + "om_terrain": "LIXA_entry_1", |
| 166 | + "om_terrain_match_type": "CONTAINS", |
| 167 | + "search_range": 12, |
| 168 | + "min_distance": 1, |
| 169 | + "z": 0, |
| 170 | + "random": true |
| 171 | + } |
| 172 | + }, |
| 173 | + { |
| 174 | + "u_message": "You climb down as far as you can and then you let go… you fall. Then you keep falling. The shaft you thought was only a few stories in height must be miles. You try to count but every so often you scrape up against the wall abrading the skin from your limbs, and bruising you to the bone. You pass out long before you ever hit the bottom.", |
| 175 | + "popup": true |
| 176 | + }, |
| 177 | + { "u_teleport": { "context_val": "Lixa_teleport" }, "force": true } |
| 178 | + ] |
| 179 | + }, |
| 180 | + { |
| 181 | + "type": "effect_on_condition", |
| 182 | + "id": "EOC_JUMP_ACROSS", |
| 183 | + "effect": [ |
| 184 | + { |
| 185 | + "u_message": "Jump where? There's nothing to jump to. Just the other side of the elevator shaft. There's no ledge over there or stairs, just flat wall." |
| 186 | + } |
| 187 | + ] |
| 188 | + }, |
| 189 | + { |
| 190 | + "type": "effect_on_condition", |
| 191 | + "id": "EOC_FALL_DOWN", |
| 192 | + "effect": [ |
| 193 | + { |
| 194 | + "u_location_variable": { "context_val": "Lixa_teleport" }, |
| 195 | + "target_params": { |
| 196 | + "om_terrain": "LIXA_entry_1", |
| 197 | + "om_terrain_match_type": "CONTAINS", |
| 198 | + "search_range": 12, |
| 199 | + "min_distance": 1, |
| 200 | + "z": 0, |
| 201 | + "random": true |
| 202 | + } |
| 203 | + }, |
| 204 | + { |
| 205 | + "u_message": "As you step into the open air… you fall. Then you keep falling. The shaft you thought was only a few stories in height must be miles. You lose count repeatedly but slowly, finally, the floor approaches… THUMP! You feel searing final pain as every part of your body breaks when you hit the ground.", |
| 206 | + "popup": true |
| 207 | + }, |
| 208 | + { "u_teleport": { "context_val": "Lixa_teleport" }, "force": true } |
| 209 | + ] |
| 210 | + }, |
72 | 211 | {
|
73 | 212 | "type": "terrain",
|
74 | 213 | "id": "t_LIXA_tube",
|
|
0 commit comments