Skip to content

Commit

Permalink
New lab palette set and nested chunks (#49847)
Browse files Browse the repository at this point in the history
* new lab palette set and nested chunks

* add missing terrain for palette

* Update terrain-doors.json
  • Loading branch information
curstwist committed Jul 16, 2021
1 parent 02f8146 commit d85639a
Show file tree
Hide file tree
Showing 3 changed files with 896 additions and 0 deletions.
55 changes: 55 additions & 0 deletions data/json/furniture_and_terrain/terrain-doors.json
Expand Up @@ -2067,6 +2067,61 @@
"items": [ { "item": "scrap", "count": [ 12, 24 ] }, { "item": "steel_plate", "prob": 75 } ]
}
},
{
"type": "terrain",
"id": "t_secretdoor_concrete_c",
"name": "concrete wall",
"description": "A faux concrete wall positioned and joined seamlessly with the wall, this wall is capable of resisting extreme elements as well as hostile forces. Blast load rated and extremely fire-retardant, breaching will require specialized tools or industrial vehicles.",
"symbol": "LINE_OXOX",
"looks_like": "t_concrete_wall",
"color": "light_gray",
"move_cost": 0,
"roof": "t_metal_floor",
"flags": [ "NOITEM", "DOOR", "CONNECT_TO_WALL", "AUTO_WALL_SYMBOL" ],
"open": "t_secretdoor_concrete_o",
"bash": {
"str_min": 80,
"str_max": 250,
"sound": "metal screeching!",
"sound_fail": "clang!",
"ter_set": "t_mdoor_frame",
"items": [
{ "item": "rebar", "count": [ 2, 6 ] },
{ "item": "rock", "count": [ 10, 22 ] },
{ "item": "chain", "count": [ 0, 2 ] },
{ "item": "spring", "count": [ 1, 3 ] },
{ "item": "rock", "count": [ 2, 4 ] },
{ "item": "scrap", "charges": [ 4, 12 ] }
]
}
},
{
"type": "terrain",
"id": "t_secretdoor_concrete_o",
"name": "open secret door",
"looks_like": "t_thconc_floor",
"description": "This apparently normal segment of concrete wall has opened to reveal a secret passage.",
"symbol": "'",
"color": "light_gray",
"move_cost": 2,
"flags": [ "TRANSPARENT", "FLAT", "CONNECT_TO_WALL", "ROAD" ],
"close": "t_secretdoor_concrete_c",
"bash": {
"str_min": 80,
"str_max": 250,
"sound": "whump!",
"sound_fail": "thwack!",
"ter_set": "t_mdoor_frame",
"items": [
{ "item": "rebar", "count": [ 2, 6 ] },
{ "item": "rock", "count": [ 10, 22 ] },
{ "item": "chain", "count": [ 0, 2 ] },
{ "item": "spring", "count": [ 1, 3 ] },
{ "item": "rock", "count": [ 2, 4 ] },
{ "item": "scrap", "charges": [ 4, 12 ] }
]
}
},
{
"type": "terrain",
"id": "t_door_metal_lab_c",
Expand Down
@@ -0,0 +1,289 @@
[
{
"type": "mapgen",
"method": "json",
"//": "A nested map for walls variety.",
"nested_mapgen_id": "lab_generic_3x3_EW_open",
"object": {
"mapgensize": [ 3, 3 ],
"rows": [
"UUU",
" ",
"UUU"
],
"palettes": [ "lab_common_palette" ],
"items": { "U": [ { "item": "cleaning", "chance": 70, "repeat": [ 1, 3 ] } ] }
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for walls variety.",
"nested_mapgen_id": "lab_generic_3x3_EW_open",
"object": {
"mapgensize": [ 3, 3 ],
"rows": [
"VVV",
" ",
"VVV"
],
"palettes": [ "lab_common_palette" ],
"items": { "V": [ { "item": "vitamin_shop", "chance": 70, "repeat": [ 1, 3 ] } ] }
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for walls variety.",
"nested_mapgen_id": "lab_generic_3x3_EW_open",
"object": {
"mapgensize": [ 3, 3 ],
"rows": [
"PPP",
" ",
"PPP"
],
"palettes": [ "lab_common_palette" ],
"items": { "P": [ { "item": "file_room", "chance": 70, "repeat": [ 1, 3 ] } ] }
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general lab security areas.",
"nested_mapgen_id": "lab_generic_6x6_open",
"object": {
"mapgensize": [ 6, 6 ],
"rotation": [ 0, 3 ],
"rows": [
" ",
"h h h ",
"s s s ",
" ",
" II ",
" h "
],
"palettes": [ "lab_common_palette", "lab_security_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general lab security areas.",
"nested_mapgen_id": "lab_generic_6x6_open",
"object": {
"mapgensize": [ 6, 6 ],
"rotation": [ 0, 3 ],
"rows": [
" ",
"P sh P",
"Phs P",
"P sh P",
"h T",
"Y "
],
"palettes": [ "lab_common_palette", "lab_security_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general lab area.",
"nested_mapgen_id": "lab_common_5x5_open",
"object": {
"mapgensize": [ 5, 5 ],
"rows": [
" h y",
"rr P",
" P",
" rr ",
"Y h "
],
"palettes": [ "lab_common_palette", "lab_maintenance_palette" ],
"items": {
"r": [ { "item": "office", "chance": 70, "repeat": [ 1, 3 ] } ],
"P": [ { "item": "file_room", "chance": 70, "repeat": [ 1, 3 ] } ]
}
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_open",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
"yh Y",
" ",
"h h h h",
"s s s s",
" ",
" rrr ",
" h RR"
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_open",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
"yh Y",
" E E",
" r ",
"hr rrr",
" r ",
"h rh ",
"Y P"
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_open",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
"Y y",
"H H",
"H H",
"s HHH s",
"H H",
"H H",
"y Y"
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_open",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
" ",
" h y",
" ff R",
" hffh R",
" ffh h",
" hffh ",
"Y h "
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_N",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
"H H",
"H H",
"y T",
"])]|])]",
"E T|E y",
" r|rr ",
"Yhr|h Y"
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_S",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
"Yhr|h Y",
" r|rr ",
"E T|E y",
"])]|])]",
"y T",
"H H",
"H H"
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_N",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
"H E",
"H rr E",
"y h Y",
"])]||+|",
"E |P P",
" rr|P P",
" hT|P P"
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_S",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
"Yhr|P P",
" r|P P",
"h T|P P",
"])]||+|",
" h ",
"E rr H",
"E H"
],
"palettes": [ "lab_common_palette" ]
}
},
{
"type": "mapgen",
"method": "json",
"//": "A nested map for general office areas.",
"nested_mapgen_id": "lab_generic_7x7_open",
"object": {
"mapgensize": [ 7, 7 ],
"rotation": [ 0, 3 ],
"rows": [
" ",
" h y",
" ff x",
" hffh x",
" ffh h",
" hffh ",
"Y h "
],
"palettes": [ "lab_common_palette" ]
}
}
]

0 comments on commit d85639a

Please sign in to comment.