Merge pull request #2534 from yogstation13/upstream-merge-40224

[MIRROR] Adds Gonbolas
This commit is contained in:
1fbff5f83b23d39d38b1dfcb4cac8d9b
2018-09-15 19:14:26 +02:00
committed by GitHub
5 changed files with 49 additions and 0 deletions

View File

@@ -507,3 +507,21 @@
desc = "Your body is covered in blue ichor! You can't be revived by vitality matrices."
icon_state = "ichorial_stain"
alerttooltipstyle = "clockcult"
/datum/status_effect/gonbolaPacify
id = "gonbolaPacify"
status_type = STATUS_EFFECT_MULTIPLE
tick_interval = -1
alert_type = null
/datum/status_effect/gonbolaPacify/on_apply()
owner.add_trait(TRAIT_PACIFISM, "gonbolaPacify")
owner.add_trait(TRAIT_MUTE, "gonbolaMute")
owner.add_trait(TRAIT_JOLLY, "gonbolaJolly")
to_chat(owner, "<span class='notice'>You suddenly feel at peace and feel no need to make any sudden or rash actions...</span>")
return ..()
/datum/status_effect/gonbolaPacify/on_remove()
owner.remove_trait(TRAIT_PACIFISM, "gonbolaPacify")
owner.remove_trait(TRAIT_MUTE, "gonbolaMute")
owner.remove_trait(TRAIT_JOLLY, "gonbolaJolly")