mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Add bapi-dmm to reduce startup time by... a lot (#16148)
* Add bapi-dmm, a rust maploader that goes BRRRRRRR * A few more maps switched away from file paths * Update to include 48f4879d8704cb057a (better path error handling)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// Areas.dm
|
||||
|
||||
GLOBAL_LIST_EMPTY(areas_by_type)
|
||||
|
||||
/area
|
||||
var/fire = null
|
||||
var/atmos = 1
|
||||
@@ -55,6 +57,11 @@
|
||||
var/no_spoilers = FALSE // If true, makes it much more difficult to see what is inside an area with things like mesons.
|
||||
var/soundproofed = FALSE // If true, blocks sounds from other areas and prevents hearers on other areas from hearing the sounds within.
|
||||
|
||||
/area/New()
|
||||
// Used by the maploader, this must be done in New, not init
|
||||
GLOB.areas_by_type[type] = src
|
||||
return ..()
|
||||
|
||||
/area/Initialize()
|
||||
. = ..()
|
||||
luminosity = !(dynamic_lighting)
|
||||
|
||||
Reference in New Issue
Block a user