rm-code / convenient-bags Goto Github PK
View Code? Open in Web Editor NEWA mod for Project Zomboid which adds several new features to the vanilla item containers.
License: MIT License
A mod for Project Zomboid which adds several new features to the vanilla item containers.
License: MIT License
Apparently the mod doesn't pick up custom item categories when using tags. E.g.:
item foo
{
DisplayCategory = Carpentry,
}
Bags which are placed on the floor should be usable as containers, just like shelves, closets and other furniture in the game.
If a bag is too big for a container it should only drop the fraction of its contents.
It seems like when clicking on a bag the mod ignores one of the items in it.
Currently when you pack a bag it only takes the items from the container in which the bag is currently located. It would be favorable to have it work on "external" containers as well.
One idea would be to add submenus to the context menu. E.g.:
Unpack
|-> In Inventory
|-> In Container
Pack
|-> In Inventory
|-> In Container
Ideally these submenus should only be visible if a container is nearby.
An alternative is to always use the actions on the "external" container if there is one. This has the benefit of not cluttering the context menu any further. Also, that's the behavior which most players probably want.
In space engineers there is this mod where you can name cargo containers. And then the mod moves items into the cargo containers with the appropriate names.
Basically if you call a bag "!Food,Nails" the mod would shove all items of category food, and all items with the word "nails" embedded in the title. from all over your inventory (And adjacent containers) into it. If you name the bag "!Weapons, Ammo" It'd move all weapons and ammo into that bag.
Nicer alternative:
The original author of the turn tail mod has given his permission to implement the turn tail mod into Convenient Bags.
This would allow the player to quickly drop equipped bags when he needs to flee.
Happens when there is a weapon equipped for example.
Instead of just being usable via the InventoryContextMenus the mod should also add a WorldContextMenu for items which lie on the floor.
How about the inverse? Clicking on a bag in a container allows you to put the rest of the container in that bag?
I've recently been packing for a move from the northwest warehouse to the sunstar hotel. It was a lot of juggling items. Being able to put items into containers and then quickly wrap them into bags would have saved me quite some effort.
This would require an InventoryContextMenu option. The mod should then iterate over all items in the same container as the bag, ignoring the bag itself and any items that are equipped on the player.
It should then transfer each item into the bag until the bag is full.
There shouldn't be any time bonus for using this method, so the default TimedAction can be used for the transfer.
Some of the traits which are available now could influence the packing and unpacking of bags. Might be a fun addition to the mod.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.