Files
siliconsandGitHub 3bd9510bc7 moves some mob verbs to their own files (#7487)
moves my relative shift verbs to their own files for cleanliness of the
main mob.dm
2026-01-16 23:56:01 +00:00

19 lines
551 B
Plaintext

//* This file is explicitly licensed under the MIT license. *//
//* Copyright (c) 2025 Citadel Station Developers *//
// todo: DECLARE_MOB_VERB
/mob/verb/shift_relative_behind()
set name = "Move Behind"
set desc = "Move behind of a mob with the same base layer as yourself"
set src = usr
set category = VERB_CATEGORY_IC
if(!client.throttle_verb())
return
var/mob/M = tgui_input_list(src, "What mob to move behind?", "Move Behind", get_relative_shift_targets())
if(QDELETED(M))
return
set_relative_layer(M.relative_layer - 1)