mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Hands management element [MDB IGNORE] (#24257)
* Hands management element * Update basic.dm * Update dextrous.dm * Fix screenshot test --------- Co-authored-by: Jacquerel <hnevard@gmail.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
co-authored by
Jacquerel
Bloop
parent
e2bd9d8648
commit
9eed8589db
@@ -285,6 +285,21 @@
|
||||
return last_icon_state
|
||||
return null
|
||||
|
||||
/mob/living/basic/put_in_hands(obj/item/I, del_on_fail = FALSE, merge_stacks = TRUE, ignore_animation = TRUE)
|
||||
. = ..()
|
||||
if (.)
|
||||
update_held_items()
|
||||
|
||||
/mob/living/basic/update_held_items()
|
||||
if(isnull(client) || isnull(hud_used) || hud_used.hud_version == HUD_STYLE_NOHUD)
|
||||
return
|
||||
var/turf/our_turf = get_turf(src)
|
||||
for(var/obj/item/held in held_items)
|
||||
var/index = get_held_index_of_item(held)
|
||||
SET_PLANE(held, ABOVE_HUD_PLANE, our_turf)
|
||||
held.screen_loc = ui_hand_position(index)
|
||||
client.screen |= held
|
||||
|
||||
/mob/living/basic/get_body_temp_heat_damage_limit()
|
||||
return maximum_survivable_temperature
|
||||
|
||||
|
||||
Reference in New Issue
Block a user