mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Facing component (#18574)
* save this because im afraid * Directions * Triggering list * don't * Update reactive_icon_update.dm * Update vorestation.dme * Update reactive_icon_update.dm * Update reactive_icon_update.dm * this can be an obj as well!
This commit is contained in:
@@ -476,6 +476,12 @@
|
||||
else if(slot == slot_l_hand || slot == slot_r_hand)
|
||||
if(!muffled_by_belly(user))
|
||||
playsound(src, pickup_sound, 20, preference = /datum/preference/toggle/pickup_sounds)
|
||||
SEND_SIGNAL(src, COMSIG_ITEM_EQUIPPED, user, slot)
|
||||
SEND_SIGNAL(user, COMSIG_MOB_EQUIPPED_ITEM, src, slot)
|
||||
var/mob/living/M = loc
|
||||
if(!istype(M))
|
||||
return
|
||||
M.update_held_icons()
|
||||
|
||||
/// Gives one of our item actions to a mob, when equipped to a certain slot
|
||||
/obj/item/proc/give_item_action(datum/action/action, mob/to_who, slot)
|
||||
|
||||
Reference in New Issue
Block a user