mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 10:26:39 +01:00
moves my relative shift verbs to their own files for cleanliness of the main mob.dm
19 lines
551 B
Plaintext
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)
|