Turns isholy into a trait and adds a trait mind helper (#23107)

* Converts isHoly into a trait

* Moves holy from body to mind

* Uncurses the source of curses

* Updates source to roundstart trait

* Contrabang fixes

* Forgot one

* Add trait mind helper

* Request changed Dgamerr/Contra

* Fixes issue

* Nullchecks minds
This commit is contained in:
ppi13
2023-11-03 20:07:20 +00:00
committed by GitHub
parent 4647342219
commit abe4110704
15 changed files with 37 additions and 29 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ GLOBAL_DATUM_INIT(multispin_words, /regex, regex("like a record baby"))
if(owner.mind)
//Holy characters are very good at speaking with the voice of god
if(owner.mind.isholy)
if(HAS_MIND_TRAIT(owner, TRAIT_HOLY))
power_multiplier *= 2
//Command staff has authority
if(owner.mind.assigned_role in GLOB.command_positions)