Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd listring in darkage:wood_shelves #9

Open
Bastrabun opened this issue May 7, 2022 · 2 comments
Open

Odd listring in darkage:wood_shelves #9

Bastrabun opened this issue May 7, 2022 · 2 comments

Comments

@Bastrabun
Copy link

When you shift-click items from darkage:wood_shelves to your inventory and back, a shift+click on an item in the upper drawer goes to the lower drawer. Could you please make it that they go to your inventory instead? The lower drawer send items to your inv, that's good.

Currently: Drawer1 -> Drawer2 -> Inventory -> Drawer1
Desired: Drawer1 <-> Inventory, Drawer2 <-> Inventory

@adrido
Copy link
Owner

adrido commented May 29, 2022

I dont think your desired behaviour is possible.
For example, how should the game know in which case you want to move something into "Drawer 1" or "Drawer 2" from "main inventory"?
Only one ring is possible, but not two rings.

@fluxionary
Copy link

fluxionary commented Sep 4, 2022

For example, how should the game know in which case you want to move something into "Drawer 1" or "Drawer 2" from "main inventory"?
Only one ring is possible, but not two rings.

it is, however, possible to move things from either of the shelf's inventories back into the player's main inventory via listrings via e.g.

...
listring[context;up]
listring[current_player;main]
listring[context;down]
listring[current_player;main]
...

it's also possible to override allow_metadata_inventory_put and on_metadata_inventory_put to automatically move items to the "down" inventory when the "up" list is full or can't hold more of those items.

it's also possible to just turn both "rows" into a single list; i can't think of any serious use-case for the current "dual" list semantics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants