Jump to content
Dauron

[1.13.4+] Better Crates v1.0.1

Recommended Posts

737335390_bettercratesbanner.png.203e8f543f5fd83f07e9903c27b6c291.png

Updated: 10/5/20 version 1.0.1

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.
  • 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.

Language Files Included:

Recipe Examples from handbook:

Spoiler

bettercrate-description.png.999c866dca683b5a4bbd986d7a44cdf5.png          upgrade-description.png.0af70c7b6aadbe3b799a7a6235ae3a72.png


Usage example:

Spoiler

bettercrates-example.thumb.png.a1112a2f1c396a26c35d89ed630ac008.png


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:

There are 2 versions of the mod. One that is configured for Carry Capacity and one that is not. 

Updated: 10/5/20 - version 1.0.1 - Required on clients for block/item fixes and on servers for recipe changes to take effect.

  • Fixed blocks/items from other mods not displaying properly or crashing the client.
  • Added Labeled chest as an alternate ingredient for recipes.

Better Crates v1.0.1: BetterCrates_v1.0.1.zip

Better Crates v1.0.1 with Carry Capacity configuration: BetterCratesCC_v1.0.1.zip

Edited by Dauron
Minor update, client only, for clear quartz not displaying. No version change.
  • Like 2
  • Cookie time 1
  • Amazing! 5
  • Mind=blown 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
21 hours ago, DArkHekRoMaNT said:

Thanks for your work! (Minus one point in my todo :D)

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 by Dauron

Share this post


Link to post
Share on other sites
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 by DArkHekRoMaNT

Share this post


Link to post
Share on other sites
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.

2020-10-06_16-26-43.thumb.png.418ace997c42661f7e94ecff757360ec.png

Share this post


Link to post
Share on other sites

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? :)

Share this post


Link to post
Share on other sites
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)

  • Like 1

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.