[MIRROR] Virology Update 1 (#9586)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-12-08 05:26:58 -07:00
committed by GitHub
parent 5e64b7d4cc
commit d3976b78a3
30 changed files with 750 additions and 24 deletions

View File

@@ -201,7 +201,8 @@ var/list/admin_verbs_spawn = list(
/client/proc/create_gm_message,
/client/proc/remove_gm_message,
/client/proc/AdminCreateVirus,
/client/proc/ReleaseVirus
/client/proc/ReleaseVirus,
/client/proc/spawn_reagent
)
var/list/admin_verbs_server = list(
@@ -290,6 +291,7 @@ var/list/admin_verbs_debug = list(
/client/proc/simple_DPS,
/datum/admins/proc/view_feedback,
/client/proc/stop_sounds,
/client/proc/spawn_reagent,
/datum/admins/proc/quick_nif, //CHOMPStation Add,
/datum/admins/proc/quick_authentic_nif, //CHOMPStation add
/client/proc/reload_jobwhitelist, //ChompADD

View File

@@ -537,3 +537,18 @@
set category = "Debug.Misc"
src.stat_panel.send_message("create_debug")
/client/proc/spawn_reagent()
set name = "Spawn Reagent"
set category = "Debug.Game"
if(!check_rights(R_ADMIN|R_EVENT)) return
var/datum/reagent/R = tgui_input_list(usr, "Select a reagent to spawn", "Reagent Spawner", subtypesof(/datum/reagent))
if(!R)
return
var/obj/item/reagent_containers/glass/bottle/B = new(usr.loc)
B.icon_state = "bottle-1"
B.reagents.add_reagent(R.id, 60)
B.name = "[B.name] of [R.name]"