diff --git a/zgtweaks/copy/ZGTBAG.ITM b/zgtweaks/copy/ZGTBAG.ITM index 4d2210a..e2b96eb 100644 Binary files a/zgtweaks/copy/ZGTBAG.ITM and b/zgtweaks/copy/ZGTBAG.ITM differ diff --git a/zgtweaks/library/spilling.tpa b/zgtweaks/library/spilling.tpa index fe96142..0d2b183 100644 --- a/zgtweaks/library/spilling.tpa +++ b/zgtweaks/library/spilling.tpa @@ -196,13 +196,20 @@ BEGIN END PATCH_IF found = 0 BEGIN // do not stash undroppable items - PATCH_IF currentitem_flags_value < 8 BEGIN + SET item_droppable = 0 + INNER_ACTION BEGIN + COPY_EXISTING ~%currentitem_name%.itm~ ~override~ + READ_LONG 0x18 flags ELSE 0 + item_droppable = flags BAND 4 + BUT_ONLY IF_EXISTS + END + PATCH_IF currentitem_flags_value < 8 AND item_droppable = 4 BEGIN TEXT_SPRINT append_line ~~~~~ADD_STORE_ITEM ~%currentitem_name%~ #%currentitem_charges1% #%currentitem_charges2% #%currentitem_charges3% ~%currentitem_flags%~ #1 %WNL%~~~~~ + spill = 1 END ELSE BEGIN TEXT_SPRINT append_line ~~~~~// ADD_STORE_ITEM ~%currentitem_name%~ #%currentitem_charges1% #%currentitem_charges2% #%currentitem_charges3% ~%currentitem_flags%~ #1 %WNL%~~~~~ END SPRINT spilleddata ~%spilleddata% %append_line%~ - spill = 1 END END diff --git a/zgtweaks/zgtweaks.tp2 b/zgtweaks/zgtweaks.tp2 index f3d2d1b..83d6a6e 100644 --- a/zgtweaks/zgtweaks.tp2 +++ b/zgtweaks/zgtweaks.tp2 @@ -1,6 +1,6 @@ BACKUP ~weidu_external/zgtweaks/backup~ // location to store files for uninstall purposes AUTHOR ~Graion Dilach~ -VERSION ~1.3~ +VERSION ~1.31~ LANGUAGE ~English~ ~english~ ~zgtweaks/english/setup.tra~