[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

@@ -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]"