it works tiger pants

This commit is contained in:
Aurorablade
2018-02-02 00:31:19 -05:00
parent 8e3b031e79
commit cbc446a479
5 changed files with 25 additions and 19 deletions
+18 -17
View File
@@ -840,27 +840,28 @@
if("highfive")
if(restrained())
return
visible_message("<b>[name]</b> requests a highfive.", "You request a highfive.")
if(!has_status_effect(STATUS_EFFECT_HIGHFIVE))
apply_status_effect(STATUS_EFFECT_HIGHFIVE)
for(var/mob/living/carbon/C in orange(1))
if(!C || C == src)
visible_message("[name] was left hanging. Embarrassing.", "You are left hanging. How embarrassing!")
else
C.apply_status_effect(STATUS_EFFECT_HIGHFIVE)
if(C.has_status_effect(STATUS_EFFECT_HIGHFIVE))
if((mind.special_role == SPECIAL_ROLE_WIZARD) && (C.mind && (C.mind.special_role == SPECIAL_ROLE_WIZARD)))
visible_message("<span class='danger'><b>[name]</b> and <b>[C.name]</b> high-five EPICALLY!</span>")
if(has_status_effect(STATUS_EFFECT_HIGHFIVE))
to_chat(src, "You give up on the highfive.")
remove_status_effect(STATUS_EFFECT_HIGHFIVE)
return
visible_message("<b>[name]</b> requests a highfive.", "You request a high five.")
apply_status_effect(STATUS_EFFECT_HIGHFIVE)
for(var/mob/living/L in orange(1))
L.apply_status_effect(STATUS_EFFECT_HIGHFIVE)
if(L.has_status_effect(STATUS_EFFECT_HIGHFIVE))
if((mind && mind.special_role == SPECIAL_ROLE_WIZARD) && (L.mind && L.mind.special_role == SPECIAL_ROLE_WIZARD))
visible_message("<span class='danger'><b>[name]</b> and <b>[L.name]</b> high-five EPICALLY!</span>")
status_flags |= GODMODE
C.status_flags |= GODMODE
L.status_flags |= GODMODE
explosion(loc,5,2,1,3)
status_flags &= ~GODMODE
C.status_flags &= ~GODMODE
break
visible_message("<b>[name]</b> and <b>[C.name]</b> high-five!")
L.status_flags &= ~GODMODE
return
visible_message("<b>[name]</b> and <b>[L.name]</b> high-five!")
playsound('sound/effects/snap.ogg', 50)
break
remove_status_effect(STATUS_EFFECT_HIGHFIVE)
L.remove_status_effect(STATUS_EFFECT_HIGHFIVE)
return
if("help")
var/emotelist = "aflap(s), airguitar, blink(s), blink(s)_r, blush(es), bow(s)-(none)/mob, burp(s), choke(s), chuckle(s), clap(s), collapse(s), cough(s),cry, cries, custom, dance, dap(s)(none)/mob," \