mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Fixes a few runtimees (#19418)
* Update seed.dm allows plants whose reagents have not been defined uniformly to splice properly * Fixes runtime with mob products * Fixes quickdraw runtime * Update _appliance.dm * Update remote_view.dm * Update remote_view.dm * Fixes a bug with pink slime potions * Update _appliance.dm * Gloves runtime * Fixes leash runtime * Fixes jump to coords * leash adjustment
This commit is contained in:
@@ -66,18 +66,14 @@ ADMIN_VERB_AND_CONTEXT_MENU(jumptomob, R_ADMIN|R_MOD|R_DEBUG|R_EVENT, "Jump to M
|
||||
else
|
||||
to_chat(A, span_filter_adminlog("This mob is not located in the game world."))
|
||||
|
||||
ADMIN_VERB(jumptocoord, R_ADMIN|R_MOD|R_DEBUG|R_EVENT,"Jump to Coordinate", "Jump to the target coordinates.", ADMIN_CATEGORY_GAME)
|
||||
ADMIN_VERB(jumptocoord, R_ADMIN|R_MOD|R_DEBUG|R_EVENT,"Jump to Coordinate", "Jump to the target coordinates.", ADMIN_CATEGORY_GAME, tx, ty, tz)
|
||||
if(!CONFIG_GET(flag/allow_admin_jump))
|
||||
tgui_alert_async(user, "Admin jumping disabled")
|
||||
return
|
||||
|
||||
var/tx
|
||||
var/ty
|
||||
var/tz
|
||||
|
||||
tx = tgui_input_number(user, "Select the target x coordinate", "X Loc", 1, world.maxx, 1)
|
||||
ty = tgui_input_number(user, "Select the target y coordinate", "Y Loc", 1, world.maxy, 1)
|
||||
tz = tgui_input_number(user, "Select the target z coordinate", "Z Loc", 1, world.maxz, 1)
|
||||
if(!tx || !ty || !tz)
|
||||
tx = tgui_input_number(user, "Select the target x coordinate", "X Loc", 1, world.maxx, 1)
|
||||
ty = tgui_input_number(user, "Select the target y coordinate", "Y Loc", 1, world.maxy, 1)
|
||||
tz = tgui_input_number(user, "Select the target z coordinate", "Z Loc", 1, world.maxz, 1)
|
||||
|
||||
var/mob/user_mob = user.mob
|
||||
user_mob.on_mob_jump()
|
||||
|
||||
Reference in New Issue
Block a user