mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-18 17:36:38 +01:00
26 lines
821 B
Plaintext
26 lines
821 B
Plaintext
//* This file is explicitly licensed under the MIT license. *//
|
|
//* Copyright (c) 2025 Citadel Station Developers *//
|
|
|
|
/**
|
|
* get what we actually throw, so we can throw holders/grabs
|
|
*/
|
|
/obj/item/proc/throw_resolve_actual(mob/user)
|
|
return src
|
|
|
|
/obj/item/overhand_throw_delay(mob/user)
|
|
return w_class * OVERHAND_THROW_ITEM_DELAY
|
|
|
|
/**
|
|
* return TRUE to not drop us and instead just throw whatever throw_resolve_actual hopefully returned
|
|
*
|
|
* you should move the thing they're going to throw to a turf, otherwise the throw will fail.
|
|
*/
|
|
/obj/item/proc/throw_resolve_override(atom/movable/resolved, mob/user)
|
|
return FALSE
|
|
|
|
/**
|
|
* called at point of no return; lets us un-reference what we're having them throw if we need to.
|
|
*/
|
|
/obj/item/proc/throw_resolve_finalize(atom/movable/resolved, mob/user)
|
|
return
|