-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically balance hardcoded & json lab & lab finales against each…
… other. - The 3 lab sections have a 500 weight each (cross, tic-tac-toe, big room) - The 4 lab finales have a weight of 100 each, except arms testing is 200. - An example lab finale map was added as an example, a buffed up autodoc room. - Modified with a change of bionics and 4-9 anesthetic, plus a shocker brute. - Weight is only 25, since I think it's less cool than the other finales. - Finales will now properly handle stairs. - Json finales should be called lab_finale_1level. Hope is to sometime add 2level finales.
- Loading branch information
1 parent
4479903
commit a53391c
Showing
3 changed files
with
543 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
[ | ||
{ | ||
"//": "autodoc operating theatre", | ||
"type": "mapgen", | ||
"method": "json", | ||
"om_terrain": [ "lab_finale_1level" ], | ||
"weight": 2500, | ||
"object": { | ||
"rotation": [ 0, 3 ], | ||
"fill_ter": "t_rock_floor", | ||
"rows": [ | ||
"..cccccc.|...|,,,|..|,,,", | ||
"c........|...|,,,|.6|,,,", | ||
"c..Ccxc..|...|,,,g..g,,,", | ||
"c........g...|,,,g..g,,,", | ||
"c........g...|,,,D..D,,,", | ||
"......llS|...|---|..|---", | ||
"--gg-+---|...|,,,|..|,,,", | ||
".............|,,,g..g,,,", | ||
".............|,,,g..g,,,", | ||
".............|,,,D..D,,,", | ||
"........|-ggg----|..|---", | ||
"........|r,,,r|t--+-|...", | ||
"........g,,/,,D.....+...", | ||
"........g,,?,,|-ggg-|...", | ||
"........|r,,,r|.........", | ||
"........|-ggg-|.........", | ||
"........................", | ||
"........................", | ||
"..........dd7dd.........", | ||
"..........d.h.d.........", | ||
"...ddxdd.........ddxdd..", | ||
"...d.h.d.........d.h.d..", | ||
"........................", | ||
"........................" | ||
], | ||
"palettes": [ | ||
"lab_palette", "lab_loot_generic" | ||
], | ||
"furniture": { | ||
"?": "f_autodoc", | ||
"/": "f_autodoc_couch" | ||
}, | ||
"terrain": { | ||
"C": "t_centrifuge", | ||
"?": "t_floor_blue", | ||
"/": "t_floor_blue", | ||
"7": "t_console", | ||
"r": "t_floor_blue" | ||
}, | ||
"place_loot": [ | ||
{ "item": "anesthesia", "x": 15, "y": 11, "repeat": [4,9] } | ||
], | ||
"mapping": { | ||
"r": { | ||
"items": [ | ||
{ "item": "bionics_common", "chance": 40 }, | ||
{ "item": "bionics", "chance": 20 }, | ||
{ "item": "hospital_medical_items", "chance": 80 }, | ||
{ "item": "dissection", "chance": 60 } | ||
] | ||
} | ||
}, | ||
"computers": { | ||
"6": { | ||
"name": "Operating Theatre Access Control", "security": 0, "options": [ { "name": "EMERGENCY EVAC - OPEN ALL DOORS", "action": "open", "security": 0 } ], "failures": [ | ||
{ "action": "damage" }, | ||
{ "action": "shutdown" } | ||
] | ||
}, | ||
"7": { | ||
"name": "Operating Theatre Access Control", "security": 2, "options": [ { "name": "UNLOCK AUTODOC DOOR", "action": "unlock", "security": 6 } ], "failures": [ | ||
{ "action": "damage" }, | ||
{ "action": "shutdown" } | ||
] | ||
} | ||
}, | ||
"place_monster": [ | ||
{ "monster": [ "mon_broken_cyborg", "mon_zombie_electric" ], "x": [ 14, 16 ], "y": [ 1, 4 ], "chance": 90 }, | ||
{ "monster": "mon_broken_cyborg", "x": [ 14, 16 ], "y": [ 6, 9 ], "chance": 90 }, | ||
{ "monster": "mon_broken_cyborg", "x": [ 21, 22 ], "y": [ 1, 4 ], "chance": 90 }, | ||
{ "monster": "mon_broken_cyborg", "x": [ 21, 22 ], "y": [ 6, 9 ], "chance": 90 }, | ||
{ "monster": "mon_zombie_scientist", "x": [15, 19], "y": 12, "chance": 90, "repeat": [1,2] }, | ||
{ "monster": "mon_zombie_brute_shocker", "x": [ 9, 10 ], "y": [ 12, 13 ]} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.