Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New lab palette set and nested chunks #49847

Merged
merged 3 commits into from Jul 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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" ]
}
}
]