smol fix
This commit is contained in:
@@ -41,7 +41,6 @@
|
|||||||
break
|
break
|
||||||
var/datum/mind/cultie = antag_pick(antag_candidates)
|
var/datum/mind/cultie = antag_pick(antag_candidates)
|
||||||
antag_candidates -= cultie
|
antag_candidates -= cultie
|
||||||
cultie.special_role = ROLE_HERETIC
|
|
||||||
cultie.restricted_roles = restricted_jobs
|
cultie.restricted_roles = restricted_jobs
|
||||||
culties += cultie
|
culties += cultie
|
||||||
|
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
/datum/antagonist/heretic/on_gain()
|
/datum/antagonist/heretic/on_gain()
|
||||||
var/mob/living/current = owner.current
|
var/mob/living/current = owner.current
|
||||||
owner.teach_crafting_recipe(/datum/crafting_recipe/heretic/codex)
|
owner.teach_crafting_recipe(/datum/crafting_recipe/heretic/codex)
|
||||||
|
owner.special_role = ROLE_HERETIC
|
||||||
if(ishuman(current))
|
if(ishuman(current))
|
||||||
forge_primary_objectives()
|
forge_primary_objectives()
|
||||||
gain_knowledge(/datum/eldritch_knowledge/spell/basic)
|
gain_knowledge(/datum/eldritch_knowledge/spell/basic)
|
||||||
@@ -49,7 +50,7 @@
|
|||||||
for(var/X in researched_knowledge)
|
for(var/X in researched_knowledge)
|
||||||
var/datum/eldritch_knowledge/EK = researched_knowledge[X]
|
var/datum/eldritch_knowledge/EK = researched_knowledge[X]
|
||||||
EK.on_lose(owner.current)
|
EK.on_lose(owner.current)
|
||||||
|
owner.special_role = null
|
||||||
if(!silent)
|
if(!silent)
|
||||||
to_chat(owner.current, "<span class='userdanger'>Your mind begins to flare as the otherwordly knowledge escapes your grasp!</span>")
|
to_chat(owner.current, "<span class='userdanger'>Your mind begins to flare as the otherwordly knowledge escapes your grasp!</span>")
|
||||||
owner.current.log_message("has renounced the cult of the old ones!", LOG_ATTACK, color="#960000")
|
owner.current.log_message("has renounced the cult of the old ones!", LOG_ATTACK, color="#960000")
|
||||||
|
|||||||
Reference in New Issue
Block a user