1[
2  {
3    "type": "terrain",
4    "id": "t_gates_mech_control",
5    "name": "mechanical winch",
6    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate or door.",
7    "symbol": "6",
8    "color": "cyan_red",
9    "move_cost": 0,
10    "flags": [ "TRANSPARENT", "NOITEM", "INDOORS", "PERMEABLE", "THIN_OBSTACLE" ],
11    "examine_action": "controls_gate",
12    "bash": {
13      "str_min": 18,
14      "str_max": 80,
15      "sound": "metal screeching!",
16      "sound_fail": "clang!",
17      "ter_set": "t_floor",
18      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
19    }
20  },
21  {
22    "type": "terrain",
23    "id": "t_gates_mech_control_lab",
24    "name": "mechanical winch",
25    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate.",
26    "symbol": "6",
27    "color": "cyan_red",
28    "move_cost": 0,
29    "flags": [ "TRANSPARENT", "NOITEM", "INDOORS", "PERMEABLE", "THIN_OBSTACLE" ],
30    "examine_action": "controls_gate",
31    "bash": {
32      "str_min": 18,
33      "str_max": 80,
34      "sound": "metal screeching!",
35      "sound_fail": "clang!",
36      "ter_set": "t_thconc_floor",
37      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
38    }
39  },
40  {
41    "type": "terrain",
42    "id": "t_gates_control_concrete",
43    "name": "mechanical winch",
44    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate.",
45    "symbol": "6",
46    "color": "cyan_red",
47    "move_cost": 0,
48    "flags": [ "TRANSPARENT", "NOITEM", "INDOORS", "PERMEABLE", "THIN_OBSTACLE" ],
49    "examine_action": "controls_gate",
50    "bash": {
51      "str_min": 18,
52      "str_max": 80,
53      "sound": "metal screeching!",
54      "sound_fail": "clang!",
55      "ter_set": "t_rock_floor",
56      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
57    }
58  },
59  {
60    "type": "terrain",
61    "id": "t_gates_control_concrete_lab",
62    "name": "mechanical winch",
63    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate.",
64    "symbol": "6",
65    "color": "cyan_red",
66    "move_cost": 0,
67    "flags": [ "TRANSPARENT", "NOITEM", "INDOORS", "PERMEABLE", "THIN_OBSTACLE" ],
68    "examine_action": "controls_gate",
69    "bash": {
70      "str_min": 18,
71      "str_max": 80,
72      "sound": "metal screeching!",
73      "sound_fail": "clang!",
74      "ter_set": "t_thconc_floor",
75      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
76    }
77  },
78  {
79    "type": "terrain",
80    "id": "t_gates_control_brick",
81    "name": "mechanical winch",
82    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate.",
83    "symbol": "6",
84    "color": "cyan_red",
85    "move_cost": 0,
86    "flags": [ "TRANSPARENT", "NOITEM", "INDOORS", "PERMEABLE", "THIN_OBSTACLE" ],
87    "examine_action": "controls_gate",
88    "bash": {
89      "str_min": 18,
90      "str_max": 80,
91      "sound": "metal screeching!",
92      "sound_fail": "clang!",
93      "ter_set": "t_rock_floor",
94      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
95    }
96  },
97  {
98    "type": "terrain",
99    "id": "t_gates_control_brick_lab",
100    "name": "mechanical winch",
101    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate.",
102    "symbol": "6",
103    "color": "cyan_red",
104    "move_cost": 0,
105    "flags": [ "TRANSPARENT", "NOITEM", "INDOORS", "PERMEABLE", "THIN_OBSTACLE" ],
106    "examine_action": "controls_gate",
107    "bash": {
108      "str_min": 18,
109      "str_max": 80,
110      "sound": "metal screeching!",
111      "sound_fail": "clang!",
112      "ter_set": "t_thconc_floor",
113      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
114    }
115  },
116  {
117    "type": "terrain",
118    "id": "t_gates_control_metal",
119    "name": "control lever",
120    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate.",
121    "symbol": "6",
122    "color": "white",
123    "move_cost": 0,
124    "flags": [ "TRANSPARENT", "NOITEM", "COLLAPSES", "THIN_OBSTACLE" ],
125    "examine_action": "controls_gate",
126    "bash": {
127      "str_min": 18,
128      "str_max": 80,
129      "sound": "metal screeching!",
130      "sound_fail": "clang!",
131      "ter_set": "t_rock_floor",
132      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
133    }
134  },
135  {
136    "type": "terrain",
137    "id": "t_gates_control_metal_lab",
138    "name": "control lever",
139    "description": "This is a gate control winch.  If it's functioning, it can be used to open or close a nearby gate.",
140    "symbol": "6",
141    "color": "white",
142    "move_cost": 0,
143    "flags": [ "TRANSPARENT", "NOITEM", "COLLAPSES", "THIN_OBSTACLE" ],
144    "examine_action": "controls_gate",
145    "bash": {
146      "str_min": 18,
147      "str_max": 80,
148      "sound": "metal screeching!",
149      "sound_fail": "clang!",
150      "ter_set": "t_thconc_floor",
151      "items": [ { "item": "steel_chunk", "count": [ 1, 4 ] }, { "item": "scrap", "count": [ 3, 6 ] } ]
152    }
153  },
154  {
155    "type": "terrain",
156    "id": "t_barndoor",
157    "name": "rope and pulley",
158    "description": "A system of ropes and pulleys that allows to pull up heavy doors.",
159    "symbol": "|",
160    "color": "brown",
161    "move_cost": 0,
162    "flags": [ "TRANSPARENT", "NOITEM", "INDOORS", "PERMEABLE", "THIN_OBSTACLE" ],
163    "examine_action": "controls_gate",
164    "bash": {
165      "str_min": 8,
166      "str_max": 40,
167      "sound": "crunch!",
168      "sound_fail": "whump.",
169      "ter_set": "t_dirtfloor",
170      "items": [
171        { "item": "rope_6", "count": [ 3, 4 ] },
172        { "item": "2x4", "count": [ 1, 4 ] },
173        { "item": "splinter", "count": [ 2, 4 ] }
174      ]
175    },
176    "deconstruct": { "ter_set": "t_dirtfloor", "items": [ { "item": "rope_30", "count": 1 }, { "item": "2x4", "count": 8 } ] }
177  },
178  {
179    "type": "terrain",
180    "id": "t_palisade_pulley",
181    "name": "rope and pulley",
182    "description": "A system of ropes and pulleys that allows to pull up heavy doors or gates.",
183    "symbol": "|",
184    "color": "brown",
185    "move_cost": 0,
186    "flags": [ "TRANSPARENT", "NOITEM", "SHORT", "PERMEABLE", "EASY_DECONSTRUCT", "THIN_OBSTACLE" ],
187    "examine_action": "controls_gate",
188    "bash": {
189      "str_min": 8,
190      "str_max": 40,
191      "sound": "crunch!",
192      "sound_fail": "whump.",
193      "ter_set": "t_null",
194      "items": [
195        { "item": "rope_makeshift_6", "count": [ 3, 4 ] },
196        { "item": "2x4", "count": [ 1, 4 ] },
197        { "item": "splinter", "count": [ 2, 4 ] }
198      ]
199    },
200    "deconstruct": { "ter_set": "t_dirt", "items": [ { "item": "rope_makeshift_30", "count": 1 }, { "item": "2x4", "count": 8 } ] }
201  },
202  {
203    "type": "terrain",
204    "id": "t_intercom",
205    "name": "intercom",
206    "description": "An intercom panel.  For when you want to scare the crap out of someone, or just talk to them over the intercom system, if you're boring like that.",
207    "symbol": "=",
208    "color": "light_gray",
209    "move_cost": 0,
210    "flags": [ "NOITEM", "CONNECT_TO_WALL" ],
211    "//": "For the player to chat with an NPC through the intercom, the npc must have 'name_unique': 'the_intercom' and must be within 10 tiles of the intercom.",
212    "examine_action": "intercom",
213    "bash": {
214      "str_min": 18,
215      "str_max": 180,
216      "sound": "crunch!",
217      "sound_fail": "whack!",
218      "ter_set": "t_concrete_wall",
219      "items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
220    }
221  },
222  {
223    "type": "terrain",
224    "id": "t_card_robofac",
225    "name": "card reader",
226    "description": "This is a smartcard reader.  It sports the stylized symbol of an atom inside a flask that is universally known to indicate SCIENCE.  An ominous red LED reminds you of a robot gone haywire from an old sci-fi flick.  You could swipe a scientific ID badge near it if you do not fear the machine.",
227    "//": "It takes a science card/hack attempt and then calls iexamine::intercom",
228    "symbol": "6",
229    "color": "pink",
230    "move_cost": 0,
231    "flags": [ "NOITEM", "CONNECT_TO_WALL" ],
232    "examine_action": "cardreader_robofac",
233    "bash": {
234      "str_min": 18,
235      "str_max": 180,
236      "sound": "crunch!",
237      "sound_fail": "whack!",
238      "ter_set": "t_card_reader_broken",
239      "items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
240    }
241  },
242  {
243    "type": "terrain",
244    "id": "t_card_science",
245    "name": "card reader",
246    "description": "This is a smartcard reader.  It sports the stylized symbol of an atom inside a flask that is universally known to indicate SCIENCE.  The stark red LED blinks askance at your geek cred.  You could swipe a scientific ID badge near it to unlock the gates to discovery.",
247    "//": "Science",
248    "symbol": "6",
249    "color": "pink",
250    "move_cost": 0,
251    "flags": [ "NOITEM", "CONNECT_TO_WALL" ],
252    "examine_action": "cardreader",
253    "bash": {
254      "str_min": 18,
255      "str_max": 180,
256      "sound": "crunch!",
257      "sound_fail": "whack!",
258      "ter_set": "t_card_reader_broken",
259      "items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
260    }
261  },
262  {
263    "type": "terrain",
264    "id": "t_card_military",
265    "name": "card reader",
266    "description": "This is a smartcard reader.  The universal symbol of an eagle driving a tank, biting a grenade pin stands rampant in front of an American flag.  A small, red LED remains constant, as if watching you, waiting.  You could swipe a military ID card in front of the reader if you dared.",
267    "//": "Military",
268    "symbol": "6",
269    "color": "pink",
270    "move_cost": 0,
271    "flags": [ "NOITEM", "CONNECT_TO_WALL" ],
272    "examine_action": "cardreader",
273    "bash": {
274      "str_min": 18,
275      "str_max": 180,
276      "sound": "crunch!",
277      "sound_fail": "whack!",
278      "ter_set": "t_card_reader_broken",
279      "items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
280    }
281  },
282  {
283    "type": "terrain",
284    "id": "t_card_industrial",
285    "looks_like": "t_card_science",
286    "name": "card reader",
287    "description": "This is a smartcard reader.  The symbol of a gear in front of a bulging bicep is emblazoned on the matte black surface with an illegible heavy industrial company title.  A red LED blinks on the card reader.  Perhaps an industrial ID card could still open it.",
288    "//": "Industrial",
289    "symbol": "6",
290    "color": "pink",
291    "move_cost": 0,
292    "flags": [ "NOITEM", "CONNECT_TO_WALL" ],
293    "examine_action": "cardreader",
294    "bash": {
295      "str_min": 18,
296      "str_max": 180,
297      "sound": "crunch!",
298      "sound_fail": "whack!",
299      "ter_set": "t_card_reader_broken",
300      "items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
301    }
302  },
303  {
304    "type": "terrain",
305    "id": "t_card_fp",
306    "looks_like": "t_card_science",
307    "name": "card reader",
308    "description": "This looks like the console controlling the security door, there's a pretty big reading surface on it.  You can see \"Fp\" soberly printed above the reader.  You have no idea what could open it.",
309    "//": "Foodplace",
310    "symbol": "6",
311    "color": "pink",
312    "move_cost": 0,
313    "flags": [ "NOITEM", "CONNECT_TO_WALL" ],
314    "examine_action": "cardreader_fp",
315    "bash": {
316      "str_min": 18,
317      "str_max": 180,
318      "sound": "crunch!",
319      "sound_fail": "whack!",
320      "ter_set": "t_card_reader_broken",
321      "items": [ { "item": "plastic_chunk", "count": [ 0, 2 ] }, { "item": "scrap", "prob": 50 } ]
322    }
323  },
324  {
325    "type": "terrain",
326    "id": "t_card_reader_broken",
327    "name": "broken card reader",
328    "description": "This is a smartcard reader, but it doesn't seem to be functioning.  Probably because there's no more blinking red LED.",
329    "symbol": "6",
330    "color": "light_gray",
331    "move_cost": 0,
332    "flags": [ "NOITEM", "CONNECT_TO_WALL", "MINEABLE" ],
333    "bash": {
334      "str_min": 200,
335      "str_max": 600,
336      "sound": "crunch!",
337      "sound_fail": "whack!",
338      "//": "Since these are set into the walls, they ought to have the resilience of metal walls.",
339      "ter_set": "t_concrete",
340      "items": [
341        { "item": "processor", "prob": 25 },
342        { "item": "cable", "charges": [ 1, 2 ], "prob": 50 },
343        { "item": "small_lcd_screen", "prob": 25 },
344        { "item": "e_scrap", "count": [ 1, 3 ], "prob": 50 },
345        { "item": "circuit", "prob": 25 },
346        { "item": "plastic_chunk", "count": [ 4, 6 ], "prob": 50 },
347        { "item": "scrap", "count": [ 2, 4 ], "prob": 50 }
348      ]
349    }
350  },
351  {
352    "type": "terrain",
353    "id": "t_elevator_control",
354    "name": "elevator controls",
355    "description": "This is the control face for an elevator.  You could press the appropriate button to take you to your choice of floor.",
356    "symbol": "6",
357    "color": "light_blue",
358    "move_cost": 0,
359    "coverage": 50,
360    "roof": "t_flat_roof",
361    "flags": [ "NOITEM", "INDOORS" ],
362    "examine_action": "elevator",
363    "bash": {
364      "str_min": 40,
365      "str_max": 150,
366      "sound": "crunch!",
367      "sound_fail": "whack!",
368      "ter_set": "t_console_broken",
369      "items": [
370        { "item": "processor", "prob": 25 },
371        { "item": "RAM", "count": [ 0, 2 ], "prob": 50 },
372        { "item": "cable", "charges": [ 1, 2 ], "prob": 50 },
373        { "item": "small_lcd_screen", "prob": 25 },
374        { "item": "e_scrap", "count": [ 1, 4 ], "prob": 50 },
375        { "item": "circuit", "count": [ 0, 2 ], "prob": 50 },
376        { "item": "power_supply", "prob": 25 },
377        { "item": "amplifier", "prob": 25 },
378        { "item": "plastic_chunk", "count": [ 4, 10 ], "prob": 50 },
379        { "item": "scrap", "count": [ 2, 6 ], "prob": 50 }
380      ]
381    }
382  },
383  {
384    "type": "terrain",
385    "id": "t_elevator_control_off",
386    "name": "powerless controls",
387    "description": "This is the control face for an elevator.  It's currently unpowered.",
388    "symbol": "6",
389    "color": "light_gray",
390    "move_cost": 0,
391    "coverage": 50,
392    "roof": "t_flat_roof",
393    "flags": [ "NOITEM", "INDOORS" ],
394    "bash": {
395      "str_min": 40,
396      "str_max": 150,
397      "sound": "crunch!",
398      "sound_fail": "whack!",
399      "ter_set": "t_console_broken",
400      "items": [
401        { "item": "processor", "prob": 25 },
402        { "item": "RAM", "count": [ 0, 2 ], "prob": 50 },
403        { "item": "cable", "charges": [ 1, 2 ], "prob": 50 },
404        { "item": "small_lcd_screen", "prob": 25 },
405        { "item": "e_scrap", "count": [ 1, 4 ], "prob": 50 },
406        { "item": "circuit", "count": [ 0, 2 ], "prob": 50 },
407        { "item": "power_supply", "prob": 25 },
408        { "item": "amplifier", "prob": 25 },
409        { "item": "plastic_chunk", "count": [ 4, 10 ], "prob": 50 },
410        { "item": "scrap", "count": [ 2, 6 ], "prob": 50 }
411      ]
412    }
413  },
414  {
415    "type": "terrain",
416    "id": "t_pedestal_wyrm",
417    "name": "dark pedestal",
418    "description": "A dark stone pedestal covered in ancient, unintelligible symbols.  Looks ominous.",
419    "symbol": "&",
420    "color": "dark_gray",
421    "move_cost": 0,
422    "coverage": 50,
423    "flags": [ "TRANSPARENT", "MOUNTABLE", "PERMEABLE", "MINEABLE" ],
424    "examine_action": "pedestal_wyrm",
425    "bash": {
426      "str_min": 100,
427      "str_max": 400,
428      "sound": "crash!",
429      "sound_fail": "whump!",
430      "ter_set": "t_rock_floor",
431      "items": [ { "item": "rock", "count": [ 2, 5 ] } ]
432    }
433  },
434  {
435    "type": "terrain",
436    "id": "t_pedestal_temple",
437    "name": "light pedestal",
438    "description": "A light stone pedestal covered in ancient, unintelligible symbols.",
439    "symbol": "&",
440    "color": "white",
441    "move_cost": 0,
442    "coverage": 50,
443    "flags": [ "TRANSPARENT", "MOUNTABLE", "PERMEABLE", "MINEABLE" ],
444    "examine_action": "pedestal_temple",
445    "bash": {
446      "str_min": 100,
447      "str_max": 400,
448      "sound": "crash!",
449      "sound_fail": "whump!",
450      "ter_set": "t_rock_floor",
451      "items": [ { "item": "rock", "count": [ 2, 5 ] } ]
452    }
453  },
454  {
455    "type": "terrain",
456    "id": "t_switch_rg",
457    "name": "yellow switch",
458    "description": "A yellow switch.  Should you activate it?",
459    "symbol": "6",
460    "color": "yellow",
461    "move_cost": 0,
462    "flags": [ "TRANSPARENT", "PERMEABLE" ],
463    "examine_action": "fswitch"
464  },
465  {
466    "type": "terrain",
467    "id": "t_switch_gb",
468    "name": "cyan switch",
469    "description": "A cyan switch.  Should you activate it?",
470    "symbol": "6",
471    "color": "cyan",
472    "move_cost": 0,
473    "flags": [ "TRANSPARENT", "PERMEABLE" ],
474    "examine_action": "fswitch"
475  },
476  {
477    "type": "terrain",
478    "id": "t_switch_rb",
479    "name": "purple switch",
480    "description": "A purple switch.  Should you activate it?",
481    "symbol": "6",
482    "color": "magenta",
483    "move_cost": 0,
484    "flags": [ "TRANSPARENT", "PERMEABLE" ],
485    "examine_action": "fswitch"
486  },
487  {
488    "type": "terrain",
489    "id": "t_switch_even",
490    "name": "checkered switch",
491    "description": "A checkered switch.  Should you activate it?",
492    "symbol": "6",
493    "color": "white",
494    "move_cost": 0,
495    "flags": [ "TRANSPARENT", "PERMEABLE" ],
496    "examine_action": "fswitch"
497  }
498]
499