Toggle-Deny-Shuttle, can build fire alarms, atmos alarms, intercoms, status displays, and light switches

This commit is contained in:
Tastyfish
2011-12-31 12:28:26 -05:00
parent a561862ef0
commit c02979c148
11 changed files with 284 additions and 4 deletions
+2
View File
@@ -209,6 +209,7 @@
verbs += /client/proc/cmd_admin_remove_plasma
verbs += /client/proc/admin_call_shuttle
verbs += /client/proc/admin_cancel_shuttle
verbs += /client/proc/admin_deny_shuttle
verbs += /obj/admins/proc/show_traitor_panel
verbs += /client/proc/cmd_admin_dress
verbs += /client/proc/cmd_admin_christmas
@@ -346,6 +347,7 @@
verbs -= /client/proc/cmd_admin_remove_plasma
verbs -= /client/proc/admin_call_shuttle
verbs -= /client/proc/admin_cancel_shuttle
verbs -= /client/proc/admin_deny_shuttle
verbs -= /obj/admins/proc/show_traitor_panel
verbs -= /client/proc/cmd_admin_dress
verbs -= /client/proc/cmd_admin_christmas
+2
View File
@@ -11,9 +11,11 @@
if(!input || input == "")
custom_event_msg = null
log_admin("[usr.key] has cleared the custom event text.")
message_admins("[key_name_admin(usr)] has cleared the custom event text.")
return
log_admin("[usr.key] has changed the custom event text.")
message_admins("[key_name_admin(usr)] has changed the custom event text.")
custom_event_msg = input
+16
View File
@@ -789,6 +789,22 @@ Traitors and the like can also be revived with the previous role mostly intact.
return
/client/proc/admin_deny_shuttle()
set category = "Admin"
set name = "Toggle Deny Shuttle"
if (!ticker)
return
if (!holder)
src << "Only administrators may use this command."
return
emergency_shuttle.deny_shuttle = !emergency_shuttle.deny_shuttle
log_admin("[key_name(src)] has [emergency_shuttle.deny_shuttle ? "denied" : "allowed"] the shuttle to be called.")
message_admins("[key_name_admin(usr)] has [emergency_shuttle.deny_shuttle ? "denied" : "allowed"] the shuttle to be called.")
/client/proc/cmd_admin_attack_log(mob/M as mob in world)
set category = "Special Verbs"
set name = "Attack Log"
+37 -1
View File
@@ -339,6 +339,42 @@ datum
materials = list("$glass" = 2000, "acid" = 20)
build_path = "/obj/item/weapon/circuitboard/mining"
firealarm
name = "Circuit Design (Fire Alarm)"
desc = "Allows for the construction of circuit boards used to build fire alarms."
id = "firealarm"
req_tech = list("engineering" = 2)
build_type = IMPRINTER
materials = list("$glass" = 2000, "acid" = 20)
build_path = "/obj/item/weapon/circuitboard/firealarm"
alarm
name = "Circuit Design (Atmospheric Alarm)"
desc = "Allows for the construction of circuit boards used to build atmos alarms."
id = "alarm"
req_tech = list("engineering" = 2, "programming" = 2)
build_type = IMPRINTER
materials = list("$glass" = 2000, "acid" = 20)
build_path = "/obj/item/weapon/circuitboard/alarm"
status_display
name = "Circuit Design (Status Display)"
desc = "Allows for the construction of circuit boards used to build status displays."
id = "status_display"
req_tech = list("engineering" = 2, "programming" = 2)
build_type = IMPRINTER
materials = list("$glass" = 2000, "acid" = 20)
build_path = "/obj/item/weapon/circuitboard/status_display"
light_switch
name = "Circuit Design (Light Switch)"
desc = "Allows for the construction of circuit boards used to build light switches."
id = "status_display"
req_tech = list("engineering" = 2)
build_type = IMPRINTER
materials = list("$glass" = 2000, "acid" = 20)
build_path = "/obj/item/weapon/circuitboard/light_switch"
///////////////////////////////////
//////////AI Module Disks//////////
///////////////////////////////////
@@ -1104,7 +1140,7 @@ datum
req_tech = list("combat" = 4, "materials" = 5, "engineering" = 3, "biotech" = 4, "syndicate" = 3)
build_type = PROTOLATHE
materials = list("$metal" = 5000, "$glass" = 1000, "$uranium" = 1000, "$silver" = 1000)
build_path = "/obj/item/weapon/gun/energy/largecrossbow"
build_path = "/obj/item/weapon/gun/energy/crossbow/largecrossbow"
temp_gun
name = "Temperature Gun"