Skip to content

Commit

Permalink
lab monster spawns and eoc (#50336)
Browse files Browse the repository at this point in the history
* lab monster spawns and eoc

Update to match Kevin's fix for param defaults and change one fallback ID.
  • Loading branch information
curstwist authored Aug 12, 2021
1 parent 2b6012c commit 86578cf
Show file tree
Hide file tree
Showing 18 changed files with 908 additions and 191 deletions.
138 changes: 91 additions & 47 deletions data/json/mapgen/lab/lab_modular/lab_1x1_security.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"6": "t_card_science_transport_1"
},
"place_monsters": [
{ "monster": "GROUP_LAB_MAINTENANCE", "x": [ 5, 20 ], "y": [ 5, 14 ], "density": 0.2 },
{ "monster": "GROUP_LAB_BASIC_SECURITY", "x": [ 5, 12 ], "y": 20, "density": 0.1 },
{ "monster": "GROUP_LAB_MAINTENANCE", "x": 20, "y": 20, "density": 0.1 }
{ "monster": "GROUP_LAB_MAINTENANCE", "x": [ 5, 20 ], "y": [ 5, 14 ], "density": 0.15 },
{ "monster": "GROUP_LAB_BASIC_SECURITY", "x": [ 5, 12 ], "y": 20, "density": 0.05 },
{ "monster": "GROUP_LAB_MAINTENANCE", "x": [ 11, 21 ], "y": [ 19, 21 ], "density": 0.1 }
],
"place_nested": [ { "chunks": [ [ "lab_security_6x6_open", 50 ], [ "lab_generic_6x6_open", 50 ] ], "x": 3, "y": 18 } ],
"place_vehicles": [ { "vehicle": "semi_truck", "x": 16, "y": 10, "chance": 20, "rotation": 180 } ]
Expand Down Expand Up @@ -91,23 +91,29 @@
"ƶ": "t_card_science_security_yellow",
"i": "t_thconc_floor"
},
"place_loot": [
{ "item": "id_science_security_yellow", "x": 13, "y": 21, "chance": 10 },
{ "item": "id_science_security_yellow", "x": 13, "y": 2, "chance": 10 },
{ "item": "id_science_security_yellow", "x": 22, "y": 4, "chance": 100 },
{ "item": "id_science_maintenance_green", "x": 16, "y": 12, "chance": 100 }
],
"place_monsters": [ { "monster": "GROUP_LAB_BASIC_SECURITY", "x": [ 19, 23 ], "y": [ 5, 18 ], "density": 0.2 } ],
"place_nested": [
{ "chunks": [ [ "lab_security_3x3_EW", 50 ], [ "lab_generic_3x3_EW_open", 50 ] ], "x": 15, "y": 7 },
{ "chunks": [ [ "lab_security_3x3_EW", 50 ], [ "lab_generic_3x3_EW_open", 50 ] ], "x": 15, "y": 14 }
],
"place_monster": [
{ "monster": "mon_skitterbot", "x": 9, "y": 8, "chance": 100 },
{ "monster": "mon_skitterbot", "x": 9, "y": 9, "chance": 100 },
{ "monster": "mon_secubot", "x": 9, "y": 14, "chance": 100 },
{ "monster": "mon_secubot", "x": 9, "y": 15, "chance": 100 }
{ "monster": "mon_flashbang_hack", "x": 9, "y": 8, "chance": 100 },
{ "monster": "mon_gasbomb_hack", "x": 9, "y": 9, "chance": 100 },
{ "monster": "mon_skitterbot", "x": 9, "y": 14, "chance": 100 },
{ "monster": "mon_manhack", "x": 9, "y": 15, "chance": 100 }
],
"computers": {
"6": {
"name": "Security Public Relations Zone",
"security": 3,
"options": [ { "name": "UNLOCK ENTRANCE", "action": "unlock_disarm", "security": 6 } ],
"failures": [ { "action": "damage" }, { "action": "shutdown" }, { "action": "manhacks" } ]
"options": [ { "name": "UNLOCK ENTRANCE", "action": "unlock_disarm", "security": 3 } ],
"failures": [ { "action": "damage" }, { "action": "manhacks" } ]
}
}
}
Expand Down Expand Up @@ -180,14 +186,14 @@
"|,,,,,,|;;;;;;;;;;;;;;;|",
"|,,,,,,|;;;;;;;;;;;;;;;|",
"||||-X||||||||ƶ=||||||||",
"|,|,,,,,,¥,iii,,,,Y|;;;|",
"|,|,,,,,,=,,,,,ê,,,+;;;|",
"|j,,,,,,,¥,iii,,,,Y|;;;|",
"|j,,,,,,,=,,,,,ê,,,+;;;|",
"|||||,,||||JJJJ,h|||;;;|",
"|<,,|,,122|P,hJ,,+<|||||",
"|>,,-,,-22|P,,J,,+<|||||",
"|||||,,||||J,JJ,h|||;;;|",
"|,|,,,,,,=,,,,,ê,,,+;;;|",
"|,|,,,,,,¥,iii,,,,Y|;;;|",
"|j,,,,,,,=,,,,,ê,,,+;;;|",
"|j,,,,,,,¥,iii,,,,Y|;;;|",
"||||-X||||||||ƶ=||||||||",
"|,,,,,,|;;;;;;;;;;;;;;;|",
"|,,,,,,|;;;;;;;;;;;;;;;|",
Expand All @@ -198,7 +204,16 @@
"||||||||||||||||||||||||"
],
"palettes": [ "lab_common_palette", "lab_security_palette" ],
"place_monsters": [ { "monster": "GROUP_LAB_BASIC_SECURITY", "x": [ 1, 22 ], "y": [ 1, 22 ], "density": 0.2 } ],
"terrain": { "¥": "t_card_science_security_yellow", "ƶ": "t_card_science_security_magenta" },
"place_loot": [
{ "item": "id_science_maintenance_yellow", "x": 11, "y": 11, "chance": 30 },
{ "item": "id_science_mutagen_green", "x": 11, "y": 11, "chance": 30 },
{ "item": "id_science_medical_red", "x": 11, "y": 11, "chance": 30 },
{ "item": "id_science_maintenance_yellow", "x": 11, "y": 12, "chance": 30 },
{ "item": "id_science_mutagen_green", "x": 11, "y": 12, "chance": 30 },
{ "item": "id_science_medical_red", "x": 11, "y": 12, "chance": 30 }
],
"place_signs": [
{ "snippet": "lab_security_signage", "x": [ 10, 13 ], "y": 7 },
{ "snippet": "lab_security_signage", "x": [ 17, 18 ], "y": 7 },
Expand Down Expand Up @@ -251,6 +266,7 @@
"|,,,,,,,,,ƶ,,,,,|⁴⁴⁴⁴⁴⁴⁴"
],
"palettes": [ "lab_common_palette", "lab_security_palette" ],
"place_monsters": [ { "monster": "GROUP_LAB_BASIC_SECURITY", "x": [ 1, 8 ], "y": [ 1, 22 ], "density": 0.1 } ],
"terrain": { "ƶ": "t_card_science_security_magenta" },
"place_nested": [
{ "chunks": [ [ "lab_security_10x10_S", 100 ], [ "null", 0 ] ], "x": 1, "y": 0 },
Expand All @@ -274,14 +290,14 @@
"|,,,,,,,|3,.,|```|;;££;;",
"|,,,,,,,],.,.|||||;££;;;",
"||||-|]]|.,.,|;;;;££;;;;",
"|;;|.,.,.,.,.|;;;££;;;;;",
"|;;+,.,.,.,.,X;;££;;;;;;",
"|U;|.,.,.,.,.|;;;££;;;;;",
"|U;+,.,.,.,.,X;;££;;;;;;",
"|||||,.||||,.X;;££££££££",
"|<,.|.,122|.,-;;££``````",
"|,.,),.)22|,.-;;££``````",
"|||||.,||||.,X;;££££££££",
"|;;+.,.,.,.,.X;;££;;;;;;",
"|;;|,.,.,.,.,|;;;££;;;;;",
"|U;+.,.,.,.,.X;;££;;;;;;",
"|U;|,.,.,.,.,|;;;££;;;;;",
"||||-|]]|,.,.|;;;;££;;;;",
"|,,,,,,,].,.,|||||;££;;;",
"|,,,,,,,|4.,.|```|;;££;;",
Expand All @@ -292,7 +308,13 @@
"|,,,,,,,|;|;;;;;;;;;;|;|"
],
"palettes": [ "lab_common_palette", "lab_security_palette" ],
"place_loot": [ { "item": "id_science_maintenance_green", "x": 1, "y": 8, "chance": 100 } ],
"terrain": { "¥": "t_card_science_security_yellow", "ƶ": "t_card_science_security_magenta" },
"place_signs": [
{ "signage": "<color_white_red>Badges Mandatory Beyond This Point.</color>", "x": 13, "y": 10 },
{ "signage": "<color_white_red>Badges Mandatory Beyond This Point.</color>", "x": 13, "y": 13 }
],
"place_monsters": [ { "monster": "GROUP_LAB_BASIC_SECURITY", "x": [ 1, 22 ], "y": [ 1, 22 ], "density": 0.1 } ],
"place_monster": [
{ "monster": "mon_flashbang_hack", "x": 22, "y": 0, "chance": 100 },
{ "monster": "mon_gasbomb_hack", "x": 22, "y": 1, "chance": 100 },
Expand Down Expand Up @@ -348,7 +370,8 @@
"||||||||||||||||||||||||"
],
"palettes": [ "lab_common_palette", "lab_security_palette" ],
"terrain": { "¥": "t_card_science_security_magenta", "ƶ": "t_card_science_maintenance_blue" },
"terrain": { "¥": "t_card_science_security_magenta", "ƶ": "t_card_science_security_black" },
"place_monsters": [ { "monster": "GROUP_LAB_MILITARY", "x": [ 1, 22 ], "y": [ 1, 22 ], "density": 0.2 } ],
"place_nested": [
{ "chunks": [ [ "lab_security_10x10_S", 100 ], [ "null", 0 ] ], "x": 1, "y": 1 },
{ "chunks": [ [ "lab_security_10x10_N", 100 ], [ "null", 0 ] ], "x": 1, "y": 13 },
Expand All @@ -365,42 +388,58 @@
{
"method": "json",
"om_terrain": "lab_security_z-5",
"//": "TODO: add nested rooms to right side.",
"type": "mapgen",
"weight": 200,
"object": {
"fill_ter": "t_metal_floor",
"rows": [
"||||||||||||||||||||||||",
"|,,,,,,,,,|`````¥`````",
"|,,,,,,,,,|`````=```````",
"|,,,,,,,,,|``|##|```````",
"|,,,,,,,,,|``|><|`ɜ`````",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``||,,,,,,|||",
"|,,,,,,,,,|``||,,,,,,|||",
"|||||,,,,,=``=,,,,,,,|||",
"|||||,,,,,=``=,,,,,,,|||",
"|,,,,,,,,,|``ƶ|,,,,,,|||",
"|,,,,,,,,,|``||,,,,,,|||",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``|||||||||||",
"|,,,,,,,,,|``|><|`ɜ`````",
"|,,,,,,,,,|``|##|```````",
"|,,,,,,,,,|`````=```````",
"|,,,,,,,,,|`````¥`````",
"|,,,,,,,,,,,,|``````````",
"|,,,,,,,,,,,,|``````````",
"|,,,,,,,,,,,,|##||||||||",
"|,,,,,,,,,,,,|><|``||``|",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,||≠LLLL≠|||",
"|,,,,,,,,,,,,||``````|||",
"|,,,,,,,,,,,,```j``j````",
"|,,,,,,,,,,,,```j``j````",
"|,,,,,,,,,,,,||``````|||",
"|,,,,,,,,,,,,||≠LLLL≠|||",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,|||||||||||",
"|,,,,,,,,,,,,|><|``||``|",
"|,,,,,,,,,,,,|##||||||||",
"|,,,,,,,,,,,,|``````````",
"|,,,,,,,,,,,,|``````````",
"||||||||||||||||||||||||"
],
"palettes": [ "lab_common_palette", "lab_security_palette" ],
"terrain": { "¥": "t_card_science_security_black", "ƶ": "t_card_science_security_magenta" },
"place_monsters": [ { "monster": "GROUP_LAB_MILITARY", "x": [ 1, 22 ], "y": [ 1, 22 ], "density": 0.1 } ],
"items": {
"L": { "item": "guns_milspec", "chance": 50 },
"≠": [
{ "item": "ammo_milspec", "chance": 70, "repeat": [ 1, 2 ] },
{ "item": "mags_milspec", "chance": 70, "repeat": [ 1, 2 ] }
]
},
"place_monster": [
{ "monster": "mon_flashbang_hack", "x": 17, "y": 4, "chance": 100 },
{ "monster": "mon_gasbomb_hack", "x": 18, "y": 4, "chance": 100 },
{ "monster": "mon_skitterbot", "x": 21, "y": 4, "chance": 100 },
{ "monster": "mon_tazer_hack", "x": 22, "y": 4, "chance": 100 },
{ "monster": "mon_gasbomb_hack", "x": 17, "y": 19, "chance": 100 },
{ "monster": "mon_manhack", "x": 18, "y": 19, "chance": 100 },
{ "monster": "mon_tazer_hack", "x": 21, "y": 19, "chance": 100 },
{ "monster": "mon_skitterbot", "x": 22, "y": 19, "chance": 100 }
],
"place_nested": [
{ "chunks": [ [ "lab_security_10x10_S", 100 ], [ "null", 0 ] ], "x": 1, "y": 1 },
{ "chunks": [ [ "lab_security_10x10_N", 100 ], [ "null", 0 ] ], "x": 1, "y": 13 }
{ "chunks": [ [ "12x12_obstacle_course_N", 100 ] ], "x": 1, "y": 1 },
{ "chunks": [ [ "12x12_obstacle_course_S", 100 ] ], "x": 1, "y": 11 }
]
}
},
Expand Down Expand Up @@ -440,11 +479,16 @@
],
"palettes": [ "lab_common_palette", "lab_security_palette" ],
"terrain": { "ɜ": "t_metal_floor", "¥": "t_card_science_security_black", "ƶ": "t_card_science_security_magenta" },
"place_loot": [ { "item": "huge_atomic_battery_cell", "x": 21, "y": [ 15, 16 ], "chance": 50 } ],
"place_monster": [ { "monster": [ "mon_mech_recon", "mon_mech_combat" ], "x": 15, "y": [ 15, 16 ], "chance": 30 } ],
"place_monsters": [
{ "monster": "GROUP_LAB_MILITARY", "x": [ 1, 12 ], "y": [ 1, 22 ], "chance": 100, "repeat": [ 3, 8 ] },
{ "monster": "GROUP_LAB_MILITARY", "x": [ 16, 20 ], "y": [ 8, 12 ], "chance": 100, "repeat": [ 1, 3 ] }
],
"place_loot": [ { "item": "huge_atomic_battery_cell", "x": 21, "y": [ 15, 16 ], "chance": 85 } ],
"place_monster": [ { "monster": [ "mon_mech_recon", "mon_mech_combat" ], "x": 15, "y": [ 15, 16 ], "chance": 85 } ],
"items": {
"q": { "item": "guns_milspec", "chance": 40, "repeat": [ 1, 2 ] },
"r": { "item": "tools_gunsmith", "chance": 10 },
"N": [ { "item": "tools_gunsmith", "chance": 100 }, { "item": "mechanics", "chance": 50 } ],
"≠": [
{ "item": "ammo_milspec", "chance": 70, "repeat": [ 1, 2 ] },
{ "item": "mags_milspec", "chance": 40, "repeat": [ 1, 2 ] }
Expand All @@ -454,7 +498,7 @@
"6": {
"name": "Magazine Entrance",
"security": 6,
"options": [ { "name": "UNLOCK ENTRANCE", "action": "unlock", "security": 7 } ],
"options": [ { "name": "UNLOCK ENTRANCE", "action": "unlock", "security": 6 } ],
"failures": [ { "action": "damage" }, { "action": "shutdown" } ]
}
}
Expand Down
Loading

0 comments on commit 86578cf

Please sign in to comment.