Add slot_index to on_player_set_quick_bar_slot

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Add slot_index to on_player_set_quick_bar_slot

Post by eradicator »

on_player_set_quick_bar_slot is currently difficult to use because it contains no information about what actually changed, only for whom it changed.

It would be nice if it contained the slot index(es) that were affected.

Code: Select all

old_slot_index :: uint, (optional) If the filter was moved from another slot the index of that slot.
new_slot_index :: uint, (mandatory) The slot that the new filter was set to.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Post Reply

Return to “Modding interface requests”