mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
Refactors the holodeck to use map templates instead of copy_contents_to, which every maintainer seems to have complaints about. Fixes #41485 because the matches become part of the spawned list created by ssatoms Fixes #54789 because the holodeck area no longer has the NO_TELEPORT flag Fixes #55676 because the map templates cant be changed midround unlike the program copies in the centcom z level Fixes #49318 because the holodeck no longer creates new areas like the original did This pr also changes initTemplateBounds to be a /datum/map_template proc instead of a parsed_map proc. This was mainly so I wouldn't have to duplicate vars between map_template and parsed_map. It's also nice because there's no longer a parsed_map proc inside the map_template file, especially when it didn't need to be a parsed_map proc. The holodeck sims wont take up space in the centcom z level any more (which allows for more possible programs in the future), and map templates are more heavily tested. This is also a chance to future proof the holodeck against bugs. Holodeck also seems more responsive. This should allow for a second custom holodeck in some future ruin as well, although that of course will not be in play for the near future because of the offstation content ban. Also I documented the fuck out of the holodeck
122 lines
674 B
Plaintext
122 lines
674 B
Plaintext
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
|
|
"a" = (
|
|
/turf/open/floor/holofloor/plating,
|
|
/area/template_noop)
|
|
"j" = (
|
|
/obj/structure/reagent_dispensers/fueltank,
|
|
/turf/open/floor/holofloor/plating,
|
|
/area/template_noop)
|
|
"F" = (
|
|
/obj/item/weldingtool,
|
|
/turf/open/floor/holofloor/plating,
|
|
/area/template_noop)
|
|
|
|
(1,1,1) = {"
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
"}
|
|
(2,1,1) = {"
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
"}
|
|
(3,1,1) = {"
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
"}
|
|
(4,1,1) = {"
|
|
a
|
|
j
|
|
j
|
|
a
|
|
j
|
|
j
|
|
a
|
|
j
|
|
j
|
|
a
|
|
"}
|
|
(5,1,1) = {"
|
|
a
|
|
j
|
|
j
|
|
F
|
|
j
|
|
j
|
|
F
|
|
j
|
|
j
|
|
a
|
|
"}
|
|
(6,1,1) = {"
|
|
a
|
|
j
|
|
j
|
|
a
|
|
j
|
|
j
|
|
a
|
|
j
|
|
j
|
|
a
|
|
"}
|
|
(7,1,1) = {"
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
"}
|
|
(8,1,1) = {"
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
"}
|
|
(9,1,1) = {"
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
a
|
|
"}
|