Skip to content

Commit

Permalink
Create emote.dm (#8823)
Browse files Browse the repository at this point in the history
  • Loading branch information
ynot01 committed Jun 17, 2020
1 parent 06ac7cf commit e6cb4a3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions code/modules/mob/dead/emote.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

/* DEAD EMOTE DATUMS */
/datum/emote/dead
mob_type_allowed_typecache = /mob/dead/observer

/datum/emote/dead/dab
key = "dab"
key_third_person = "dabs"
message = "dabs."
message_param = "dabs on %t."
restraint_check = TRUE

/datum/emote/dead/dab/run_emote(mob/user, params)
. = ..()
var/mob/dead/observer/H = user
var/light_dab_angle = rand(35,55)
var/light_dab_speed = rand(3,7)
H.DabAnimation(angle = light_dab_angle , speed = light_dab_speed)

0 comments on commit e6cb4a3

Please sign in to comment.