|
| 1 | +[ |
| 2 | + { |
| 3 | + "type": "effect_on_condition", |
| 4 | + "id": "EOC_PERAMBULATE_VEHICLE", |
| 5 | + "//": "Example EOC that shifts a vehicle to the test dimension", |
| 6 | + "effect": [ |
| 7 | + { |
| 8 | + "if": { "current_dimension": "" }, |
| 9 | + "then": { "set_string_var": "test", "target_var": { "u_val": "destination_dimension" } }, |
| 10 | + "else": { "set_string_var": "", "target_var": { "u_val": "destination_dimension" } } |
| 11 | + }, |
| 12 | + { |
| 13 | + "u_travel_to_dimension": { "u_val": "destination_dimension" }, |
| 14 | + "region_type": { "u_val": "test" }, |
| 15 | + "take_vehicle": true, |
| 16 | + "fail_message": "The Perambulator shivers but does not move.", |
| 17 | + "success_message": "In a flash of light the surroundings outside the Perambulator are changed!." |
| 18 | + }, |
| 19 | + { "u_message": { "u_val": "destination_dimension" } }, |
| 20 | + { "if": { "current_dimension": "" }, "then": { "u_message": "home sweet home" } } |
| 21 | + ] |
| 22 | + }, |
| 23 | + { |
| 24 | + "id": "dimensional_perambulator", |
| 25 | + "type": "ITEM", |
| 26 | + "category": "veh_parts", |
| 27 | + "name": { "str": "dimensional perambulator" }, |
| 28 | + "description": "A perambulator, for perambulating through dimensions", |
| 29 | + "weight": "1 kg", |
| 30 | + "volume": "5 L", |
| 31 | + "material": [ "lc_steel" ], |
| 32 | + "symbol": "#", |
| 33 | + "color": "dark_gray" |
| 34 | + }, |
| 35 | + { |
| 36 | + "id": "dimensional_perambulator", |
| 37 | + "type": "vehicle_part", |
| 38 | + "name": { "str": "Dimensional Perambulator" }, |
| 39 | + "item": "dimensional_perambulator", |
| 40 | + "location": "center", |
| 41 | + "categories": [ "utility" ], |
| 42 | + "durability": 100, |
| 43 | + "description": "A perambulator, for perambulating through dimensions", |
| 44 | + "flags": [ "EOC_ACTIVATION" ], |
| 45 | + "activatable_eoc": "EOC_PERAMBULATE_VEHICLE", |
| 46 | + "variants": [ { "symbols": "#", "symbols_broken": "X" } ] |
| 47 | + }, |
| 48 | + { |
| 49 | + "id": "dimensional_bathyscape", |
| 50 | + "//": "Test vehicle for dimensional travel", |
| 51 | + "type": "vehicle", |
| 52 | + "name": "Sir Pemberton Smythe's Dimensional Bathyscape", |
| 53 | + "blueprint": [ |
| 54 | + [ "---" ], |
| 55 | + [ "+#|" ], |
| 56 | + [ "---" ] |
| 57 | + ], |
| 58 | + "parts": [ |
| 59 | + { "x": -1, "y": -1, "parts": [ "hdframe", "board", "roof" ] }, |
| 60 | + { "x": -1, "y": 0, "parts": [ "hdframe", { "part": "tank", "fuel": "gasoline" }, "roof" ] }, |
| 61 | + { "x": -1, "y": 1, "parts": [ "hdframe", "engine_v6", "alternator_car", "roof" ] }, |
| 62 | + { "x": 0, "y": -1, "parts": [ "hdframe", "door", "roof", "battery_car" ] }, |
| 63 | + { "x": 0, "y": 0, "parts": [ "hdframe", "seat", "controls" ] }, |
| 64 | + { "x": 0, "y": 1, "parts": [ "hdframe", "roof", "dimensional_perambulator" ] }, |
| 65 | + { "x": 1, "y": -1, "parts": [ "hdframe", "board", "roof" ] }, |
| 66 | + { "x": 1, "y": 0, "parts": [ "hdframe", "board", "roof" ] }, |
| 67 | + { "x": 1, "y": 1, "parts": [ "hdframe", "board", "roof" ] } |
| 68 | + ] |
| 69 | + } |
| 70 | +] |
0 commit comments