mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Half-finished mime job (yes, I like releasing raw things).
Cuban Pete Time button for admins. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@293 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
src.verbs += /client/proc/modifytemperature
|
||||
src.verbs += /client/proc/object_talk // -- TLE
|
||||
src.verbs += /client/proc/play_sound
|
||||
src.verbs += /client/proc/cuban_pete // -- Urist
|
||||
src.verbs += /client/proc/sendmob
|
||||
src.verbs += /client/proc/stealthadmin
|
||||
src.verbs += /client/proc/ticklag
|
||||
@@ -173,6 +174,7 @@
|
||||
src.verbs += /client/proc/make_sound // -- Skie
|
||||
src.verbs += /client/proc/modifytemperature
|
||||
src.verbs += /client/proc/play_sound
|
||||
src.verbs += /client/proc/cuban_pete // -- Urist
|
||||
src.verbs += /client/proc/sendmob
|
||||
src.verbs += /client/proc/stealthadmin
|
||||
src.verbs += /client/proc/ticklag
|
||||
@@ -687,7 +689,7 @@
|
||||
src.holder.Voting()
|
||||
|
||||
/client/proc/funbutton()
|
||||
set category = "Boom Boom"
|
||||
set category = "Fun"
|
||||
set name = "Boom Boom Boom Shake The Room"
|
||||
if(!src.authenticated || !src.holder)
|
||||
src << "Only administrators may use this command."
|
||||
|
||||
@@ -30,4 +30,38 @@
|
||||
|
||||
//else
|
||||
// alert("Debugging is disabled")
|
||||
// return
|
||||
// return
|
||||
|
||||
/client/proc/cuban_pete()
|
||||
set category = "Fun"
|
||||
set name = "Cuban Pete Time"
|
||||
|
||||
world << 'cubanpetetime.ogg'
|
||||
|
||||
for(var/mob/living/carbon/human/CP in world)
|
||||
if(CP.real_name=="Cuban Pete" && CP.key!="Rosham")
|
||||
CP << "Your body can't contain the rhumba beat"
|
||||
CP.gib(1)
|
||||
|
||||
/*if(Debug2)
|
||||
if(!src.authenticated || !src.holder)
|
||||
src << "Only administrators may use this command."
|
||||
return
|
||||
|
||||
var/sound/uploaded_sound = sound(S,0,1,0)
|
||||
uploaded_sound.priority = 255
|
||||
uploaded_sound.wait = 1
|
||||
|
||||
if(src.holder.rank == "Host" || src.holder.rank == "Coder" || src.holder.rank == "Shit Guy")
|
||||
log_admin("[key_name(src)] played sound [S]")
|
||||
message_admins("[key_name_admin(src)] played sound [S]", 1)
|
||||
world << uploaded_sound
|
||||
else
|
||||
if(usr.client.canplaysound)
|
||||
usr.client.canplaysound = 0
|
||||
log_admin("[key_name(src)] played sound [S]")
|
||||
message_admins("[key_name_admin(src)] played sound [S]", 1)
|
||||
world << uploaded_sound
|
||||
else
|
||||
usr << "You already used up your jukebox monies this round!"
|
||||
del(uploaded_sound)*/
|
||||
Reference in New Issue
Block a user