diff --git a/BuyAllItems/Lua/Autorun/init.lua b/BuyAllItems/Lua/Autorun/init.lua deleted file mode 100644 index e69de29..0000000 diff --git a/BuyAllItems/README.md b/BuyAllItems/README.md deleted file mode 100644 index 2f87cff..0000000 --- a/BuyAllItems/README.md +++ /dev/null @@ -1,48 +0,0 @@ -# Buy All Items - -A quality-of-life mod for Barotrauma that adds a "BUY ALL" feature to maximize your shopping cart with one click. - -## Features - -- Automatically maximizes the quantity of each item in your shopping cart -- Dedicated keybind (B key) for quick access -- Works with any store in the game - -## How to Use - -1. Open any store in the game -2. Add at least one unit of each item you want to buy to your cart -3. Press B key to maximize all quantities automatically -4. Complete your purchase with the regular BUY button - -## Version History - -### 1.0.3 -- Fixed keybind implementation to use direct key checking -- Removed KeybindOld function that was causing errors -- Standardized configuration for easier customization - -### 1.0.2 -- Completely overhauled keybind system - now uses proper Barotrauma keybind API -- Removed unnecessary spammy checks and polling -- Improved reliability and performance -- Fixed button creation to avoid duplicate buttons - -### 1.0.1 -- Fixed compatibility issues with GUI access -- Improved method for detecting and manipulating store items using CargoManager -- Added fallback methods to ensure functionality in different game contexts - -### 1.0.0 -- Initial release - -## Notes - -- This mod only works in singleplayer or if you're the one hosting the game -- The functionality only works on the BUY tab of stores, not SELL tabs -- If you encounter any issues, please report them in the mod comments -- To change the key binding, edit the CONFIG.KEY_CODE value in the init.lua file - -## Credits - -Created by a helpful AI assistant \ No newline at end of file diff --git a/BuyAllItems/filelist.xml b/BuyAllItems/filelist.xml deleted file mode 100644 index d1ece63..0000000 --- a/BuyAllItems/filelist.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/Quick Swap Hand~Bag/Lua/Autorun/init.lua b/Quick Swap Hand~Bag/Lua/Autorun/init.lua deleted file mode 100644 index 9d3548d..0000000 --- a/Quick Swap Hand~Bag/Lua/Autorun/init.lua +++ /dev/null @@ -1,58 +0,0 @@ -if not CLIENT then return end - --- Hook.Add("keyUpdate", "quickswap_bag~hand", function() --- if not PlayerInput.KeyHit(Keys.LeftAlt) then return end --- if GUI.KeyboardDispatcher.Subscriber then return end --- --- local character = Character.Controlled --- if not character then --- print("No character found") --- return --- end --- local inventory = character.Inventory --- if not inventory then --- print("No inventory found") --- return --- end --- --- local bagSlotIndex = inventory.FindLimbSlot(InvSlotType.Bag) --- if bagSlotIndex < 0 then --- print("No bag slot found") --- return --- end --- --- local bagItem = inventory.GetItemAt(bagSlotIndex) --- if not bagItem then --- print("No bag item found") --- return --- end --- local bagInventrory = bagItem.OwnInventory --- if not bagInventrory then --- print("No bag inventory found") --- return --- end --- --- -- local bagItems = {} --- -- local items = bagInventrory.AllItemsMod --- -- for _, item in ipairs(items) do --- -- ---@cast item Barotrauma.Item --- -- bagItems[item.Name] = true --- -- end --- --- -- local inventoryItems = inventory.AllItemsMod --- -- for _, item in ipairs(inventoryItems) do --- -- if bagItems[item.Name] then --- -- end --- -- end --- --- --- --- --- --- --for _, handSlotType in ipairs { InvSlotType.LeftHand, InvSlotType.RightHand } do --- -- local handSlotIndex = inventory.FindLimbSlot(handSlotType) --- -- if handSlotIndex >= 0 then --- -- if inventory.TryPutItem(bagItem, handSlotIndex, true, false, character) then return end --- -- end --- --end --- end) \ No newline at end of file diff --git a/Quick Swap Hand~Bag/filelist.xml b/Quick Swap Hand~Bag/filelist.xml deleted file mode 100644 index 0011e36..0000000 --- a/Quick Swap Hand~Bag/filelist.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file