Coder Social home page Coder Social logo

convenient-bags's People

Contributors

rm-code avatar

Watchers

 avatar  avatar

convenient-bags's Issues

Add world context menu

Instead of just being usable via the InventoryContextMenus the mod should also add a WorldContextMenu for items which lie on the floor.

Add option to pack a bag inside of a container

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.

Integrate traits

Some of the traits which are available now could influence the packing and unpacking of bags. Might be a fun addition to the mod.

http://pzwiki.net/wiki/Traits

  • Dextrous (Faster unpacking)
  • Lucky (Chance of instant unpacking)
  • All Thumbs (slower unpacking)
  • Unlucky (Rare chance of damaging items?)

Take items from other containers

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.

Labels for quick container sorting

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.

  • Check custom container name
  • Parse string and look for a certain tag delimiter <...> ?
  • Break the string in separate tags
  • Compare tags to items in containers and only transfer those who match

Nicer alternative:

  • Add UI for adding a new tag (tags will be stored in the mod.data of a bag)
  • Use tags in mod data to compare items and only transfer those who match

Add turn tail

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.