Associate script inventories with a player

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Raiguard
Filter Inserter
Filter Inserter
Posts: 283
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Associate script inventories with a player

Post by Raiguard »

I would like to be able to associate a script inventory with a player, to gain access to the hand and quickbar blueprint links. I have two usecases:

1. I am experimenting with a blueprint-library-as-a-hidden-blueprint-book mod, and while it works fine in the character's inventory, if I use a script inventory to hold it instead, you can't put links to its blueprints on the quickbar.

2. I wish to be able to set the hand location into a single-slot "void" inventory so that if the player clears the cursor, it will be dropped there, but if they put it anywhere else, it will remain. This is to emulate the vanilla behavior when getting a blueprint from the shortcut bar.
Don't forget, you're here forever.

Post Reply

Return to “Modding interface requests”

Who is online

Users browsing this forum: No registered users