antag clowns can toggle clumsy on and off

This commit is contained in:
datlo
2019-02-19 20:33:36 +00:00
parent de2b51ad96
commit 673ecd288e
7 changed files with 34 additions and 4 deletions
+2 -1
View File
@@ -140,7 +140,8 @@ var/list/possible_changeling_IDs = list("Alpha","Beta","Gamma","Delta","Epsilon"
if(changeling.current.mind.assigned_role == "Clown")
to_chat(changeling.current, "You have evolved beyond your clownish nature, allowing you to wield weapons without harming yourself.")
changeling.current.mutations.Remove(CLUMSY)
var/datum/action/innate/toggle_clumsy/A = new
A.Grant(changeling.current)
var/obj_count = 1
for(var/datum/objective/objective in changeling.objectives)
to_chat(changeling.current, "<B>Objective #[obj_count]</B>: [objective.explanation_text]")
+2 -1
View File
@@ -157,7 +157,8 @@ var/global/list/all_cults = list()
if(mob.mind.assigned_role == "Clown")
to_chat(mob, "Your training has allowed you to overcome your clownish nature, allowing you to wield weapons without harming yourself.")
mob.mutations.Remove(CLUMSY)
var/datum/action/innate/toggle_clumsy/A = new
A.Grant(mob)
var/obj/item/paper/talisman/supply/T = new(mob)
var/list/slots = list (
"backpack" = slot_in_backpack,
+2
View File
@@ -39,6 +39,8 @@
if(devil_mind.assigned_role == "Clown")
to_chat(devil_mind.current, "Your infernal nature allows you to wield weapons without harming yourself.")
devil_mind.current.mutations.Remove(CLUMSY)
var/datum/action/innate/toggle_clumsy/A = new
A.Grant(devil_mind.current)
spawn(10)
devil_mind.devilinfo.update_hud()
if(issilicon(devil_mind.current))
+2 -1
View File
@@ -122,7 +122,8 @@
if(mob.mind.assigned_role == "Clown")
to_chat(mob, "Your training has allowed you to overcome your clownish nature, allowing you to wield weapons without harming yourself.")
mob.mutations.Remove(CLUMSY)
var/datum/action/innate/toggle_clumsy/A = new
A.Grant(mob)
var/obj/item/flash/T = new(mob)
var/obj/item/toy/crayon/spraycan/R = new(mob)
+3
View File
@@ -299,6 +299,9 @@
if(traitor_mob.mind.assigned_role == "Clown")
to_chat(traitor_mob, "Your training has allowed you to overcome your clownish nature, allowing you to wield weapons without harming yourself.")
traitor_mob.mutations.Remove(CLUMSY)
var/datum/action/innate/toggle_clumsy/A = new
A.Grant(traitor_mob)
// find a radio! toolbox(es), backpack, belt, headset
var/obj/item/R = locate(/obj/item/pda) in traitor_mob.contents //Hide the uplink in a PDA if available, otherwise radio
+2 -1
View File
@@ -186,7 +186,8 @@ You are weak to holy things and starlight. Don't go into space and avoid the Cha
if(vampire.current.mind.assigned_role == "Clown")
to_chat(vampire.current, "Your lust for blood has allowed you to overcome your clumsy nature allowing you to wield weapons without harming yourself.")
vampire.current.mutations.Remove(CLUMSY)
var/datum/action/innate/toggle_clumsy/A = new
A.Grant(vampire.current)
var/obj_count = 1
for(var/datum/objective/objective in vampire.objectives)
to_chat(vampire.current, "<B>Objective #[obj_count]</B>: [objective.explanation_text]")
+21
View File
@@ -253,6 +253,27 @@
if(!ismachine(H))
H.mutations.Add(COMIC)
//action given to antag clowns
/datum/action/innate/toggle_clumsy
name = "Toggle Clown Clumsy"
button_icon_state = "clown"
/datum/action/innate/toggle_clumsy/Activate()
var/mob/living/carbon/human/H = owner
H.mutations.Add(CLUMSY)
active = TRUE
background_icon_state = "bg_spell"
UpdateButtonIcon()
to_chat(H, "<span class='notice'>You start acting clumsy to throw suspicions off. Focus again before using weapons.</span>")
/datum/action/innate/toggle_clumsy/Deactivate()
var/mob/living/carbon/human/H = owner
H.mutations.Remove(CLUMSY)
active = FALSE
background_icon_state = "bg_default"
UpdateButtonIcon()
to_chat(H, "<span class='notice'>You focus and can now use weapons regularly.</span>")
/datum/job/mime
title = "Mime"
flag = MIME