Default spawnpoint (#19258)

* Add a default spawn location

* Fix the unit test hopefully

* Rename and clean up the unit test

* Change it to use a defined spawnpoint datum

* Fix the build hopefully

* Fix the build x2

* Fix the build x3
This commit is contained in:
TheGreatKitsune
2026-03-11 21:21:02 +01:00
committed by GitHub
parent 2a8d4bab64
commit 94198bf007
3 changed files with 12 additions and 0 deletions
@@ -173,6 +173,10 @@
/datum/preference/choiced/living/spawnpoint/apply_to_living(mob/living/target, value)
return // handled in job_controller
/datum/preference/choiced/living/spawnpoint/create_default_value()
var/datum/spawnpoint/default_spawnpoint = DEFAULT_LATEJOIN_LOCATION
return default_spawnpoint::display_name
/datum/preference/text/living/private_notes
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
savefile_identifier = PREFERENCE_CHARACTER