makes blueprints work on station and able to expand old areas (#32280)

🆑 ninjanomnom
add: You can now select a nearby area to expand when using a blueprint instead of making a new area.
add: New shuttle areas can be created using blueprints. This is currently not useful but will be used later for shuttle construction.
tweak: Blueprints can modify existing areas on station.
admin: Blueprint functionality has been added to the debug tab as a verb.
/🆑

Additionally the code for getting all turfs in a contained space has been refactored for some pretty good performance improvements.

Old proc: Self CPU 8.816, Total CPU: 10.009, Real Time: 10.009, Calls: 5000
New proc: Self CPU 4.174, Total CPU: 9.000, Real Time: 9.001, Calls: 5000

They've been moved into a area helpers file.
This commit is contained in:
Emmett Gaines
2017-11-13 22:32:36 +13:00
committed by oranges
parent dd7470f552
commit 28e6359939
6 changed files with 110 additions and 152 deletions
+5
View File
@@ -772,6 +772,11 @@
winheight = min(winheight, 690)
usr << browse(dat, "window=players;size=375x[winheight]")
/datum/admins/proc/create_or_modify_area()
set category = "Debug"
set name = "Create or modify area"
create_area(usr)
//
//
//ALL DONE