- hand tools now fit on your belt slot

- added feedback logging for newscasters
- added feedback logging for admin verbs
- added shuttle timers to escape pods
- added feedback logging to chemical reactions
- clipboard can now fit on your belt

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3465 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz@gmail.com
2012-04-16 04:00:36 +00:00
parent 53e4d8918f
commit d1d0fd5e4f
29 changed files with 9441 additions and 9288 deletions

View File

@@ -546,7 +546,7 @@
throw_range = 5 throw_range = 5
m_amt = 50 m_amt = 50
g_amt = 20 g_amt = 20
flags = TABLEPASS|USEDELAY|FPRINT|CONDUCT flags = TABLEPASS|USEDELAY|FPRINT|CONDUCT | ONBELT
item_state = "coil_red" item_state = "coil_red"
/obj/item/weapon/cable_coil/cut /obj/item/weapon/cable_coil/cut
@@ -569,7 +569,7 @@
desc = "Used to hit floors" desc = "Used to hit floors"
icon = 'items.dmi' icon = 'items.dmi'
icon_state = "crowbar" icon_state = "crowbar"
flags = FPRINT | TABLEPASS| CONDUCT flags = FPRINT | TABLEPASS| CONDUCT | ONBELT
force = 5.0 force = 5.0
throwforce = 7.0 throwforce = 7.0
item_state = "wrench" item_state = "wrench"
@@ -851,7 +851,7 @@
desc = "You can be totally screwwy with this." desc = "You can be totally screwwy with this."
icon = 'items.dmi' icon = 'items.dmi'
icon_state = "screwdriver" icon_state = "screwdriver"
flags = FPRINT | TABLEPASS| CONDUCT flags = FPRINT | TABLEPASS| CONDUCT | ONBELT
force = 5.0 force = 5.0
w_class = 1.0 w_class = 1.0
throwforce = 5.0 throwforce = 5.0

View File

@@ -409,6 +409,7 @@ var/list/obj/machinery/newscaster/allCasters = list() //list that will contain r
newChannel.channel_name = src.channel_name newChannel.channel_name = src.channel_name
newChannel.author = src.scanned_user newChannel.author = src.scanned_user
newChannel.locked = c_locked newChannel.locked = c_locked
feedback_inc("newscaster_channels",1)
for(var/obj/machinery/newscaster/NEWSCASTER in allCasters) //Let's add the new channel in all casters. for(var/obj/machinery/newscaster/NEWSCASTER in allCasters) //Let's add the new channel in all casters.
NEWSCASTER.channel_list += newChannel //Now that it is sane, get it into the list. NEWSCASTER.channel_list += newChannel //Now that it is sane, get it into the list.
src.screen=5 src.screen=5
@@ -437,7 +438,7 @@ var/list/obj/machinery/newscaster/allCasters = list() //list that will contain r
var/datum/feed_message/newMsg = new /datum/feed_message var/datum/feed_message/newMsg = new /datum/feed_message
newMsg.author = src.scanned_user newMsg.author = src.scanned_user
newMsg.body = src.msg newMsg.body = src.msg
//for(var/obj/machinery/newscaster/NEWSCASTER in allCasters) feedback_inc("newscaster_stories",1)
for(var/datum/feed_channel/FC in src.channel_list) for(var/datum/feed_channel/FC in src.channel_list)
if(FC.channel_name == src.channel_name) if(FC.channel_name == src.channel_name)
FC.messages += newMsg // To avoid further confusion, this one for adds the message to all existing newscasters' channel_list's channels. FC.messages += newMsg // To avoid further confusion, this one for adds the message to all existing newscasters' channel_list's channels.
@@ -818,6 +819,7 @@ obj/item/weapon/newspaper/attackby(obj/item/weapon/W as obj, mob/user as mob)
/obj/machinery/newscaster/proc/print_paper() /obj/machinery/newscaster/proc/print_paper()
feedback_inc("newscaster_newspapers_printed",1)
var/obj/item/weapon/newspaper/NEWSPAPER = new /obj/item/weapon/newspaper var/obj/item/weapon/newspaper/NEWSPAPER = new /obj/item/weapon/newspaper
for(var/datum/feed_channel/FC in src.channel_list) for(var/datum/feed_channel/FC in src.channel_list)
NEWSPAPER.news_content += FC NEWSPAPER.news_content += FC

View File

@@ -13,7 +13,7 @@ WELDINGTOOOL
desc = "A wrench with common uses. Can be found in your hand." desc = "A wrench with common uses. Can be found in your hand."
icon = 'items.dmi' icon = 'items.dmi'
icon_state = "wrench" icon_state = "wrench"
flags = FPRINT | TABLEPASS| CONDUCT flags = FPRINT | TABLEPASS| CONDUCT | ONBELT
force = 5.0 force = 5.0
throwforce = 7.0 throwforce = 7.0
w_class = 2.0 w_class = 2.0
@@ -44,7 +44,7 @@ WELDINGTOOOL
name = "Welding Tool" name = "Welding Tool"
icon = 'items.dmi' icon = 'items.dmi'
icon_state = "welder" icon_state = "welder"
flags = FPRINT | TABLEPASS| CONDUCT flags = FPRINT | TABLEPASS| CONDUCT | ONBELT
force = 3.0 force = 3.0
throwforce = 5.0 throwforce = 5.0
throw_speed = 1 throw_speed = 1
@@ -288,7 +288,7 @@ WELDINGTOOOL
desc = "This cuts wires." desc = "This cuts wires."
icon = 'items.dmi' icon = 'items.dmi'
icon_state = "cutters" icon_state = "cutters"
flags = FPRINT | TABLEPASS| CONDUCT flags = FPRINT | TABLEPASS| CONDUCT | ONBELT
force = 6.0 force = 6.0
throw_speed = 2 throw_speed = 2
throw_range = 9 throw_range = 9

View File

@@ -2252,6 +2252,7 @@ var/global/BSACooldown = 0
foo += text("<A href='?src=\ref[src];jobban2=\ref[M]'>Jobban</A>") foo += text("<A href='?src=\ref[src];jobban2=\ref[M]'>Jobban</A>")
dat += text("<body>[foo]</body></html>") dat += text("<body>[foo]</body></html>")
usr << browse(dat, "window=adminplayeropts;size=480x150") usr << browse(dat, "window=adminplayeropts;size=480x150")
feedback_add_details("admin_verb","SPP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -2513,6 +2514,7 @@ var/global/BSACooldown = 0
CM.client.vote = "none" CM.client.vote = "none"
else else
CM.client.vote = "default" CM.client.vote = "default"
feedback_add_details("admin_verb","SV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/votekill() /obj/admins/proc/votekill()
set category = "Server" set category = "Server"
@@ -2533,6 +2535,7 @@ var/global/BSACooldown = 0
if(M.client) if(M.client)
M << browse(null, "window=vote") M << browse(null, "window=vote")
M.client.showvote = 0 M.client.showvote = 0
feedback_add_details("admin_verb","AV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/voteres() /obj/admins/proc/voteres()
set category = "Server" set category = "Server"
@@ -2555,6 +2558,7 @@ var/global/BSACooldown = 0
if(config.allow_vote_mode) if(config.allow_vote_mode)
vote.nextvotetime = world.timeofday vote.nextvotetime = world.timeofday
feedback_add_details("admin_verb","TV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/restart() /obj/admins/proc/restart()
set category = "Server" set category = "Server"
@@ -2570,6 +2574,7 @@ var/global/BSACooldown = 0
log_admin("[key_name(usr)] initiated a reboot.") log_admin("[key_name(usr)] initiated a reboot.")
feedback_set_details("end_error","admin reboot - by [usr.key] [usr.client.stealth ? "(stealth)" : ""]") feedback_set_details("end_error","admin reboot - by [usr.key] [usr.client.stealth ? "(stealth)" : ""]")
feedback_add_details("admin_verb","R") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
if(blackbox) if(blackbox)
blackbox.save_all_data_to_sql() blackbox.save_all_data_to_sql()
@@ -2577,6 +2582,7 @@ var/global/BSACooldown = 0
sleep(50) sleep(50)
world.Reboot() world.Reboot()
/obj/admins/proc/announce() /obj/admins/proc/announce()
set category = "Special Verbs" set category = "Special Verbs"
set name = "Announce" set name = "Announce"
@@ -2587,6 +2593,7 @@ var/global/BSACooldown = 0
message = adminscrub(message,500) message = adminscrub(message,500)
world << "\blue <b>[usr.client.stealth ? "Administrator" : usr.key] Announces:</b>\n \t [message]" world << "\blue <b>[usr.client.stealth ? "Administrator" : usr.key] Announces:</b>\n \t [message]"
log_admin("Announce: [key_name(usr)] : [message]") log_admin("Announce: [key_name(usr)] : [message]")
feedback_add_details("admin_verb","A") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggleooc() /obj/admins/proc/toggleooc()
set category = "Server" set category = "Server"
@@ -2599,6 +2606,7 @@ var/global/BSACooldown = 0
world << "<B>The OOC channel has been globally disabled!</B>" world << "<B>The OOC channel has been globally disabled!</B>"
log_admin("[key_name(usr)] toggled OOC.") log_admin("[key_name(usr)] toggled OOC.")
message_admins("[key_name_admin(usr)] toggled OOC.", 1) message_admins("[key_name_admin(usr)] toggled OOC.", 1)
feedback_add_details("admin_verb","TOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggleoocdead() /obj/admins/proc/toggleoocdead()
set category = "Server" set category = "Server"
@@ -2608,6 +2616,7 @@ var/global/BSACooldown = 0
log_admin("[key_name(usr)] toggled OOC.") log_admin("[key_name(usr)] toggled OOC.")
message_admins("[key_name_admin(usr)] toggled Dead OOC.", 1) message_admins("[key_name_admin(usr)] toggled Dead OOC.", 1)
feedback_add_details("admin_verb","TDOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggletraitorscaling() /obj/admins/proc/toggletraitorscaling()
set category = "Server" set category = "Server"
@@ -2616,6 +2625,7 @@ var/global/BSACooldown = 0
traitor_scaling = !traitor_scaling traitor_scaling = !traitor_scaling
log_admin("[key_name(usr)] toggled Traitor Scaling to [traitor_scaling].") log_admin("[key_name(usr)] toggled Traitor Scaling to [traitor_scaling].")
message_admins("[key_name_admin(usr)] toggled Traitor Scaling [traitor_scaling ? "on" : "off"].", 1) message_admins("[key_name_admin(usr)] toggled Traitor Scaling [traitor_scaling ? "on" : "off"].", 1)
feedback_add_details("admin_verb","TTS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/startnow() /obj/admins/proc/startnow()
set category = "Server" set category = "Server"
@@ -2628,6 +2638,7 @@ var/global/BSACooldown = 0
ticker.current_state = GAME_STATE_SETTING_UP ticker.current_state = GAME_STATE_SETTING_UP
log_admin("[usr.key] has started the game.") log_admin("[usr.key] has started the game.")
message_admins("<font color='blue'>[usr.key] has started the game.</font>") message_admins("<font color='blue'>[usr.key] has started the game.</font>")
feedback_add_details("admin_verb","SN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return 1 return 1
else else
usr << "<font color='red'>Error: Start Now: Game has already started.</font>" usr << "<font color='red'>Error: Start Now: Game has already started.</font>"
@@ -2645,6 +2656,7 @@ var/global/BSACooldown = 0
log_admin("[key_name(usr)] toggled new player game entering.") log_admin("[key_name(usr)] toggled new player game entering.")
message_admins("\blue [key_name_admin(usr)] toggled new player game entering.", 1) message_admins("\blue [key_name_admin(usr)] toggled new player game entering.", 1)
world.update_status() world.update_status()
feedback_add_details("admin_verb","TE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggleAI() /obj/admins/proc/toggleAI()
set category = "Server" set category = "Server"
@@ -2657,6 +2669,7 @@ var/global/BSACooldown = 0
world << "<B>The AI job is chooseable now.</B>" world << "<B>The AI job is chooseable now.</B>"
log_admin("[key_name(usr)] toggled AI allowed.") log_admin("[key_name(usr)] toggled AI allowed.")
world.update_status() world.update_status()
feedback_add_details("admin_verb","TAI") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggleaban() /obj/admins/proc/toggleaban()
set category = "Server" set category = "Server"
@@ -2670,6 +2683,7 @@ var/global/BSACooldown = 0
message_admins("\blue [key_name_admin(usr)] toggled respawn to [abandon_allowed ? "On" : "Off"].", 1) message_admins("\blue [key_name_admin(usr)] toggled respawn to [abandon_allowed ? "On" : "Off"].", 1)
log_admin("[key_name(usr)] toggled respawn to [abandon_allowed ? "On" : "Off"].") log_admin("[key_name(usr)] toggled respawn to [abandon_allowed ? "On" : "Off"].")
world.update_status() world.update_status()
feedback_add_details("admin_verb","TR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggle_aliens() /obj/admins/proc/toggle_aliens()
set category = "Server" set category = "Server"
@@ -2678,6 +2692,7 @@ var/global/BSACooldown = 0
aliens_allowed = !aliens_allowed aliens_allowed = !aliens_allowed
log_admin("[key_name(usr)] toggled Aliens to [aliens_allowed].") log_admin("[key_name(usr)] toggled Aliens to [aliens_allowed].")
message_admins("[key_name_admin(usr)] toggled Aliens [aliens_allowed ? "on" : "off"].", 1) message_admins("[key_name_admin(usr)] toggled Aliens [aliens_allowed ? "on" : "off"].", 1)
feedback_add_details("admin_verb","TA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggle_space_ninja() /obj/admins/proc/toggle_space_ninja()
set category = "Server" set category = "Server"
@@ -2686,6 +2701,7 @@ var/global/BSACooldown = 0
toggle_space_ninja = !toggle_space_ninja toggle_space_ninja = !toggle_space_ninja
log_admin("[key_name(usr)] toggled Space Ninjas to [toggle_space_ninja].") log_admin("[key_name(usr)] toggled Space Ninjas to [toggle_space_ninja].")
message_admins("[key_name_admin(usr)] toggled Space Ninjas [toggle_space_ninja ? "on" : "off"].", 1) message_admins("[key_name_admin(usr)] toggled Space Ninjas [toggle_space_ninja ? "on" : "off"].", 1)
feedback_add_details("admin_verb","TSN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/delay() /obj/admins/proc/delay()
set category = "Server" set category = "Server"
@@ -2700,6 +2716,7 @@ var/global/BSACooldown = 0
else else
world << "<b>The game will start soon.</b>" world << "<b>The game will start soon.</b>"
log_admin("[key_name(usr)] removed the delay.") log_admin("[key_name(usr)] removed the delay.")
feedback_add_details("admin_verb","DELAY") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/adjump() /obj/admins/proc/adjump()
set category = "Server" set category = "Server"
@@ -2707,6 +2724,7 @@ var/global/BSACooldown = 0
set name="Toggle Jump" set name="Toggle Jump"
config.allow_admin_jump = !(config.allow_admin_jump) config.allow_admin_jump = !(config.allow_admin_jump)
message_admins("\blue Toggled admin jumping to [config.allow_admin_jump].") message_admins("\blue Toggled admin jumping to [config.allow_admin_jump].")
feedback_add_details("admin_verb","TJ") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/adspawn() /obj/admins/proc/adspawn()
set category = "Server" set category = "Server"
@@ -2714,6 +2732,7 @@ var/global/BSACooldown = 0
set name="Toggle Spawn" set name="Toggle Spawn"
config.allow_admin_spawning = !(config.allow_admin_spawning) config.allow_admin_spawning = !(config.allow_admin_spawning)
message_admins("\blue Toggled admin item spawning to [config.allow_admin_spawning].") message_admins("\blue Toggled admin item spawning to [config.allow_admin_spawning].")
feedback_add_details("admin_verb","TAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/adrev() /obj/admins/proc/adrev()
set category = "Server" set category = "Server"
@@ -2721,6 +2740,7 @@ var/global/BSACooldown = 0
set name="Toggle Revive" set name="Toggle Revive"
config.allow_admin_rev = !(config.allow_admin_rev) config.allow_admin_rev = !(config.allow_admin_rev)
message_admins("\blue Toggled reviving to [config.allow_admin_rev].") message_admins("\blue Toggled reviving to [config.allow_admin_rev].")
feedback_add_details("admin_verb","TAR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/immreboot() /obj/admins/proc/immreboot()
set category = "Server" set category = "Server"
@@ -2732,6 +2752,7 @@ var/global/BSACooldown = 0
log_admin("[key_name(usr)] initiated an immediate reboot.") log_admin("[key_name(usr)] initiated an immediate reboot.")
feedback_set_details("end_error","immediate admin reboot - by [usr.key] [usr.client.stealth ? "(stealth)" : ""]") feedback_set_details("end_error","immediate admin reboot - by [usr.key] [usr.client.stealth ? "(stealth)" : ""]")
feedback_add_details("admin_verb","IR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
if(blackbox) if(blackbox)
blackbox.save_all_data_to_sql() blackbox.save_all_data_to_sql()
@@ -2748,6 +2769,7 @@ var/global/BSACooldown = 0
else else
deadchat = 0 deadchat = 0
usr << "Deadchat turned off" usr << "Deadchat turned off"
feedback_add_details("admin_verb","TDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggleprayers() /client/proc/toggleprayers()
set category = "Admin" set category = "Admin"
@@ -2759,6 +2781,7 @@ var/global/BSACooldown = 0
else else
seeprayers = 0 seeprayers = 0
usr << "Prayer visibility turned off" usr << "Prayer visibility turned off"
feedback_add_details("admin_verb","TP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/unprison(var/mob/M in world) /obj/admins/proc/unprison(var/mob/M in world)
set category = "Admin" set category = "Admin"
@@ -2772,6 +2795,7 @@ var/global/BSACooldown = 0
alert("Admin jumping disabled") alert("Admin jumping disabled")
else else
alert("[M.name] is not prisoned.") alert("[M.name] is not prisoned.")
feedback_add_details("admin_verb","UP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
////////////////////////////////////////////////////////////////////////////////////////////////ADMIN HELPER PROCS ////////////////////////////////////////////////////////////////////////////////////////////////ADMIN HELPER PROCS
@@ -2869,6 +2893,7 @@ var/global/BSACooldown = 0
else else
alert("You cannot perform this action. You must be of a higher administrative rank!", null, null, null, null, null) alert("You cannot perform this action. You must be of a higher administrative rank!", null, null, null, null, null)
return return
feedback_add_details("admin_verb","SA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/show_traitor_panel(var/mob/M in world) /obj/admins/proc/show_traitor_panel(var/mob/M in world)
@@ -2880,6 +2905,7 @@ var/global/BSACooldown = 0
usr << "Sorry, this mob has no mind!" usr << "Sorry, this mob has no mind!"
return return
M.mind.edit_memory() M.mind.edit_memory()
feedback_add_details("admin_verb","STP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggletintedweldhelmets() /obj/admins/proc/toggletintedweldhelmets()
@@ -2893,6 +2919,7 @@ var/global/BSACooldown = 0
world << "<B>The tinted_weldhelh has been disabled!</B>" world << "<B>The tinted_weldhelh has been disabled!</B>"
log_admin("[key_name(usr)] toggled tinted_weldhelh.") log_admin("[key_name(usr)] toggled tinted_weldhelh.")
message_admins("[key_name_admin(usr)] toggled tinted_weldhelh.", 1) message_admins("[key_name_admin(usr)] toggled tinted_weldhelh.", 1)
feedback_add_details("admin_verb","TTWH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/admins/proc/toggleguests() /obj/admins/proc/toggleguests()
set category = "Server" set category = "Server"
@@ -2905,6 +2932,7 @@ var/global/BSACooldown = 0
world << "<B>Guests may now enter the game.</B>" world << "<B>Guests may now enter the game.</B>"
log_admin("[key_name(usr)] toggled guests game entering [guests_allowed?"":"dis"]allowed.") log_admin("[key_name(usr)] toggled guests game entering [guests_allowed?"":"dis"]allowed.")
message_admins("\blue [key_name_admin(usr)] toggled guests game entering [guests_allowed?"":"dis"]allowed.", 1) message_admins("\blue [key_name_admin(usr)] toggled guests game entering [guests_allowed?"":"dis"]allowed.", 1)
feedback_add_details("admin_verb","TGU") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -2925,6 +2953,7 @@ var/global/BSACooldown = 0
</html>"} </html>"}
usr << browse(output,"window=server_logfile") usr << browse(output,"window=server_logfile")
onclose(usr,"server_logfile") onclose(usr,"server_logfile")
feedback_add_details("admin_verb","VTL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/obj/admins/proc/view_atk_log() /obj/admins/proc/view_atk_log()
@@ -2944,6 +2973,7 @@ var/global/BSACooldown = 0
</html>"} </html>"}
usr << browse(output,"window=server_logfile") usr << browse(output,"window=server_logfile")
onclose(usr,"server_logfile") onclose(usr,"server_logfile")
feedback_add_details("admin_verb","SSAL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/unjobban_panel() /client/proc/unjobban_panel()
@@ -2951,6 +2981,7 @@ var/global/BSACooldown = 0
set category = "Admin" set category = "Admin"
if (src.holder) if (src.holder)
src.holder.unjobbanpanel() src.holder.unjobbanpanel()
feedback_add_details("admin_verb","UJBP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return

View File

@@ -433,6 +433,7 @@
if(!istype(mob, /mob/dead/observer)) if(!istype(mob, /mob/dead/observer))
mob.adminghostize(1) mob.adminghostize(1)
src << "\blue You are now observing" src << "\blue You are now observing"
feedback_add_details("admin_verb","O") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/admin_play() /client/proc/admin_play()
set category = "Admin" set category = "Admin"
@@ -450,6 +451,7 @@
if(istype(mob, /mob/dead/observer)) if(istype(mob, /mob/dead/observer))
mob:reenter_corpse() mob:reenter_corpse()
src << "\blue You are now playing" src << "\blue You are now playing"
feedback_add_details("admin_verb","P") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/get_admin_state() /client/proc/get_admin_state()
set name = "Get Admin State" set name = "Get Admin State"
@@ -462,6 +464,7 @@
src << "[M.key] is observing - [M.client.holder.state]" src << "[M.key] is observing - [M.client.holder.state]"
else else
src << "[M.key] is undefined - [M.client.holder.state]" src << "[M.key] is undefined - [M.client.holder.state]"
feedback_add_details("admin_verb","GAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/player_panel() /client/proc/player_panel()
@@ -469,6 +472,7 @@
set category = "Admin" set category = "Admin"
if(holder) if(holder)
holder.player_panel_old() holder.player_panel_old()
feedback_add_details("admin_verb","PP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/player_panel_new() /client/proc/player_panel_new()
@@ -476,6 +480,7 @@
set category = "Admin" set category = "Admin"
if(holder) if(holder)
holder.player_panel_new() holder.player_panel_new()
feedback_add_details("admin_verb","PPN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/jobbans() /client/proc/jobbans()
@@ -483,6 +488,7 @@
set category = "Admin" set category = "Admin"
if(holder) if(holder)
holder.Jobbans() holder.Jobbans()
feedback_add_details("admin_verb","VJB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/unban_panel() /client/proc/unban_panel()
@@ -490,6 +496,7 @@
set category = "Admin" set category = "Admin"
if(holder) if(holder)
holder.unbanpanel() holder.unbanpanel()
feedback_add_details("admin_verb","UBP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/game_panel() /client/proc/game_panel()
@@ -497,6 +504,7 @@
set category = "Admin" set category = "Admin"
if(holder) if(holder)
holder.Game() holder.Game()
feedback_add_details("admin_verb","GP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/secrets() /client/proc/secrets()
@@ -504,6 +512,7 @@
set category = "Admin" set category = "Admin"
if (holder) if (holder)
holder.Secrets() holder.Secrets()
feedback_add_details("admin_verb","S") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/voting() /client/proc/voting()
@@ -511,11 +520,13 @@
set category = "Admin" set category = "Admin"
if (holder) if (holder)
holder.Voting() holder.Voting()
feedback_add_details("admin_verb","VO") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/colorooc() /client/proc/colorooc()
set category = "Fun" set category = "Fun"
set name = "OOC Text Color" set name = "OOC Text Color"
ooccolor = input(src, "Please select your OOC colour.", "OOC colour") as color ooccolor = input(src, "Please select your OOC colour.", "OOC colour") as color
feedback_add_details("admin_verb","OC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/stealth() /client/proc/stealth()
@@ -538,6 +549,7 @@
fakekey = null fakekey = null
log_admin("[key_name(usr)] has turned stealth mode [stealth ? "ON" : "OFF"]") log_admin("[key_name(usr)] has turned stealth mode [stealth ? "ON" : "OFF"]")
message_admins("[key_name_admin(usr)] has turned stealth mode [stealth ? "ON" : "OFF"]", 1) message_admins("[key_name_admin(usr)] has turned stealth mode [stealth ? "ON" : "OFF"]", 1)
feedback_add_details("admin_verb","SM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
#define AUTOBATIME 10 #define AUTOBATIME 10
/client/proc/warn(var/mob/M in world) /client/proc/warn(var/mob/M in world)
@@ -564,6 +576,7 @@
feedback_inc("ban_warn",1) feedback_inc("ban_warn",1)
del(M.client) del(M.client)
feedback_add_details("admin_verb","WARN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/drop_bomb() // Some admin dickery that can probably be done better -- TLE /client/proc/drop_bomb() // Some admin dickery that can probably be done better -- TLE
@@ -590,6 +603,7 @@
var/flash_range = input("Flash range (in tiles):") as num var/flash_range = input("Flash range (in tiles):") as num
explosion(epicenter, devastation_range, heavy_impact_range, light_impact_range, flash_range) explosion(epicenter, devastation_range, heavy_impact_range, light_impact_range, flash_range)
message_admins("\blue [ckey] creating an admin explosion at [epicenter.loc].") message_admins("\blue [ckey] creating an admin explosion at [epicenter.loc].")
feedback_add_details("admin_verb","DB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/give_spell(mob/T as mob in world) // -- Urist /client/proc/give_spell(mob/T as mob in world) // -- Urist
set category = "Fun" set category = "Fun"
@@ -598,6 +612,7 @@
var/obj/effect/proc_holder/spell/S = input("Choose the spell to give to that guy", "ABRAKADABRA") as null|anything in spells var/obj/effect/proc_holder/spell/S = input("Choose the spell to give to that guy", "ABRAKADABRA") as null|anything in spells
if(!S) return if(!S) return
T.spell_list += new S T.spell_list += new S
feedback_add_details("admin_verb","GS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/make_sound(var/obj/O in world) // -- TLE /client/proc/make_sound(var/obj/O in world) // -- TLE
set category = "Special Verbs" set category = "Special Verbs"
@@ -609,6 +624,7 @@
return return
for (var/mob/V in hearers(O)) for (var/mob/V in hearers(O))
V.show_message(message, 2) V.show_message(message, 2)
feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/togglebuildmodeself() /client/proc/togglebuildmodeself()
@@ -616,6 +632,7 @@
set category = "Special Verbs" set category = "Special Verbs"
if(src.mob) if(src.mob)
togglebuildmode(src.mob) togglebuildmode(src.mob)
feedback_add_details("admin_verb","TBMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggleadminhelpsound() /client/proc/toggleadminhelpsound()
@@ -626,6 +643,7 @@
usr << "You will now hear a sound when adminhelps arrive" usr << "You will now hear a sound when adminhelps arrive"
else else
usr << "You will no longer hear a sound when adminhelps arrive" usr << "You will no longer hear a sound when adminhelps arrive"
feedback_add_details("admin_verb","AHS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/object_talk(var/msg as text) // -- TLE /client/proc/object_talk(var/msg as text) // -- TLE
set category = "Special Verbs" set category = "Special Verbs"
@@ -636,6 +654,7 @@
return return
for (var/mob/V in hearers(mob.control_object)) for (var/mob/V in hearers(mob.control_object))
V.show_message("<b>[mob.control_object.name]</b> says: \"" + msg + "\"", 2) V.show_message("<b>[mob.control_object.name]</b> says: \"" + msg + "\"", 2)
feedback_add_details("admin_verb","OT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/kill_air() // -- TLE /client/proc/kill_air() // -- TLE
set category = "Debug" set category = "Debug"
@@ -647,6 +666,7 @@
else else
kill_air = 1 kill_air = 1
usr << "<b>Disabled air processing.</b>" usr << "<b>Disabled air processing.</b>"
feedback_add_details("admin_verb","KA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/show_verbs() /client/proc/show_verbs()
set name = "Toggle admin verb visibility" set name = "Toggle admin verb visibility"
@@ -657,6 +677,7 @@
clear_admin_verbs() clear_admin_verbs()
update_admins(holder.rank) update_admins(holder.rank)
deadchat = temp deadchat = temp
feedback_add_details("admin_verb","TAVVS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggle_clickproc() //TODO ERRORAGE (This is a temporary verb here while I test the new clicking proc) /client/proc/toggle_clickproc() //TODO ERRORAGE (This is a temporary verb here while I test the new clicking proc)
set name = "Toggle NewClickProc" set name = "Toggle NewClickProc"
@@ -665,6 +686,7 @@
if(!holder) return if(!holder) return
using_new_click_proc = !using_new_click_proc using_new_click_proc = !using_new_click_proc
world << "Testing of new click proc [using_new_click_proc ? "enabled" : "disabled"]" world << "Testing of new click proc [using_new_click_proc ? "enabled" : "disabled"]"
feedback_add_details("admin_verb","TNCP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggle_hear_deadcast() /client/proc/toggle_hear_deadcast()
set name = "Toggle Hear Deadcast" set name = "Toggle Hear Deadcast"
@@ -673,6 +695,7 @@
if(!holder) return if(!holder) return
STFU_ghosts = !STFU_ghosts STFU_ghosts = !STFU_ghosts
usr << "You will now [STFU_ghosts ? "not hear" : "hear"] ghosts" usr << "You will now [STFU_ghosts ? "not hear" : "hear"] ghosts"
feedback_add_details("admin_verb","THDC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggle_hear_radio() /client/proc/toggle_hear_radio()
set name = "Toggle Hear Radio" set name = "Toggle Hear Radio"
@@ -681,6 +704,7 @@
if(!holder) return if(!holder) return
STFU_radio = !STFU_radio STFU_radio = !STFU_radio
usr << "You will now [STFU_radio ? "not hear" : "hear"] radio chatter from nearby radios or speakers" usr << "You will now [STFU_radio ? "not hear" : "hear"] radio chatter from nearby radios or speakers"
feedback_add_details("admin_verb","THR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/deadmin_self() /client/proc/deadmin_self()
set name = "De-admin self" set name = "De-admin self"
@@ -695,6 +719,7 @@
src.update_admins(null) src.update_admins(null)
admins.Remove(src.ckey) admins.Remove(src.ckey)
usr << "You are now a normal player." usr << "You are now a normal player."
feedback_add_details("admin_verb","DAS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs /client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs
@@ -733,6 +758,7 @@
verbs += /obj/admins/proc/toggleooc //toggle ooc verbs += /obj/admins/proc/toggleooc //toggle ooc
verbs += /client/proc/cmd_admin_say//asay verbs += /client/proc/cmd_admin_say//asay
verbs += /client/proc/toggleadminhelpsound verbs += /client/proc/toggleadminhelpsound
feedback_add_details("admin_verb","HMV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
@@ -751,4 +777,5 @@
verbs += /client/proc/deadchat //toggles deadchat verbs += /client/proc/deadchat //toggles deadchat
verbs += /obj/admins/proc/toggleooc //toggle ooc verbs += /obj/admins/proc/toggleooc //toggle ooc
verbs += /client/proc/cmd_admin_say//asay verbs += /client/proc/cmd_admin_say//asay
feedback_add_details("admin_verb","TAVVH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return

View File

@@ -7,6 +7,7 @@
master_controller.process() master_controller.process()
if("No") if("No")
return 0 return 0
feedback_add_details("admin_verb","RMC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/debug_master_controller() /client/proc/debug_master_controller()
@@ -17,4 +18,5 @@
debug_variables(master_controller) debug_variables(master_controller)
if("Failsafe") if("Failsafe")
debug_variables(Failsafe) debug_variables(Failsafe)
feedback_add_details("admin_verb","DMC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return

View File

@@ -21,6 +21,7 @@
if(tension_master) if(tension_master)
tension_master.new_adminhelp() tension_master.new_adminhelp()
send2irc(ckey, msg) send2irc(ckey, msg)
feedback_add_details("admin_verb","AH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
proc/send2irc(msg,msg2) proc/send2irc(msg,msg2)

View File

@@ -11,6 +11,7 @@
log_admin("[key_name(usr)] jumped to [A]") log_admin("[key_name(usr)] jumped to [A]")
message_admins("[key_name_admin(usr)] jumped to [A]", 1) message_admins("[key_name_admin(usr)] jumped to [A]", 1)
feedback_add_details("admin_verb","JA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else else
alert("Admin jumping disabled") alert("Admin jumping disabled")
@@ -24,6 +25,7 @@
log_admin("[key_name(usr)] jumped to [T.x],[T.y],[T.z] in [T.loc]") log_admin("[key_name(usr)] jumped to [T.x],[T.y],[T.z] in [T.loc]")
message_admins("[key_name_admin(usr)] jumped to [T.x],[T.y],[T.z] in [T.loc]", 1) message_admins("[key_name_admin(usr)] jumped to [T.x],[T.y],[T.z] in [T.loc]", 1)
usr.loc = T usr.loc = T
feedback_add_details("admin_verb","JT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else else
alert("Admin jumping disabled") alert("Admin jumping disabled")
return return
@@ -43,6 +45,7 @@
var/mob/A = src.mob var/mob/A = src.mob
var/turf/T = get_turf(M) var/turf/T = get_turf(M)
if(T && isturf(T)) if(T && isturf(T))
feedback_add_details("admin_verb","JM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
A.loc = T A.loc = T
else else
A << "This mob is not located in the game world." A << "This mob is not located in the game world."
@@ -63,6 +66,7 @@
A.x = tx A.x = tx
A.y = ty A.y = ty
A.z = tz A.z = tz
feedback_add_details("admin_verb","JC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
message_admins("[key_name_admin(usr)] jumped to coordinates [tx], [ty], [tz]") message_admins("[key_name_admin(usr)] jumped to coordinates [tx], [ty], [tz]")
else else
@@ -87,6 +91,7 @@
log_admin("[key_name(usr)] jumped to [key_name(M)]") log_admin("[key_name(usr)] jumped to [key_name(M)]")
message_admins("[key_name_admin(usr)] jumped to [key_name_admin(M)]", 1) message_admins("[key_name_admin(usr)] jumped to [key_name_admin(M)]", 1)
usr.loc = M.loc usr.loc = M.loc
feedback_add_details("admin_verb","JK") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else else
alert("Admin jumping disabled") alert("Admin jumping disabled")
@@ -101,6 +106,7 @@
log_admin("[key_name(usr)] teleported [key_name(M)]") log_admin("[key_name(usr)] teleported [key_name(M)]")
message_admins("[key_name_admin(usr)] teleported [key_name_admin(M)]", 1) message_admins("[key_name_admin(usr)] teleported [key_name_admin(M)]", 1)
M.loc = get_turf(usr) M.loc = get_turf(usr)
feedback_add_details("admin_verb","GM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else else
alert("Admin jumping disabled") alert("Admin jumping disabled")
@@ -128,6 +134,7 @@
message_admins("[key_name_admin(usr)] teleported [key_name(M)]", 1) message_admins("[key_name_admin(usr)] teleported [key_name(M)]", 1)
if(M) if(M)
M.loc = get_turf(usr) M.loc = get_turf(usr)
feedback_add_details("admin_verb","GK") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else else
alert("Admin jumping disabled") alert("Admin jumping disabled")
@@ -139,6 +146,7 @@
return return
if(config.allow_admin_jump) if(config.allow_admin_jump)
M.loc = pick(get_area_turfs(A)) M.loc = pick(get_area_turfs(A))
feedback_add_details("admin_verb","SMOB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
log_admin("[key_name(usr)] teleported [key_name(M)] to [A]") log_admin("[key_name(usr)] teleported [key_name(M)] to [A]")
message_admins("[key_name_admin(usr)] teleported [key_name_admin(M)] to [A]", 1) message_admins("[key_name_admin(usr)] teleported [key_name_admin(M)] to [A]", 1)

View File

@@ -7,6 +7,7 @@
return return
if( !ismob(M) || !M.client ) return if( !ismob(M) || !M.client ) return
cmd_admin_pm(M.client,null) cmd_admin_pm(M.client,null)
feedback_add_details("admin_verb","APMM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
//shows a list of clients we could send PMs to, then forwards our choice to cmd_admin_pm //shows a list of clients we could send PMs to, then forwards our choice to cmd_admin_pm
/client/proc/cmd_admin_pm_panel() /client/proc/cmd_admin_pm_panel()
@@ -29,6 +30,7 @@
var/list/sorted = sortList(targets) var/list/sorted = sortList(targets)
var/target = input(src,"To whom shall we send a message?","Admin PM",null) in sorted|null var/target = input(src,"To whom shall we send a message?","Admin PM",null) in sorted|null
cmd_admin_pm(targets[target],null) cmd_admin_pm(targets[target],null)
feedback_add_details("admin_verb","APM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
//takes input from cmd_admin_pm_context, cmd_admin_pm_panel or /client/Topic and sends them a PM. //takes input from cmd_admin_pm_context, cmd_admin_pm_panel or /client/Topic and sends them a PM.

View File

@@ -17,6 +17,7 @@
if (!msg) if (!msg)
return return
feedback_add_details("admin_verb","M") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
for (var/mob/M in world) for (var/mob/M in world)
if (M.client && M.client.holder) if (M.client && M.client.holder)

View File

@@ -4,6 +4,7 @@
if(!src.holder) if(!src.holder)
src << "Only administrators may use this command." src << "Only administrators may use this command."
return return
feedback_add_details("admin_verb","CP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
for (var/obj/machinery/atmospherics/plumbing in world) for (var/obj/machinery/atmospherics/plumbing in world)
if (plumbing.nodealert) if (plumbing.nodealert)

View File

@@ -23,4 +23,6 @@
if (istype(M, /mob/new_player)) if (istype(M, /mob/new_player))
continue continue
if (M.stat == 2 || (M.client && M.client.holder && M.client.deadchat)) //admins can toggle deadchat on and off. This is a proc in admin.dm and is only give to Administrators and above if (M.stat == 2 || (M.client && M.client.holder && M.client.deadchat)) //admins can toggle deadchat on and off. This is a proc in admin.dm and is only give to Administrators and above
M.show_message(rendered, 2) M.show_message(rendered, 2)
feedback_add_details("admin_verb","D") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

View File

@@ -17,6 +17,7 @@
else else
alert("Coders only baby") alert("Coders only baby")
return return
feedback_add_details("admin_verb","DG2") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -116,6 +117,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
log_admin("[key_name(src)] called [procname]() with [lst.len ? "the arguments [list2params(lst)]":"no arguments"].") log_admin("[key_name(src)] called [procname]() with [lst.len ? "the arguments [list2params(lst)]":"no arguments"].")
returnval = call(procname)(arglist(lst)) // Pass the lst as an argument list to the proc returnval = call(procname)(arglist(lst)) // Pass the lst as an argument list to the proc
usr << "\blue Proc returned: [returnval ? returnval : "null"]" usr << "\blue Proc returned: [returnval ? returnval : "null"]"
feedback_add_details("admin_verb","APC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/Cell() /client/proc/Cell()
set category = "Debug" set category = "Debug"
@@ -136,6 +138,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
t+= "CO2: [env.carbon_dioxide]\n" t+= "CO2: [env.carbon_dioxide]\n"
usr.show_message(t, 1) usr.show_message(t, 1)
feedback_add_details("admin_verb","ASL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_robotize(var/mob/M in world) /client/proc/cmd_admin_robotize(var/mob/M in world)
set category = "Fun" set category = "Fun"
@@ -177,6 +180,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
for(var/datum/paiCandidate/candidate in paiController.pai_candidates) for(var/datum/paiCandidate/candidate in paiController.pai_candidates)
if(candidate.key == choice.key) if(candidate.key == choice.key)
paiController.pai_candidates.Remove(candidate) paiController.pai_candidates.Remove(candidate)
feedback_add_details("admin_verb","MPAI") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_alienize(var/mob/M in world) /client/proc/cmd_admin_alienize(var/mob/M in world)
set category = "Fun" set category = "Fun"
@@ -189,6 +193,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
log_admin("[key_name(src)] has alienized [M.key].") log_admin("[key_name(src)] has alienized [M.key].")
spawn(10) spawn(10)
M:Alienize() M:Alienize()
feedback_add_details("admin_verb","MKAL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else else
alert("Invalid mob") alert("Invalid mob")
@@ -203,6 +208,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
log_admin("[key_name(src)] has metroidized [M.key].") log_admin("[key_name(src)] has metroidized [M.key].")
spawn(10) spawn(10)
M:Metroidize() M:Metroidize()
feedback_add_details("admin_verb","MKMET") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else else
alert("Invalid mob") alert("Invalid mob")
@@ -310,6 +316,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
del(O) del(O)
log_admin("[key_name(src)] has deleted all instances of [hsbitem].") log_admin("[key_name(src)] has deleted all instances of [hsbitem].")
message_admins("[key_name_admin(src)] has deleted all instances of [hsbitem].", 0) message_admins("[key_name_admin(src)] has deleted all instances of [hsbitem].", 0)
feedback_add_details("admin_verb","DELA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_debug_make_powernets() /client/proc/cmd_debug_make_powernets()
set category = "Debug" set category = "Debug"
@@ -317,6 +324,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
makepowernets() makepowernets()
log_admin("[key_name(src)] has remade the powernet. makepowernets() called.") log_admin("[key_name(src)] has remade the powernet. makepowernets() called.")
message_admins("[key_name_admin(src)] has remade the powernets. makepowernets() called.", 0) message_admins("[key_name_admin(src)] has remade the powernets. makepowernets() called.", 0)
feedback_add_details("admin_verb","MPWN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_debug_tog_aliens() /client/proc/cmd_debug_tog_aliens()
set category = "Server" set category = "Server"
@@ -325,6 +333,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
aliens_allowed = !aliens_allowed aliens_allowed = !aliens_allowed
log_admin("[key_name(src)] has turned aliens [aliens_allowed ? "on" : "off"].") log_admin("[key_name(src)] has turned aliens [aliens_allowed ? "on" : "off"].")
message_admins("[key_name_admin(src)] has turned aliens [aliens_allowed ? "on" : "off"].", 0) message_admins("[key_name_admin(src)] has turned aliens [aliens_allowed ? "on" : "off"].", 0)
feedback_add_details("admin_verb","TAL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_grantfullaccess(var/mob/M in world) /client/proc/cmd_admin_grantfullaccess(var/mob/M in world)
set category = "Admin" set category = "Admin"
@@ -355,6 +364,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
H.update_clothing() H.update_clothing()
else else
alert("Invalid mob") alert("Invalid mob")
feedback_add_details("admin_verb","GFA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_assume_direct_control(var/mob/M in world) /client/proc/cmd_assume_direct_control(var/mob/M in world)
set category = "Admin" set category = "Admin"
@@ -371,6 +381,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
M.ckey = src.ckey; M.ckey = src.ckey;
if( isobserver(adminmob) ) if( isobserver(adminmob) )
del(adminmob) del(adminmob)
feedback_add_details("admin_verb","ADC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -384,6 +395,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
GLOBAL_RADIO_TYPE = !GLOBAL_RADIO_TYPE // toggle GLOBAL_RADIO_TYPE = !GLOBAL_RADIO_TYPE // toggle
log_admin("[key_name(src)] has turned the experimental radio system [GLOBAL_RADIO_TYPE ? "on" : "off"].") log_admin("[key_name(src)] has turned the experimental radio system [GLOBAL_RADIO_TYPE ? "on" : "off"].")
message_admins("[key_name_admin(src)] has turned the experimental radio system [GLOBAL_RADIO_TYPE ? "on" : "off"].", 0) message_admins("[key_name_admin(src)] has turned the experimental radio system [GLOBAL_RADIO_TYPE ? "on" : "off"].", 0)
feedback_add_details("admin_verb","SRM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_dress(var/mob/living/carbon/human/M in world) /client/proc/cmd_admin_dress(var/mob/living/carbon/human/M in world)
@@ -419,6 +431,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
var/dresscode = input("Select dress for [M]", "Robust quick dress shop") as null|anything in dresspacks var/dresscode = input("Select dress for [M]", "Robust quick dress shop") as null|anything in dresspacks
if (isnull(dresscode)) if (isnull(dresscode))
return return
feedback_add_details("admin_verb","SEQ") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
for (var/obj/item/I in M) for (var/obj/item/I in M)
if (istype(I, /obj/item/weapon/implant)) if (istype(I, /obj/item/weapon/implant))
continue continue

View File

@@ -20,6 +20,7 @@
"} "}
usr << browse(output,"window=generalreport") usr << browse(output,"window=generalreport")
feedback_add_details("admin_verb","SGR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
air_report() air_report()
set category = "Debug" set category = "Debug"
@@ -62,6 +63,7 @@
"} "}
usr << browse(output,"window=airreport") usr << browse(output,"window=airreport")
feedback_add_details("admin_verb","SAR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
air_status(turf/target as turf) air_status(turf/target as turf)
set category = "Debug" set category = "Debug"
@@ -80,6 +82,7 @@
usr << "\blue @[target.x],[target.y] ([GM.group_multiplier]): O:[GM.oxygen] T:[GM.toxins] N:[GM.nitrogen] C:[GM.carbon_dioxide] w [GM.temperature] Kelvin, [GM.return_pressure()] kPa [(burning)?("\red BURNING"):(null)]" usr << "\blue @[target.x],[target.y] ([GM.group_multiplier]): O:[GM.oxygen] T:[GM.toxins] N:[GM.nitrogen] C:[GM.carbon_dioxide] w [GM.temperature] Kelvin, [GM.return_pressure()] kPa [(burning)?("\red BURNING"):(null)]"
for(var/datum/gas/trace_gas in GM.trace_gases) for(var/datum/gas/trace_gas in GM.trace_gases)
usr << "[trace_gas.type]: [trace_gas.moles]" usr << "[trace_gas.type]: [trace_gas.moles]"
feedback_add_details("admin_verb","DAST") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
fix_next_move() fix_next_move()
set category = "Debug" set category = "Debug"
@@ -109,6 +112,7 @@
message_admins("[key_name_admin(largest_move_mob)] had the largest move delay with [largest_move_time] frames / [largest_move_time/10] seconds!", 1) message_admins("[key_name_admin(largest_move_mob)] had the largest move delay with [largest_move_time] frames / [largest_move_time/10] seconds!", 1)
message_admins("[key_name_admin(largest_click_mob)] had the largest click delay with [largest_click_time] frames / [largest_click_time/10] seconds!", 1) message_admins("[key_name_admin(largest_click_mob)] had the largest click delay with [largest_click_time] frames / [largest_click_time/10] seconds!", 1)
message_admins("world.time = [world.time]", 1) message_admins("world.time = [world.time]", 1)
feedback_add_details("admin_verb","UFE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
radio_report() radio_report()
@@ -146,6 +150,7 @@
output += "&nbsp;&nbsp;&nbsp;&nbsp;[device]<br>" output += "&nbsp;&nbsp;&nbsp;&nbsp;[device]<br>"
usr << browse(output,"window=radioreport") usr << browse(output,"window=radioreport")
feedback_add_details("admin_verb","RR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
reload_admins() reload_admins()
set name = "Reload Admins" set name = "Reload Admins"
@@ -175,6 +180,7 @@
var/a_lev = copytext(line, pos + 3, length(line) + 1) var/a_lev = copytext(line, pos + 3, length(line) + 1)
admins[m_key] = a_lev admins[m_key] = a_lev
diary << ("ADMIN: [m_key] = [a_lev]") diary << ("ADMIN: [m_key] = [a_lev]")
feedback_add_details("admin_verb","RLDA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
jump_to_dead_group() jump_to_dead_group()
@@ -193,6 +199,7 @@
dead_groups += group dead_groups += group
var/datum/air_group/dest_group = pick(dead_groups) var/datum/air_group/dest_group = pick(dead_groups)
usr.loc = pick(dest_group.members) usr.loc = pick(dest_group.members)
feedback_add_details("admin_verb","JDAG") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
kill_airgroup() kill_airgroup()
@@ -214,6 +221,7 @@
AG.group_processing = 0 AG.group_processing = 0
else else
usr << "Local airgroup is unsimulated!" usr << "Local airgroup is unsimulated!"
feedback_add_details("admin_verb","KLAG") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
tension_report() tension_report()
@@ -271,3 +279,4 @@
for(var/game in tension_master.antagonistmodes) for(var/game in tension_master.antagonistmodes)
output += "<font size = 2>Points required/Probability for [game]: [tension_master.antagonistmodes[game]]<br></font>" output += "<font size = 2>Points required/Probability for [game]: [tension_master.antagonistmodes[game]]<br></font>"
usr << browse(output,"window=tensionreport;size=480x480") usr << browse(output,"window=tensionreport;size=480x480")
feedback_add_details("admin_verb","STR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

View File

@@ -59,6 +59,7 @@ var/intercom_range_display_status = 0
if(camera_range_display_status) if(camera_range_display_status)
for(var/obj/machinery/camera/C in world) for(var/obj/machinery/camera/C in world)
new/obj/effect/debugging/camera_range(C.loc) new/obj/effect/debugging/camera_range(C.loc)
feedback_add_details("admin_verb","mCRD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -100,6 +101,7 @@ var/intercom_range_display_status = 0
output += "</ul>" output += "</ul>"
usr << browse(output,"window=airreport;size=1000x500") usr << browse(output,"window=airreport;size=1000x500")
feedback_add_details("admin_verb","mCRP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
intercom_view() intercom_view()
set category = "Mapping" set category = "Mapping"
@@ -119,6 +121,7 @@ var/intercom_range_display_status = 0
var/obj/effect/debugging/marker/F = new/obj/effect/debugging/marker(T) var/obj/effect/debugging/marker/F = new/obj/effect/debugging/marker(T)
if (!(F in view(7,I.loc))) if (!(F in view(7,I.loc)))
del(F) del(F)
feedback_add_details("admin_verb","mIRD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
enable_debug_verbs() enable_debug_verbs()
set category = "Debug" set category = "Debug"
@@ -135,6 +138,7 @@ var/intercom_range_display_status = 0
src.verbs += /client/proc/cmd_assume_direct_control //-errorage src.verbs += /client/proc/cmd_assume_direct_control //-errorage
src.verbs += /client/proc/jump_to_dead_group src.verbs += /client/proc/jump_to_dead_group
src.verbs += /client/proc/startSinglo src.verbs += /client/proc/startSinglo
feedback_add_details("admin_verb","mDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
count_objects_on_z_level() count_objects_on_z_level()
set category = "Mapping" set category = "Mapping"
@@ -177,6 +181,7 @@ var/intercom_range_display_status = 0
world << line*/ world << line*/
world << "There are [count] objects of type [type_path] on z-level [num_level]" world << "There are [count] objects of type [type_path] on z-level [num_level]"
feedback_add_details("admin_verb","mOBJZ") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
count_objects_all() count_objects_all()
set category = "Mapping" set category = "Mapping"
@@ -202,4 +207,5 @@ var/intercom_range_display_status = 0
line += " no.[i+10+j]@\[[temp_atom.x], [temp_atom.y], [temp_atom.z]\]; " line += " no.[i+10+j]@\[[temp_atom.x], [temp_atom.y], [temp_atom.z]\]; "
world << line*/ world << line*/
world << "There are [count] objects of type [type_path] in the game world" world << "There are [count] objects of type [type_path] in the game world"
feedback_add_details("admin_verb","mOBJ") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

View File

@@ -18,6 +18,7 @@
return return
src.massmodify_variables(A, var_name, method) src.massmodify_variables(A, var_name, method)
feedback_add_details("admin_verb","MEV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/massmodify_variables(var/atom/O, var/var_name = "", var/method = 0) /client/proc/massmodify_variables(var/atom/O, var/var_name = "", var/method = 0)

View File

@@ -9,6 +9,7 @@ var/list/forbidden_varedit_object_types = list(
set name = "Edit Variables" set name = "Edit Variables"
set desc="(target) Edit a target item's variables" set desc="(target) Edit a target item's variables"
src.modify_variables(O) src.modify_variables(O)
feedback_add_details("admin_verb","EDITV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_modify_ticker_variables() /client/proc/cmd_modify_ticker_variables()
set category = "Debug" set category = "Debug"
@@ -18,6 +19,7 @@ var/list/forbidden_varedit_object_types = list(
src << "Game hasn't started yet." src << "Game hasn't started yet."
else else
src.modify_variables(ticker) src.modify_variables(ticker)
feedback_add_details("admin_verb","ETV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/mod_list_add_ass() //haha /client/proc/mod_list_add_ass() //haha

View File

@@ -8,6 +8,7 @@
if(alert("BEGIN THE TOURNAMENT?",,"Yes","No")=="No") if(alert("BEGIN THE TOURNAMENT?",,"Yes","No")=="No")
return return
feedback_add_details("admin_verb","TCBOO") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
for(var/mob/living/carbon/human/H in world) for(var/mob/living/carbon/human/H in world)
if(H.stat == 2 || !(H.client)) continue if(H.stat == 2 || !(H.client)) continue
if(is_special_character(H)) continue if(is_special_character(H)) continue

View File

@@ -31,6 +31,7 @@
else else
usr << "You already used up your jukebox monies this round!" usr << "You already used up your jukebox monies this round!"
del(uploaded_sound) del(uploaded_sound)
feedback_add_details("admin_verb","PGS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/play_local_sound(S as sound) /client/proc/play_local_sound(S as sound)
@@ -46,6 +47,7 @@
message_admins("[key_name_admin(src)] played a local sound [S]", 1) message_admins("[key_name_admin(src)] played a local sound [S]", 1)
playsound(get_turf_loc(src.mob), S, 50, 0, 0) playsound(get_turf_loc(src.mob), S, 50, 0, 0)
return return
feedback_add_details("admin_verb","PLS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/* /*

View File

@@ -24,6 +24,7 @@
usr.name = O.name usr.name = O.name
usr.client.eye = O usr.client.eye = O
usr.control_object = O usr.control_object = O
feedback_add_details("admin_verb","PO") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/proc/release(obj/O as obj in world) /proc/release(obj/O as obj in world)
set name = "Release Obj" set name = "Release Obj"
@@ -38,10 +39,12 @@
usr.loc = O.loc // Appear where the object you were controlling is -- TLE usr.loc = O.loc // Appear where the object you were controlling is -- TLE
usr.client.eye = usr usr.client.eye = usr
usr.control_object = null usr.control_object = null
feedback_add_details("admin_verb","RO") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/proc/givetestverbs(mob/M as mob in world) /proc/givetestverbs(mob/M as mob in world)
set desc = "Give this guy possess/release verbs" set desc = "Give this guy possess/release verbs"
set category = "Debug" set category = "Debug"
set name = "Give Possessing Verbs" set name = "Give Possessing Verbs"
M.verbs += /proc/possess M.verbs += /proc/possess
M.verbs += /proc/release M.verbs += /proc/release
feedback_add_details("admin_verb","GPV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

View File

@@ -17,6 +17,7 @@
M << "\blue \icon[cross] <b><font color=purple>PRAY: </font>[key_name(src, M)] (<A HREF='?src=\ref[M.client.holder];adminplayeropts=\ref[src]'>PP</A>) (<A HREF='?src=\ref[M.client.holder];adminplayervars=\ref[src]'>VV</A>) (<A HREF='?src=\ref[M.client.holder];adminplayersubtlemessage=\ref[src]'>SM</A>) (<A HREF='?src=\ref[M.client.holder];adminplayerobservejump=\ref[src]'>JMP</A>) (<A HREF='?src=\ref[M.client.holder];secretsadmin=check_antagonist'>CA</A>):</b> [msg]" M << "\blue \icon[cross] <b><font color=purple>PRAY: </font>[key_name(src, M)] (<A HREF='?src=\ref[M.client.holder];adminplayeropts=\ref[src]'>PP</A>) (<A HREF='?src=\ref[M.client.holder];adminplayervars=\ref[src]'>VV</A>) (<A HREF='?src=\ref[M.client.holder];adminplayersubtlemessage=\ref[src]'>SM</A>) (<A HREF='?src=\ref[M.client.holder];adminplayerobservejump=\ref[src]'>JMP</A>) (<A HREF='?src=\ref[M.client.holder];secretsadmin=check_antagonist'>CA</A>):</b> [msg]"
usr << "Your prayers have been received by the gods." usr << "Your prayers have been received by the gods."
feedback_add_details("admin_verb","PR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
//log_admin("HELP: [key_name(src)]: [msg]") //log_admin("HELP: [key_name(src)]: [msg]")

View File

@@ -9,6 +9,7 @@
log_admin("[key_name(usr)] made [key_name(M)] drop everything!") log_admin("[key_name(usr)] made [key_name(M)] drop everything!")
message_admins("[key_name_admin(usr)] made [key_name_admin(M)] drop everything!", 1) message_admins("[key_name_admin(usr)] made [key_name_admin(M)] drop everything!", 1)
feedback_add_details("admin_verb","DEVR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_prison(mob/M as mob in world) /client/proc/cmd_admin_prison(mob/M as mob in world)
set category = "Admin" set category = "Admin"
@@ -35,6 +36,7 @@
M << "\red You have been sent to the prison station!" M << "\red You have been sent to the prison station!"
log_admin("[key_name(usr)] sent [key_name(M)] to the prison station.") log_admin("[key_name(usr)] sent [key_name(M)] to the prison station.")
message_admins("\blue [key_name_admin(usr)] sent [key_name_admin(M)] to the prison station.", 1) message_admins("\blue [key_name_admin(usr)] sent [key_name_admin(M)] to the prison station.", 1)
feedback_add_details("admin_verb","PRISON") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_subtle_message(mob/M as mob in world) /client/proc/cmd_admin_subtle_message(mob/M as mob in world)
set category = "Special Verbs" set category = "Special Verbs"
@@ -56,6 +58,7 @@
log_admin("SubtlePM: [key_name(usr)] -> [key_name(M)] : [msg]") log_admin("SubtlePM: [key_name(usr)] -> [key_name(M)] : [msg]")
message_admins("\blue \bold SubtleMessage: [key_name_admin(usr)] -> [key_name_admin(M)] : [msg]", 1) message_admins("\blue \bold SubtleMessage: [key_name_admin(usr)] -> [key_name_admin(M)] : [msg]", 1)
feedback_add_details("admin_verb","SMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_world_narrate() // Allows administrators to fluff events a little easier -- TLE /client/proc/cmd_admin_world_narrate() // Allows administrators to fluff events a little easier -- TLE
set category = "Special Verbs" set category = "Special Verbs"
@@ -72,6 +75,7 @@
world << "[msg]" world << "[msg]"
log_admin("GlobalNarrate: [key_name(usr)] : [msg]") log_admin("GlobalNarrate: [key_name(usr)] : [msg]")
message_admins("\blue \bold GlobalNarrate: [key_name_admin(usr)] : [msg]<BR>", 1) message_admins("\blue \bold GlobalNarrate: [key_name_admin(usr)] : [msg]<BR>", 1)
feedback_add_details("admin_verb","GLN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_direct_narrate(mob/M as mob in world) // Targetted narrate -- TLE /client/proc/cmd_admin_direct_narrate(mob/M as mob in world) // Targetted narrate -- TLE
set category = "Special Verbs" set category = "Special Verbs"
@@ -84,6 +88,7 @@
M << msg M << msg
log_admin("DirectNarrate: [key_name(usr)] to ([M.name]/[M.key]): [msg]") log_admin("DirectNarrate: [key_name(usr)] to ([M.name]/[M.key]): [msg]")
message_admins("\blue \bold DirectNarrate: [key_name(usr)] to ([M.name]/[M.key]): [msg]<BR>", 1) message_admins("\blue \bold DirectNarrate: [key_name(usr)] to ([M.name]/[M.key]): [msg]<BR>", 1)
feedback_add_details("admin_verb","DIRN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_godmode(mob/M as mob in world) /client/proc/cmd_admin_godmode(mob/M as mob in world)
set category = "Special Verbs" set category = "Special Verbs"
@@ -100,6 +105,7 @@
log_admin("[key_name(usr)] has toggled [key_name(M)]'s nodamage to [(M.nodamage ? "On" : "Off")]") log_admin("[key_name(usr)] has toggled [key_name(M)]'s nodamage to [(M.nodamage ? "On" : "Off")]")
message_admins("[key_name_admin(usr)] has toggled [key_name_admin(M)]'s nodamage to [(M.nodamage ? "On" : "Off")]", 1) message_admins("[key_name_admin(usr)] has toggled [key_name_admin(M)]'s nodamage to [(M.nodamage ? "On" : "Off")]", 1)
feedback_add_details("admin_verb","GOD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_mute(mob/M as mob in world) /client/proc/cmd_admin_mute(mob/M as mob in world)
set category = "Special Verbs" set category = "Special Verbs"
@@ -119,6 +125,7 @@
message_admins("[key_name_admin(src)] has [(M.client.muted ? "muted" : "voiced")] [key_name_admin(M)].", 1) message_admins("[key_name_admin(src)] has [(M.client.muted ? "muted" : "voiced")] [key_name_admin(M)].", 1)
M << "You have been [(M.client.muted ? "muted" : "voiced")]." M << "You have been [(M.client.muted ? "muted" : "voiced")]."
feedback_add_details("admin_verb","MUTE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_add_random_ai_law() /client/proc/cmd_admin_add_random_ai_law()
@@ -136,6 +143,7 @@
world << sound('ionstorm.ogg') world << sound('ionstorm.ogg')
IonStorm(0) IonStorm(0)
feedback_add_details("admin_verb","ION") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/* /*
Stealth spawns xenos Stealth spawns xenos
@@ -152,6 +160,7 @@
return return
create_xeno() create_xeno()
feedback_add_details("admin_verb","X") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
//I use this proc for respawn character too. /N //I use this proc for respawn character too. /N
@@ -421,6 +430,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
new_character << "You have been fully respawned. Enjoy the game." new_character << "You have been fully respawned. Enjoy the game."
del(G_found)//Don't want to leave ghosts around. del(G_found)//Don't want to leave ghosts around.
feedback_add_details("admin_verb","RSPCH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return new_character return new_character
/client/proc/cmd_admin_add_freeform_ai_law() /client/proc/cmd_admin_add_freeform_ai_law()
@@ -449,6 +459,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
if(show_log == "Yes") if(show_log == "Yes")
command_alert("Ion storm detected near the station. Please check all AI-controlled equipment for errors.", "Anomaly Alert") command_alert("Ion storm detected near the station. Please check all AI-controlled equipment for errors.", "Anomaly Alert")
world << sound('ionstorm.ogg') world << sound('ionstorm.ogg')
feedback_add_details("admin_verb","IONC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_rejuvenate(mob/living/M as mob in world) /client/proc/cmd_admin_rejuvenate(mob/living/M as mob in world)
set category = "Special Verbs" set category = "Special Verbs"
@@ -485,6 +496,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
message_admins("\red Admin [key_name_admin(usr)] healed / revived [key_name_admin(M)]!", 1) message_admins("\red Admin [key_name_admin(usr)] healed / revived [key_name_admin(M)]!", 1)
else else
alert("Admin revive disabled") alert("Admin revive disabled")
feedback_add_details("admin_verb","REJU") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_create_centcom_report() /client/proc/cmd_admin_create_centcom_report()
set category = "Special Verbs" set category = "Special Verbs"
@@ -508,6 +520,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
world << sound('commandreport.ogg') world << sound('commandreport.ogg')
log_admin("[key_name(src)] has created a command report: [input]") log_admin("[key_name(src)] has created a command report: [input]")
message_admins("[key_name_admin(src)] has created a command report", 1) message_admins("[key_name_admin(src)] has created a command report", 1)
feedback_add_details("admin_verb","CCR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_delete(atom/O as obj|mob|turf in world) /client/proc/cmd_admin_delete(atom/O as obj|mob|turf in world)
set category = "Admin" set category = "Admin"
@@ -520,6 +533,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
if (alert(src, "Are you sure you want to delete:\n[O]\nat ([O.x], [O.y], [O.z])?", "Confirmation", "Yes", "No") == "Yes") if (alert(src, "Are you sure you want to delete:\n[O]\nat ([O.x], [O.y], [O.z])?", "Confirmation", "Yes", "No") == "Yes")
log_admin("[key_name(usr)] deleted [O] at ([O.x],[O.y],[O.z])") log_admin("[key_name(usr)] deleted [O] at ([O.x],[O.y],[O.z])")
message_admins("[key_name_admin(usr)] deleted [O] at ([O.x],[O.y],[O.z])", 1) message_admins("[key_name_admin(usr)] deleted [O] at ([O.x],[O.y],[O.z])", 1)
feedback_add_details("admin_verb","DEL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
del(O) del(O)
/client/proc/cmd_admin_list_open_jobs() /client/proc/cmd_admin_list_open_jobs()
@@ -532,6 +546,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
if(job_master) if(job_master)
for(var/datum/job/job in job_master.occupations) for(var/datum/job/job in job_master.occupations)
src << "[job.title]: [job.total_positions]" src << "[job.title]: [job.total_positions]"
feedback_add_details("admin_verb","LFS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_explosion(atom/O as obj|mob|turf in world) /client/proc/cmd_admin_explosion(atom/O as obj|mob|turf in world)
set category = "Special Verbs" set category = "Special Verbs"
@@ -558,7 +573,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
explosion (O, devastation, heavy, light, flash) explosion (O, devastation, heavy, light, flash)
log_admin("[key_name(usr)] created an explosion ([devastation],[heavy],[light],[flash]) at ([O.x],[O.y],[O.z])") log_admin("[key_name(usr)] created an explosion ([devastation],[heavy],[light],[flash]) at ([O.x],[O.y],[O.z])")
message_admins("[key_name_admin(usr)] created an explosion ([devastation],[heavy],[light],[flash]) at ([O.x],[O.y],[O.z])", 1) message_admins("[key_name_admin(usr)] created an explosion ([devastation],[heavy],[light],[flash]) at ([O.x],[O.y],[O.z])", 1)
feedback_add_details("admin_verb","EXPL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
else else
return return
@@ -581,6 +596,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
empulse(O, heavy, light) empulse(O, heavy, light)
log_admin("[key_name(usr)] created an EM Pulse ([heavy],[light]) at ([O.x],[O.y],[O.z])") log_admin("[key_name(usr)] created an EM Pulse ([heavy],[light]) at ([O.x],[O.y],[O.z])")
message_admins("[key_name_admin(usr)] created an EM PUlse ([heavy],[light]) at ([O.x],[O.y],[O.z])", 1) message_admins("[key_name_admin(usr)] created an EM PUlse ([heavy],[light]) at ([O.x],[O.y],[O.z])", 1)
feedback_add_details("admin_verb","EMP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
else else
@@ -608,6 +624,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
return return
M.gib() M.gib()
feedback_add_details("admin_verb","GIB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_gib_self() /client/proc/cmd_admin_gib_self()
set name = "Gibself" set name = "Gibself"
@@ -616,6 +633,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
return return
else else
mob.gib() mob.gib()
feedback_add_details("admin_verb","GIBS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/* /*
/client/proc/cmd_manual_ban() /client/proc/cmd_manual_ban()
set name = "Manual Ban" set name = "Manual Ban"
@@ -685,6 +703,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
var/list/L = M.get_contents() var/list/L = M.get_contents()
for(var/t in L) for(var/t in L)
usr << "[t]" usr << "[t]"
feedback_add_details("admin_verb","CC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_admin_remove_plasma() /client/proc/cmd_admin_remove_plasma()
set category = "Debug" set category = "Debug"
@@ -692,6 +711,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
if(!holder) if(!holder)
src << "Only administrators may use this command." src << "Only administrators may use this command."
return return
feedback_add_details("admin_verb","STATM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
// DEFERRED // DEFERRED
/* /*
spawn(0) spawn(0)
@@ -725,6 +745,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
view = input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128) view = input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128)
else else
view = world.view view = world.view
feedback_add_details("admin_verb","CVRA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/admin_call_shuttle() /client/proc/admin_call_shuttle()
@@ -751,6 +772,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
emergency_shuttle.incall() emergency_shuttle.incall()
captain_announce("The emergency shuttle has been called. It will arrive in [round(emergency_shuttle.timeleft()/60)] minutes.") captain_announce("The emergency shuttle has been called. It will arrive in [round(emergency_shuttle.timeleft()/60)] minutes.")
world << sound('shuttlecalled.ogg') world << sound('shuttlecalled.ogg')
feedback_add_details("admin_verb","CSHUT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
/client/proc/admin_cancel_shuttle() /client/proc/admin_cancel_shuttle()
@@ -769,6 +791,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
if(confirm != "Yes") return if(confirm != "Yes") return
emergency_shuttle.recall() emergency_shuttle.recall()
feedback_add_details("admin_verb","CCSHUT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
@@ -779,6 +802,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
usr << text("\red <b>Attack Log for []</b>", mob) usr << text("\red <b>Attack Log for []</b>", mob)
for(var/t in M.attack_log) for(var/t in M.attack_log)
usr << t usr << t
feedback_add_details("admin_verb","ATTL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/everyone_random() /client/proc/everyone_random()
@@ -810,6 +834,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
usr << "<i>Remember: you can always disable the randomness by using the verb again, assuming the round hasn't started yet</i>." usr << "<i>Remember: you can always disable the randomness by using the verb again, assuming the round hasn't started yet</i>."
ticker.random_players = 1 ticker.random_players = 1
feedback_add_details("admin_verb","MER") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggle_gravity_on() /client/proc/toggle_gravity_on()
set category = "Debug" set category = "Debug"
@@ -825,6 +850,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
A.gravitychange(1,A) A.gravitychange(1,A)
command_alert("CentComm is now beaming gravitons to your station. We appoligize for any inconvience.") command_alert("CentComm is now beaming gravitons to your station. We appoligize for any inconvience.")
feedback_add_details("admin_verb","TSGON") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/toggle_gravity_off() /client/proc/toggle_gravity_off()
set category = "Debug" set category = "Debug"
@@ -840,6 +866,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
A.gravitychange(0,A) A.gravitychange(0,A)
command_alert("For budget reasons, Centcomm is no longer beaming gravitons to your station. We appoligize for any inconvience.") command_alert("For budget reasons, Centcomm is no longer beaming gravitons to your station. We appoligize for any inconvience.")
feedback_add_details("admin_verb","TSGOFF") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
//CARN //CARN
/client/proc/toggle_random_events() /client/proc/toggle_random_events()
@@ -854,3 +881,4 @@ Traitors and the like can also be revived with the previous role mostly intact.
config.allow_random_events = 0 config.allow_random_events = 0
usr << "Random events disabled" usr << "Random events disabled"
message_admins("Admin [key_name_admin(usr)] has disabled random events.", 1) message_admins("Admin [key_name_admin(usr)] has disabled random events.", 1)
feedback_add_details("admin_verb","TRE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

View File

@@ -106,6 +106,7 @@ var/global/sent_strike_team = 0
message_admins("\blue [key_name_admin(usr)] has spawned a CentCom strike squad.", 1) message_admins("\blue [key_name_admin(usr)] has spawned a CentCom strike squad.", 1)
log_admin("[key_name(usr)] used Spawn Death Squad.") log_admin("[key_name(usr)] used Spawn Death Squad.")
feedback_add_details("admin_verb","DTHS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/create_death_commando(obj/spawn_location, leader_selected = 0) /client/proc/create_death_commando(obj/spawn_location, leader_selected = 0)
var/mob/living/carbon/human/new_commando = new(spawn_location.loc) var/mob/living/carbon/human/new_commando = new(spawn_location.loc)

View File

@@ -106,6 +106,7 @@ var/global/sent_syndicate_strike_team = 0
message_admins("\blue [key_name_admin(usr)] has spawned a Syndicate strike squad.", 1) message_admins("\blue [key_name_admin(usr)] has spawned a Syndicate strike squad.", 1)
log_admin("[key_name(usr)] used Spawn Syndicate Squad.") log_admin("[key_name(usr)] used Spawn Syndicate Squad.")
feedback_add_details("admin_verb","SDTHS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/create_syndicate_death_commando(obj/spawn_location, syndicate_leader_selected = 0) /client/proc/create_syndicate_death_commando(obj/spawn_location, syndicate_leader_selected = 0)
var/mob/living/carbon/human/new_syndicate_commando = new(spawn_location.loc) var/mob/living/carbon/human/new_syndicate_commando = new(spawn_location.loc)

View File

@@ -15,6 +15,7 @@
log_admin("[key_name(src)] has modified world.tick_lag to [newtick]", 0) log_admin("[key_name(src)] has modified world.tick_lag to [newtick]", 0)
message_admins("[key_name(src)] has modified world.tick_lag to [newtick]", 0) message_admins("[key_name(src)] has modified world.tick_lag to [newtick]", 0)
world.tick_lag = newtick world.tick_lag = newtick
feedback_add_details("admin_verb","TICKLAG") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return
src << "\red Error: ticklag(): Invalid world.ticklag value. No changes made." src << "\red Error: ticklag(): Invalid world.ticklag value. No changes made."
return return

View File

@@ -19,4 +19,5 @@
job.spawn_positions += 2 job.spawn_positions += 2
usr << "There will be an AI Triumvirate at round start." usr << "There will be an AI Triumvirate at round start."
message_admins("\blue [key_name_admin(usr)] has toggled on triple AIs at round start.", 1) message_admins("\blue [key_name_admin(usr)] has toggled on triple AIs at round start.", 1)
feedback_add_details("admin_verb","CAIT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return return

View File

@@ -226,6 +226,7 @@ datum
var/created_volume = C.result_amount*multiplier var/created_volume = C.result_amount*multiplier
if(C.result) if(C.result)
feedback_set_details("chemical_reaction","[C.result]|[C.result_amount*multiplier]")
multiplier = max(multiplier, 1) //this shouldnt happen ... multiplier = max(multiplier, 1) //this shouldnt happen ...
add_reagent(C.result, C.result_amount*multiplier) add_reagent(C.result, C.result_amount*multiplier)

View File

@@ -9,6 +9,7 @@
throw_range = 10 throw_range = 10
var/obj/item/weapon/pen/haspen //The stored pen. var/obj/item/weapon/pen/haspen //The stored pen.
var/obj/item/weapon/paper/toppaper //The topmost piece of paper. var/obj/item/weapon/paper/toppaper //The topmost piece of paper.
flags = FPRINT | TABLEPASS | ONBELT
/obj/item/weapon/clipboard/New() /obj/item/weapon/clipboard/New()
update_icon() update_icon()

File diff suppressed because it is too large Load Diff