Cyborgs can now choose what type of brain they spawn with. (#23954)

* choose your own brainventure

* i kinda remember sql

* lets try on Login() instead

* wait its actually here

* Revert "lets try on Login() instead"

This reverts commit 6fd26912b1.

* hold on i gotta sort this out

* lol, lmao even

* i apparently do not remember sql

* Actually remember to switch to varchar

* aaaaaaaaaaaaaaaaaaaa

* does the comma fix it

* i am so fucking stupid lmao

* lmao i REALLY dont know sql, thanks AA

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* the other place to fix a string

* sql is now 54, happy  birthday sql

* autodoc whitespace fix

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* maybe using the defines i made is a good idea

* AA's changes

---------

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
BiancaWilkson
2024-03-26 21:23:33 +00:00
committed by GitHub
co-authored by AffectedArc07 Luc
parent 048dfecd06
commit f9e30f8e78
10 changed files with 39 additions and 12 deletions
+7 -3
View File
@@ -92,13 +92,17 @@
if(O.mind && O.mind.assigned_role == "Cyborg")
var/obj/item/mmi/new_mmi
switch(O.mind.role_alt_title)
if("Robot")
switch(O.client.prefs.active_character.cyborg_brain_type)
if(ROBOBRAIN_BORG)
new_mmi = new /obj/item/mmi/robotic_brain(O)
if(new_mmi.brainmob)
new_mmi.brainmob.name = O.name
if("Cyborg")
if(MMI_BORG)
new_mmi = new /obj/item/mmi(O)
if(POSITRONIC_BORG)
new_mmi = new /obj/item/mmi/robotic_brain/positronic(O)
if(new_mmi.brainmob)
new_mmi.brainmob.name = O.name
else
// This should never happen, but oh well
new_mmi = new /obj/item/mmi(O)