Files
4ab234f10c maploader / overmaps update - struct system, overmaps location bindings, misc backend improvements (#6403)
tl;dr level collections that can easily be logically restructured/moved
as necessary

will eventually be used for radio and overmaps location resolution.

this is the last part of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP/pull/4841
that has not yet been integrated.
this will be a draft for a while.

---------

Co-authored-by: LetterN <24603524+LetterN@users.noreply.github.com>
2025-11-06 17:49:23 -08:00

61 lines
1.5 KiB
Plaintext

//* This file is explicitly licensed under the MIT license. *//
//* Copyright (c) 2024 Citadel Station Developers *//
/datum/map_level_trait
/// our enum
var/id
/// desc
var/desc = "Some kind of trait."
/// allow admin editing
var/allow_edit = FALSE
/datum/map_level_trait/proc/ui_serialize()
return list(
"id" = initial(id),
"desc" = initial(desc),
"allowEdit" = initial(allow_edit),
)
/datum/map_level_trait/reserved
id = "system-reserved"
desc = "Reserved by the maploader. Do not touch."
/datum/map_level_trait/gravity
id = "innate-gravity"
desc = "This level inherently has gravity"
allow_edit = TRUE
/datum/map_level_trait/minimap
id = "generate-minimaps"
desc = "Generate a minimap for this level."
allow_edit = TRUE
//! below are all pending deprecation. !//
/datum/map_level_trait/legacy_station
id = "legacy-station"
desc = "Legacy: Considered station."
allow_edit = TRUE
/datum/map_level_trait/legacy_admin
id = "legacy-admin"
desc = "Legacy: Considered an admin level."
allow_edit = TRUE
/datum/map_level_trait/legacy_facility_safety
id = "legacy-facility_safety"
desc = "Legacy: Block exploration pinned weapons."
allow_edit = TRUE
/datum/map_level_trait/legacy_xenoarch_exempt
id = "legacy-xenoarch_exempt"
desc = "Legacy: Do not spawn anomalies here."
allow_edit = TRUE
/datum/map_level_trait/legacy_station
id = "legacy-no-wallhack"
desc = "Legacy: Block mesons, materials, thermals, and sonar scanners."
allow_edit = TRUE