[2.0.12] Add LuaRecord.id and make LuaPlayer:cursor_record writable

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
zerwiport
Inserter
Inserter
Posts: 31
Joined: Sat Mar 09, 2024 11:03 pm
Contact:

[2.0.12] Add LuaRecord.id and make LuaPlayer:cursor_record writable

Post by zerwiport »

Hi, I'm working on Toolbars (floating quickbars) and would like to make it work as similar to the quickbar as possible.

To support records I need:
  • LuaRecord.id - to store it in a slot and retrieve from LuaPlayer:blueprints() when picked
  • LuaPlayer:cursor_record - write access to place it in the cursor
Xampa
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Feb 23, 2013 3:43 pm
Contact:

Re: [2.0.12] Add LuaRecord.id and make LuaPlayer:cursor_record writable

Post by Xampa »

+
Post Reply

Return to “Modding interface requests”