diff --git a/42.20/media/lua/client/QMIA_Integration.lua b/42.20/media/lua/client/QMIA_Integration.lua index bfc8118..f34c1c0 100644 --- a/42.20/media/lua/client/QMIA_Integration.lua +++ b/42.20/media/lua/client/QMIA_Integration.lua @@ -98,4 +98,4 @@ if not QMIA.resultsInstalled then end) end -print("[QuartermasterItemArrange] compatibility loaded") +print("[hrsys_QuartermasterItemArrange] compatibility loaded") diff --git a/42.20/media/lua/shared/QMIA_State.lua b/42.20/media/lua/shared/QMIA_State.lua index 1c5179a..e496272 100644 --- a/42.20/media/lua/shared/QMIA_State.lua +++ b/42.20/media/lua/shared/QMIA_State.lua @@ -1,6 +1,6 @@ -- Per-compartment flags on the original world object. No Quartermaster data is changed. QMIA = QMIA or {} -QMIA.MOD_ID = "QuartermasterItemArrange" +QMIA.MOD_ID = "hrsys_QuartermasterItemArrange" QMIA.DATA_KEY = "QMIArrange" function QMIA.isMarked(obj, ci) diff --git a/42.20/mod.info b/42.20/mod.info index fc44c19..7fdbfa8 100644 --- a/42.20/mod.info +++ b/42.20/mod.info @@ -1,8 +1,12 @@ -name=Quartermaster - Item Arrange Compatibility -id=QuartermasterItemArrange -author=Local compatibility add-on +name=Quartermaster x Item Arrange +id=hrsys_QuartermasterItemArrange +poster=../common/media/textures/preview.png +description=Quartermaster loot sorting with Item Arrange placement. +author=Riggs0 +category=interface +icon=../common/media/textures/preview.png +url=https://hudsonriggs.systems modversion=1.0.0 -versionMin=42.20 +versionMin=42.20.0 require=Quartermaster,ItemArrange loadAfter=Quartermaster,ItemArrange -description=Mark any Quartermaster-sortable container as Item Arrange. Matching deliveries go to its tile using Item Arrange's Shift-drop action, with automatic facing and no keyboard or mouse positioning required. diff --git a/README.md b/README.md index c242e51..af828a7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Quartermaster x Item Arrange compatibility for Project Zomboid Build 42.20 and later. -Mod ID: `QuartermasterItemArrange` +Mod ID: `hrsys_QuartermasterItemArrange` Requires [Quartermaster](https://steamcommunity.com/sharedfiles/filedetails/?id=3761216758) and [Item Arrange](https://steamcommunity.com/sharedfiles/filedetails/?id=3767639280). @@ -35,7 +35,7 @@ is needed. ## Use -1. Enable **Quartermaster**, **Item Arrange**, and **Quartermaster - Item Arrange Compatibility** for the save, then restart the game. +1. Enable **Quartermaster**, **Item Arrange**, and **Quartermaster x Item Arrange** for the save, then restart the game. 2. Right-click any container Quartermaster can configure and select **[ ] Item Arrange**. A checked option switches the mode off again. 3. Use **Configure sorting...** to select its categories, specific items, presets and priority. 4. Select **Distribute Loot**. Your character walks to the destination, faces its tile and uses Item Arrange's Shift-drop placement. You do not need to hold Shift or aim the mouse. @@ -57,7 +57,7 @@ keep their usual container transfers. ## Multiplayer -Install the mod on the server and every client. Add `QuartermasterItemArrange` +Install the mod on the server and every client. Add `hrsys_QuartermasterItemArrange` after `Quartermaster` and `ItemArrange` in the server's `Mods` list. The required Workshop IDs are `3761216758` and `3767639280`. This add-on has no published Workshop ID. diff --git a/common/media/textures/preview.png b/common/media/textures/preview.png new file mode 100644 index 0000000..eeb8eff Binary files /dev/null and b/common/media/textures/preview.png differ diff --git a/mod.info b/mod.info new file mode 100644 index 0000000..3cd71cb --- /dev/null +++ b/mod.info @@ -0,0 +1,12 @@ +name=Quartermaster x Item Arrange +id=hrsys_QuartermasterItemArrange +poster=common/media/textures/preview.png +description=Quartermaster loot sorting with Item Arrange placement. +author=Riggs0 +category=interface +versionMin=42.20.0 +url=https://hudsonriggs.systems +modversion=1.0.0 +icon=common/media/textures/preview.png +require=Quartermaster,ItemArrange +loadAfter=Quartermaster,ItemArrange diff --git a/preview.png b/preview.png new file mode 100644 index 0000000..eeb8eff Binary files /dev/null and b/preview.png differ