Grab sprites and icons via LUA

Things that already exist in the current mod API
Post Reply
Swadius
Inserter
Inserter
Posts: 31
Joined: Sun Feb 23, 2014 10:54 am
Contact:

Grab sprites and icons via LUA

Post by Swadius »

Hi, I'm making a mod at the moment. And with some scripting help from Sparr it became evident to us that it would be quite helpful if we are able to grab sprites and icons, and perhaps overlay them if possible.

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Grab sprites and icons via LUA

Post by bobingabout »

Another one that would be useful
Tintable sprites for icons!
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Grab sprites and icons via LUA

Post by Arch666Angel »

bobingabout wrote:Another one that would be useful
Tintable sprites for icons!
I second this. Overlaying and tinting sprites is all good and nice, but Icons would be nice too.

Simcra
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Wed Apr 06, 2016 6:05 am
Contact:

Re: Grab sprites and icons via LUA

Post by Simcra »

I have problems with this too, grabbing data.raw using data-updates, data-final-fixes and data is sometimes not enough to "copy" entity/tile/item icons and graphics, it would be great to be able to grab icons/gfx being used at a particular moment in time and overlay images in Lua. I would love to remove my copies of vanilla images from my mod and have them be grabbed and manipulated at runtime.

Post Reply

Return to “Already exists”