Sentience preference selection and antag datum (#69569)

This commit is contained in:
Profakos
2022-09-07 17:59:50 -07:00
committed by GitHub
parent 8979d9046b
commit ba0366210e
15 changed files with 126 additions and 18 deletions
@@ -719,13 +719,8 @@
if(isanimal(dumb_mob))
var/mob/living/simple_animal/smart_animal = dumb_mob
smart_animal.sentience_act()
to_chat(dumb_mob, span_warning("All at once it makes sense: you know what you are and who you are! Self awareness is yours!"))
to_chat(dumb_mob, span_userdanger("You are grateful to be self aware and owe [user.real_name] a great debt. Serve [user.real_name], and assist [user.p_them()] in completing [user.p_their()] goals at any cost."))
if(dumb_mob.flags_1 & HOLOGRAM_1) //Check to see if it's a holodeck creature
to_chat(dumb_mob, span_userdanger("You also become depressingly aware that you are not a real creature, but instead a holoform. Your existence is limited to the parameters of the holodeck."))
dumb_mob.mind.add_antag_datum(/datum/antagonist/sentient_creature)
to_chat(user, span_notice("[dumb_mob] accepts [src] and suddenly becomes attentive and aware. It worked!"))
dumb_mob.copy_languages(user, LANGUAGE_MASTER)
dumb_mob.update_atom_languages()
after_success(user, dumb_mob)
qdel(src)
else