Dauron Posted October 1, 2020 Report Share Posted October 1, 2020 (edited) Update 4-19-23: New version 1.6.0 compatible with VS 1.18.0 No major changes, just recompiled to verify compatibility. Added a special case fix to scale down the crate label model for the new large gates. Let me know if you discover any other vanilla item/block models that don't fit properly. I do not have much time nowadays to thoroughly test things so please be sure to backup your worlds before updating to any new version of Vintage Story, can't stress that enough. Very important when updating as many modders won't know if their mod becomes incompatible with new versions of VS. Description: This mod introduces a new storage block with a new mechanic for Vintage Story. These "Better Crates" can only store one type of item but they store much more of it than a wooden chest. Features: No GUI element but instead shows the item model with quantity on the label. Interact by left clicking to take items out and right clicking to insert items. They can only be broken with an axe. Upgradable to the next tier by using an upgrade item on them, no need to put into crafting window to upgrade. Fully multiplayer compatible. Including claim protected, reinforcement and locking mechanic. Compatible with hoppers and chutes. Bottom side is the output. All other sides can be inserted into. Rotates when placed. Can also be placed into the floor to face up or ceiling to face down. Detailed Handbook information with links to each new block/item. Just search for "Better Crate". Reactive block interaction overlay information. Compatible with Carry Capacity mod. Highly recommended! Note: Crates can only be carried by hand. Known Issues: While nearly all blocks/items display correctly, some blocks that have overlays such as soil with grass will display without the grass. This only applies to creative mode as you can't have those blocks in survival. There is always the possibility with mods and newer game versions that new blocks/items may not display correctly. Chiseled blocks do not display properly. Fixed with version 1.0.1 Very rarely when broken the label quantity text will not get destroyed. This seems to only happen in creative mode. This will fix if you restart the game. Anvil work items in 1.14+ will not display properly. I feel this is a rare case usage and have not devoted time to fixing the issue for now. Notes: As of version 1.4.1 the display range of models and info of the labels can now be configured. Default is 50 block range. The "BetterCratesConfig.json" file will be in your VintagestoryData\ModConfig folder after loading into a world with the mod one time. This file can be edited with common text editors such as Notepad. Language Files Included: English Russian (Thank you DArkHekRoMaNT!) Recipe Examples from handbook: Spoiler Usage example: Spoiler I hope everyone will enjoy using this mod. It was quite the challenge to make. Special thanks to everyone who helped answer my questions in discord. Downloads: I'm using the Vintage Story Mod DB from now on for downloads. No need to have files in two places. https://mods.vintagestory.at/show/mod/146 Edited April 20 by Dauron New version 1.6.0 compatible with Vintage Story 1.18.0 2 1 7 2 1 Link to comment Share on other sites More sharing options...
Hrafn Rune Posted October 1, 2020 Report Share Posted October 1, 2020 Excellent! Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted October 1, 2020 Report Share Posted October 1, 2020 Thanks for your work! (Minus one point in my todo ) Maybe add a different textures for the different bronzes? P.S. Made a lang file for Russian. ru.json Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted October 1, 2020 Report Share Posted October 1, 2020 As far as I understood (experimentally), unknown behaviors are ignored. So you can use the CC version without CC. In my mod behaviors for CC and generally all compatibility made through patches. So easy to track and change if necessary. Link to comment Share on other sites More sharing options...
Julius van Vern Posted October 1, 2020 Report Share Posted October 1, 2020 Nice Link to comment Share on other sites More sharing options...
Dauron Posted October 1, 2020 Author Report Share Posted October 1, 2020 (edited) 21 hours ago, DArkHekRoMaNT said: Thanks for your work! (Minus one point in my todo ) Maybe add a different textures for the different bronzes? P.S. Made a lang file for Russian. ru.json 9.01 kB · 2 downloads Thanks again for the language file! I'm adding it in the zip now. I decided to use only 1 "bronze" for this because of how the upgrade system works. The recipe for the bronze upgrade will accept any of the 3 bronze ingots. I wanted to keep the upgrade system simple and also the information in the handbook easy to follow. As far as the Carry Capacity version goes, if people run the CC version without CC it will work but it throws errors about the behavior not being found on the server side which would happen in single player as well. I wanted to provide a "standalone" version that would not have errors pop up for those that do not use CC. Thanks again for your help! Edited October 2, 2020 by Dauron Link to comment Share on other sites More sharing options...
Bladimiro Herrero Posted October 2, 2020 Report Share Posted October 2, 2020 Thank you so much, this was sorely needed, now if we can have a "drawer controller " that would be magical! Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted October 6, 2020 Report Share Posted October 6, 2020 (edited) On 10/2/2020 at 2:47 AM, Dauron said: As far as the Carry Capacity version goes, if people run the CC version without CC it will work but it throws errors about the behavior not being found on the server side which would happen in single player as well. I wanted to provide a "standalone" version that would not have errors pop up for those that do not use CC. What kind of errors occur on the client side? I tested this in single world - no errors. Are you json-patching files for CarryCapacity or just adding to the main block file? Edited October 6, 2020 by DArkHekRoMaNT Link to comment Share on other sites More sharing options...
Dauron Posted October 6, 2020 Author Report Share Posted October 6, 2020 14 hours ago, DArkHekRoMaNT said: What kind of errors occur on the client side? I tested this in single world - no errors. Are you json-patching files for CarryCapacity or just adding to the main block file? This is the "error" it shows. As I said before it's only on the server side, and it's only a warning. It still works just fine it's just going to do it every time you join into single player or start a server. I added the "Carryable" behavior in the crate block file. I don't see any other way to do it. Patching would be like patching the Carry Capacity patch that patches blocks to have the behavior... Unless there's a way in a patch inside my mod to say if Carry Capacity mod exists then patch the "Carryable" behavior in. Link to comment Share on other sites More sharing options...
LiamOwenWolfe Posted October 18, 2020 Report Share Posted October 18, 2020 Thanks so very much for this excellent mod... and for adding Carry Capacity support on top of it Wish List: add support for the "More Variants" mod by DArkHekRoMaNT please please pretty please? Link to comment Share on other sites More sharing options...
EtherialMind Posted October 18, 2020 Report Share Posted October 18, 2020 With the carry capacity support are you allowed to put the crates on your back or only hold them? Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted October 19, 2020 Report Share Posted October 19, 2020 17 hours ago, RussellL360 said: Thanks so very much for this excellent mod... and for adding Carry Capacity support on top of it Wish List: add support for the "More Variants" mod by DArkHekRoMaNT please please pretty please? I'm going to add it myself when I complete the mod library for normal compatibility work. Now this can only be added with a micromod (like with CarryCapasity) 1 Link to comment Share on other sites More sharing options...
Aledark Posted October 22, 2020 Report Share Posted October 22, 2020 On 10/18/2020 at 10:23 AM, EtherialMind said: With the carry capacity support are you allowed to put the crates on your back or only hold them? Only hold item otherwise would be quite overpowered...like mining with an iron crate. Link to comment Share on other sites More sharing options...
AcidaliaP Posted October 30, 2020 Report Share Posted October 30, 2020 Hello I am interested in learning how to mod, and I would like to adapt your mod in a slightly different direction. Would that be alright with you? Do you have any tips? Thank you, AcidaliaP Link to comment Share on other sites More sharing options...
SalazarWindriver Posted November 20, 2020 Report Share Posted November 20, 2020 so I copied my world over to another computer so I could try 1.14p11 with breaking my current game. When I logged in all of my creates were empty. they were all there and the right size just empty. Link to comment Share on other sites More sharing options...
Dauron Posted November 21, 2020 Author Report Share Posted November 21, 2020 13 hours ago, ray57913 said: so I copied my world over to another computer so I could try 1.14p11 with breaking my current game. When I logged in all of my creates were empty. they were all there and the right size just empty. yeah unfortunately 1.13 versions won't be compatible with 1.14 due to some renaming of certain Vintage Story functions. Many code mods will have this same issue. I'll be releasing a 1.14 compatible version shortly. Link to comment Share on other sites More sharing options...
Dauron Posted November 21, 2020 Author Report Share Posted November 21, 2020 On 10/30/2020 at 5:12 PM, AcidaliaP said: Hello I am interested in learning how to mod, and I would like to adapt your mod in a slightly different direction. Would that be alright with you? Do you have any tips? Thank you, AcidaliaP You can do whatever you like. I noticed what you are wanting to accomplish and it may not require something as complex as what I do with this mod. As far as tips it's best to start small and build from there. The modding help channel in the VS discord can be very helpful if you ever get stuck on something. Link to comment Share on other sites More sharing options...
meggert@wi.rr.com Posted December 6, 2020 Report Share Posted December 6, 2020 Hello! First thanks for this mod! Now I would like to report a bug I'm having with it after today's game update to v1.14.0. I have installed the updated files for this mod as well as Extra Chests and Carry Capacity (these are the only 3 mods I use). My bug is that while I can add items to a crate with a right-click, I can't take items out of the crate with a left-click. While all that happens with left-clicking with a open hand is I get the damage particles. If I break the crate with an axe, I do get the items that were in the crate! I should add that Extra Chests and Carry Capacity are working properly. Thank you, Mark Link to comment Share on other sites More sharing options...
Dauron Posted December 6, 2020 Author Report Share Posted December 6, 2020 40 minutes ago, meggert@wi.rr.com said: Hello! First thanks for this mod! Now I would like to report a bug I'm having with it after today's game update to v1.14.0. I have installed the updated files for this mod as well as Extra Chests and Carry Capacity (these are the only 3 mods I use). My bug is that while I can add items to a crate with a right-click, I can't take items out of the crate with a left-click. While all that happens with left-clicking with a open hand is I get the damage particles. If I break the crate with an axe, I do get the items that were in the crate! I should add that Extra Chests and Carry Capacity are working properly. Thank you, Mark Thanks for reporting this. I'm not really sure what happened, but I recompiled the mod and it seems to have fixed it. Uploading version 1.2.2 now. Please try it out and let me know of any other issues. Thanks again! Link to comment Share on other sites More sharing options...
meggert@wi.rr.com Posted December 6, 2020 Report Share Posted December 6, 2020 Hello, thank you for the new upload, it is now working properly for me. Mark Link to comment Share on other sites More sharing options...
Dauron Posted December 6, 2020 Author Report Share Posted December 6, 2020 4 minutes ago, meggert@wi.rr.com said: Hello, thank you for the new upload, it is now working properly for me. Mark Good to hear, have fun! Link to comment Share on other sites More sharing options...
Demonhavok Posted December 17, 2020 Report Share Posted December 17, 2020 (edited) Our server is running version 1.14 with better crates version 1.2.2 and sometimes it is difficult to put fired crocks into the better crates. many of them seem to go in just fine but sometimes one will not want to go in and you have to place it and pick it up dozens of times and eventually the crate will accept it. Edited December 17, 2020 by Demonhavok Link to comment Share on other sites More sharing options...
Dauron Posted December 18, 2020 Author Report Share Posted December 18, 2020 5 hours ago, Demonhavok said: Our server is running version 1.14 with better crates version 1.2.2 and sometimes it is difficult to put fired crocks into the better crates. many of them seem to go in just fine but sometimes one will not want to go in and you have to place it and pick it up dozens of times and eventually the crate will accept it. Thanks for the report. It appears that when a crock is fresh made in the firepit it doesn't have an attribute of "sealed" set yet. Once it's placed on the ground and picked back up it then has it. This doesn't mean its actually sealed it just has the info set to either true or false. So there is basically 2 kinds of crocks that a crate should allow: one's that are fresh made and never placed down/picked up, and ones that have been placed down/picked back up. That's why they aren't combining in a crate because the vanilla "equals" method sees one crock with the "sealed" attribute and one without. I only had to place a crock down once and pick up to fix in my testing. This is a vanilla bug with the way crocks are handled, it's not noticed because you can't stack crocks in your inventory as they only stack to 1. If you could then your inventory would have 2 different empty crocks that don't stack together. To make sure they all stack properly in a crate you should only need to place it down and pick up one time if it's freshly made and then it should match all others that have been handled the same way. In my testing I also noticed something else about the crocks (and bowls) that I didn't realize was happening. I'll be working on a update to address all of this over the next day or two. Thanks again for the report. It's hard to test everything. Link to comment Share on other sites More sharing options...
Demonhavok Posted December 18, 2020 Report Share Posted December 18, 2020 yeah I figured out that if you use the bowl on the crock it breaks the seal as normal but if you use the crock on the bowl it dishes out a portion but remains sealed. When I empty one of these sealed crocks and then try and place it in the crate that is where I think the issue occurs. I found that by switching food from another crock into it then back out again it fixes the state and I can place it in the crate. Much better than 30 shelves to place everything on lol Link to comment Share on other sites More sharing options...
Dauron Posted December 19, 2020 Author Report Share Posted December 19, 2020 5 hours ago, Demonhavok said: yeah I figured out that if you use the bowl on the crock it breaks the seal as normal but if you use the crock on the bowl it dishes out a portion but remains sealed. When I empty one of these sealed crocks and then try and place it in the crate that is where I think the issue occurs. I found that by switching food from another crock into it then back out again it fixes the state and I can place it in the crate. Much better than 30 shelves to place everything on lol I updated the mod. Server and clients will need it. Should fix the issue with the crocks. Let me know if you are still having issues. Link to comment Share on other sites More sharing options...
Recommended Posts