mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Further advances in the pioneering field of animation-ing; putting stuff in machines, taking stuff out of machines, putting stuff in nearby containers (#90895)
## About The Pull Request Putting stuff into and removing things from machine now plays a little animation, and putting stuff INTO nearby containers now also plays an animation. Putting stuff into containers on your person still does not play an animation. ## Why It's Good For The Game https://github.com/user-attachments/assets/68cd7db8-1349-4ae3-a5bc-7082839749dd ## Changelog 🆑 Bisar image: Animations have been added to inserting/removing items from machines, and to inserting things into containers that are not on your person. /🆑
This commit is contained in:
@@ -495,7 +495,7 @@
|
||||
/obj/structure/table/proc/table_place_act(mob/living/user, obj/item/tool, list/modifiers)
|
||||
if(tool.item_flags & ABSTRACT)
|
||||
return NONE
|
||||
if(!user.transferItemToLoc(tool, drop_location(), silent = FALSE))
|
||||
if(!user.dropItemToGround(to_drop = tool, silent = FALSE, newloc = get_turf(src)))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
// Items are centered by default, but we move them if click ICON_X and ICON_Y are available
|
||||
if(LAZYACCESS(modifiers, ICON_X) && LAZYACCESS(modifiers, ICON_Y))
|
||||
|
||||
Reference in New Issue
Block a user