only missing alt titles

This commit is contained in:
Kashargul
2024-09-12 22:48:14 +02:00
parent 4ba7beeb9c
commit 8a90ae6523
98 changed files with 416 additions and 361 deletions
+7 -7
View File
@@ -79,7 +79,7 @@
if(move)
var/obj/loc_landmark
for(var/obj/effect/landmark/start/sloc in landmarks_list)
if (sloc.name != "AI")
if (sloc.name != JOB_AI)
continue
if ((locate(/mob/living) in sloc.loc) || (locate(/obj/structure/AIcore) in sloc.loc))
continue
@@ -93,7 +93,7 @@
if (!loc_landmark)
to_chat(src, "Oh god sorry we can't find an unoccupied AI spawn location, so we're spawning you on top of someone.")
for(var/obj/effect/landmark/start/sloc in landmarks_list)
if (sloc.name == "AI")
if (sloc.name == JOB_AI)
loc_landmark = sloc
newloc = loc_landmark.loc
@@ -162,7 +162,7 @@
if(mind) //TODO
mind.transfer_to(O)
if(O.mind.assigned_role == "Cyborg")
if(O.mind.assigned_role == JOB_CYBORG)
O.mind.original = O
else if(mind && mind.special_role)
O.mind.store_memory("In case you look at this after being borged, the objectives are only here until I find a way to make them not show up for you, as I can't simply delete them without screwing up round-end reporting. --NeoFite")
@@ -170,11 +170,11 @@
O.key = key
O.loc = loc
O.job = "Cyborg"
if(O.mind.assigned_role == "Cyborg")
if(O.mind.role_alt_title == "Robot")
O.job = JOB_CYBORG
if(O.mind.assigned_role == JOB_CYBORG)
if(O.mind.role_alt_title == JOB_ALT_ROBOT)
O.mmi = new /obj/item/device/mmi/digital/posibrain(O)
else if(O.mind.role_alt_title == "Drone")
else if(O.mind.role_alt_title == JOB_ALT_DRONE)
O.mmi = new /obj/item/device/mmi/digital/robot(O)
else
O.mmi = new /obj/item/device/mmi(O)