[MIRROR] Nuclear operatives can now be other species. Pref toggle to always be human as operative [MDB IGNORE] (#23433)

* Nuclear operatives can now be other species. Pref toggle to always be human as operative

* remove skyrat edit

---------

Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com>
Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-08-31 14:27:59 -07:00
committed by GitHub
co-authored by Rhials lessthanthree
parent a868832007
commit 1edbfcd0f0
18 changed files with 135 additions and 12 deletions
@@ -30,6 +30,10 @@
Mind.special_role = ROLE_LONE_OPERATIVE
Mind.active = TRUE
Mind.transfer_to(operative)
if(!operative.client?.prefs.read_preference(/datum/preference/toggle/nuke_ops_species))
var/species_type = operative.client.prefs.read_preference(/datum/preference/choiced/species)
operative.set_species(species_type) //Apply the preferred species to our freshly-made body.
Mind.add_antag_datum(/datum/antagonist/nukeop/lone)
message_admins("[ADMIN_LOOKUPFLW(operative)] has been made into lone operative by an event.")