- Lua 100%
Prestibags Luanti Mod
Prestibags are simple bags that act like chests you can pick up. They do not modify the player's normal inventory formspec, so they will interfere with any mods that do. Here are some of their features:
- Retain their inventory when picked up or unloaded/reloaded by the server.
- Can be stored in other bags, nested as deeply as you like.
- Are NOT owned, so any player can open them and pick them up.
- Are flammable, so don't put them near lava or fire!
- Fit in spaces with non-solid nodes (e.g. water, torches), but don't build solid stuff on top of them!
Note that bags are "active entities", although they are non-physical and act in many ways like nodes. This means that the "/clearobjects" command will destroy them, and they can potentially take damage from sources other than fire. They will show wear like a tool when taken into inventory if they have taken any damage.
This mod is a fork of the original mod by prestidigitator https://forum.luanti.org/viewtopic.php?t=5026.
Required Luanti Version
- 5.10.0
Dependencies
Required
- None
Optional
- default
- wool
- fire
- mcl_wool
- ContentDB
Settings
-
prestibags_can_dye_bagsThis setting enables the ability for players to change bag colors after crafting them. This defaults totrue.To dye a bag you place the bag down, have a dye selected in your hot bar, and right click the bag to apply the dye.
A log message will be displayed to notify a player if they try and apply an unsupported dye.
If a player right clicks the bag while using an unsupported dye, or the same color dye as the bag, then the normal formspec will be shown.
If you have the
world_settingsmod enabled then you will be able to control this setting separately for each world.It is safe to change this setting at anytime.
-
prestibags_num_colsthe number of columns a bag has in it's inventory. Defaults to3.Bags can be put in to bags so they default of 3 is pretty OP for the resources required to make them. Increasing this by any significant amount will further this imbalance.
If you have the
world_settingsmod enabled then you will be able to control this setting separately for each world. This will permit you to change the global setting without affecting worlds that have been started with the world settings mod enabled.DANGER: If you decrease this setting players will lose items in slots they can no longer access!
It is safe to increase this setting at anytime. Decreasing it is dangerous as noted above.
Craft Recipes
(W = "group:wool"):
— W —
W — W
W W W
Git Repositories
Change History
-
Unreleased
-
v2.0.1
- Improve Copyright attribution.
-
v2.0.0
- Added
mod.confwith mod information - Updated to latest Luanti standards
- Tidied code
- Fixed bags disappearing
- Support inventories with different rows and columns
- Added borders to inventory slots
- Added colored bags
- Added Mineclonia support
- Added translation support
- Changed license
- Added
-
Version 1.0
- Released 2013年03月07日.
- First working version.
Copyright and Licensing
All content, including source code, textures, models, and sounds, are 100% original content by the mod authors (prestidigitator and Codiac).
Authors
- prestidigitator (as registered on forum.luanti.org)
- Codiac (as registered on forum.luanti.org)
Coloring Images
The colors are applied in game using hsl colorization.
Legal
The original mod by prestidigitator was licensed WTFPL. This was changed for version 2.0.0.
See LICENSE.md for more details.
Source Code License
The source code in this mod is licensed under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Media License
The images and image sources in this mod are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0).