mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-17 21:52:42 +00:00
Allows admin spawning fruit in multiples
This commit is contained in:
@@ -1052,8 +1052,10 @@ proc/admin_notice(var/message, var/rights)
|
||||
|
||||
if(!seedtype || !plant_controller.seeds[seedtype])
|
||||
return
|
||||
var/datum/seed/S = plant_controller.seeds[seedtype]
|
||||
S.harvest(usr,0,0,1)
|
||||
var/amount = input("Amount of fruit to spawn", "Fruit Amount", 1) as null|num
|
||||
if(!isnull(amount))
|
||||
var/datum/seed/S = plant_controller.seeds[seedtype]
|
||||
S.harvest(usr,0,0,amount)
|
||||
log_admin("[key_name(usr)] spawned [seedtype] fruit at ([usr.x],[usr.y],[usr.z])")
|
||||
|
||||
/datum/admins/proc/spawn_custom_item()
|
||||
|
||||
Reference in New Issue
Block a user