1[ 2 { 3 "type": "snippet", 4 "category": "mapgen_test", 5 "text": "This is a test of the sign snippet system" 6 }, 7 { 8 "type": "snippet", 9 "category": "mapgen_test", 10 "text": "Snippets should also support tags like <full_name>, <given_name>, <family_name>, and <city>" 11 }, 12 { 13 "type": "snippet", 14 "category": "mapgen_test", 15 "text": "This should repeat the same city several times: <city>, <city>, <city>" 16 }, 17 { 18 "id": "mapgen-test", 19 "type": "overmap_terrain", 20 "name": "noname", 21 "//": "Its contents make no sense, it is supposed to use all the available mapgen possibilities.", 22 "sym": "%", 23 "color": "white", 24 "mondensity": 1 25 }, 26 { 27 "type": "ter_furn_transform", 28 "id": "mapgen_test", 29 "terrain": [ { "result": "t_dirt", "valid_terrain": [ "t_grass" ] } ] 30 }, 31 { 32 "type": "mapgen", 33 "method": "json", 34 "om_terrain": [ "mapgen-test" ], 35 "object": { 36 "//": "Some of the squares should have a frame, but not all.", 37 "fill_ter": "t_grass", 38 "rows": [ 39 " r", 40 " ", 41 " ", 42 " ", 43 " ", 44 " ", 45 " ", 46 " ", 47 " ", 48 " ", 49 " ", 50 " ", 51 "tttttttt ", 52 "tttttttt ss oo ", 53 " ss oo ", 54 " ", 55 " X ", 56 " ", 57 "T B S", 58 " ", 59 " ", 60 " ;;;;----gggg ", 61 " ;;;;----gggg ", 62 " V O . , u fF Y " 63 ], 64 "mapping": { 65 "X": { 66 "terrain": "t_dirt", 67 "traps": "tr_pit", 68 "fields": { "field": "fd_fire" }, 69 "items": { "item": "survivorzed_boots", "chance": 30 }, 70 "item": { "item": "2x4" } 71 } 72 }, 73 "place_terrain": [ { "ter": "t_rock", "x": 11, "y": 3 } ], 74 "terrain": { ".": "t_shrub", ";": [ "t_door_o", { "ter": "t_pit_spiked" } ] }, 75 "furniture": { ",": "f_table", "-": [ "f_chair", { "furn": "f_bed" } ], "g": "f_brazier" }, 76 "place_furniture": [ { "furn": "f_rack", "x": 9, "y": 3 } ], 77 "place_traps": [ { "trap": "tr_funnel", "x": 7, "y": 3 } ], 78 "traps": { "F": "tr_cot", "f": { "trap": "tr_funnel" }, "g": { "trap": "tr_funnel" } }, 79 "fields": { "B": { "field": "fd_blood", "intensity": 1, "age": 10 } }, 80 "place_fields": [ { "field": "fd_bile", "x": 5, "y": 1, "intensity": 2, "age": 20 } ], 81 "place_signs": [ 82 { "signage": "it works again.", "x": 7, "y": 1 }, 83 { "signage": "<given_name> <family_name> owned <full_name> at <city>", "x": 7, "y": 2 }, 84 { "snippet": "mapgen_test", "x": 8, "y": 2 }, 85 { "signage": "<given_name>, <given_name>, and <given_name> were here!", "x": 8, "y": 1 } 86 ], 87 "signs": { "S": { "signage": "it works." } }, 88 "place_vendingmachines": [ { "item_group": "jewelry_front", "x": 3, "y": 1 } ], 89 "vendingmachines": { "V": { "item_group": "farming_seeds" } }, 90 "place_toilets": [ { "x": 9, "y": 1, "amount": [ 88, 111 ] } ], 91 "toilets": { "T": { "amount": [ 44, 46 ] } }, 92 "gaspumps": { "O": { "amount": [ 110, 112 ] } }, 93 "place_gaspumps": [ { "x": 1, "y": 1, "amount": [ 200, 222 ] } ], 94 "items": { "o": { "item": "clothing_work_set", "chance": 20 }, "s": { "item": "bionics_tech", "chance": 70 } }, 95 "place_items": [ 96 { "item": "bionics_tech", "x": 1, "y": 3, "chance": 70 }, 97 { "item": "clothing_work_set", "x": 2, "y": 3, "chance": 20 } 98 ], 99 "place_item": [ { "item": "frame", "x": [ 0, 7 ], "y": [ 4, 5 ], "chance": 4, "repeat": 10 } ], 100 "item": { 101 "t": { "item": "television", "chance": 4 }, 102 "u": [ { "item": "television", "chance": 1 }, { "item": "electrohack", "chance": 1 } ] 103 }, 104 "npcs": { "T": { "class": "guard" } }, 105 "place_npcs": [ { "class": "arsonist", "x": 9, "y": 1 } ], 106 "monsters": { 107 "B": { "monster": "GROUP_BEE", "chance": 4, "density": 1 }, 108 "S": { "monster": "GROUP_ANT", "chance": 1, "density": 0.1 } 109 }, 110 "place_monsters": [ 111 { "monster": "GROUP_BEE", "x": 5, "y": 1, "chance": 4, "density": 1 }, 112 { "monster": "GROUP_ANT", "x": 7, "y": 1, "chance": 1, "density": 0.1 } 113 ], 114 "monster": { "Y": { "monster": "mon_deer", "friendly": true, "name": "THE DEER" } }, 115 "place_monster": [ { "monster": "mon_deer", "x": 13, "y": 3, "friendly": true, "name": "THE OTHER DEER" } ], 116 "place_vehicles": [ { "vehicle": "unicycle", "x": 5, "y": 3, "chance": 100, "status": 1 } ], 117 "vehicles": { 118 "o": { "vehicle": "welding_cart", "chance": 100, "fuel": 40, "status": 1 }, 119 "s": { "vehicle": "wheelchair", "chance": 100, "status": 1 } 120 }, 121 "place_ter_furn_transforms": [ { "transform": "mapgen_test", "x": 22, "y": 0 } ], 122 "ter_furn_transforms": { "r": { "transform": "mapgen_test" } } 123 } 124 } 125] 126