Landmarks works (#19006)

Fixed some landmarks harddels.
Refactored various landmarks in their own subtype instead of using a
name-based switch system.
This commit is contained in:
Fluffy
2024-04-28 17:04:40 +00:00
committed by GitHub
parent fb05bfab41
commit 5c295f5a10
32 changed files with 645 additions and 937 deletions
+4 -1
View File
@@ -41,7 +41,10 @@
var/corpseidicon = null //For setting it to be a gold, silver, centcomm etc ID
/obj/effect/landmark/corpse/Initialize()
. = ..()
..()
return INITIALIZE_HINT_LATELOAD
/obj/effect/landmark/corpse/LateInitialize()
createCorpse()
/obj/effect/landmark/corpse/proc/createCorpse() //Creates a mob and checks for gear in each slot before attempting to equip it.