mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-05 23:13:06 +00:00
spaceman requested everyone having christmas hats admin verb for possible christmas event. it was possibly a joke I took seriosuly
This commit is contained in:
23
code/modules/admin/verbs/gimmicks.dm
Normal file
23
code/modules/admin/verbs/gimmicks.dm
Normal file
@@ -0,0 +1,23 @@
|
||||
var/global/gimmick_hat = null
|
||||
|
||||
// irreversable, for now
|
||||
/client/proc/cmd_admin_christmas()
|
||||
set category = "Fun"
|
||||
set name = "Christmas Time"
|
||||
|
||||
if(!authenticated || !holder)
|
||||
src << "Only administrators may use this command."
|
||||
return
|
||||
|
||||
if(!gimmick_hat)
|
||||
log_admin("[usr.key] has started Christmas!")
|
||||
message_admins("<font color='blue'>[usr.key] has started Christmas!</font>")
|
||||
|
||||
// handle pre-existing hats
|
||||
gimmick_hat = "santahat"
|
||||
else
|
||||
log_admin("[usr.key] has stopped Christmas!")
|
||||
message_admins("<font color='blue'>[usr.key] has stopped Christmas!</font>")
|
||||
|
||||
// handle pre-existing hats
|
||||
gimmick_hat = null
|
||||
Reference in New Issue
Block a user