mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 18:13:34 +01:00
Service borg tray no longer drap inventory version of items (stack count number) (#24521)
* Service borg trays no longer drop stack count items Service borg trays no longer drop stack count items. Therefore Fixes #23825 * fixing some indents * Replace qdel with remove_from_storage Deleting an item and replacing it with the same type is a terrible solution for this * Update code/game/objects/items/weapons/storage/bags.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Update code/game/objects/items/weapons/storage/bags.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Update code/game/objects/items/weapons/storage/bags.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * Fixing positions of items in the service tray --------- Co-authored-by: Pierre-Louis <hernandezpierrelouis@protonmail.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -479,8 +479,9 @@
|
||||
var/dropped_something = FALSE
|
||||
|
||||
for(var/obj/item/I in contents)
|
||||
I.loc = dropspot
|
||||
contents.Remove(I)
|
||||
remove_from_storage(I)
|
||||
// Set the properties of the new item here, e.g., stack count, hover highlight, tooltip
|
||||
I.forceMove(target.loc)
|
||||
dropped_something = TRUE
|
||||
if(!found_table && isturf(dropspot))
|
||||
// if no table, presume that the person just shittily dropped the tray on the ground and made a mess everywhere!
|
||||
|
||||
Reference in New Issue
Block a user