Quality Glassware


Graphics pack with many different flask designs for mods to use.

Internal
10 months ago
2.0
13.3K

g Pretty graphics

2 months ago

Pretty graphics.

Mind if rip some for

https://mods.factorio.com/mod/procedural-systems

I'll let you pick which one. And of course I'll give you credit.

2 months ago

You don't need to rip them, add this mod as a dependency and request a flask design in your data*.lua files using the API provided by the mod. For example:

local meld = require("meld")

local my_flask = quality_glassware.request_flask(
    "my-science-pack",
    {
        { model = "sphere_normal", variant = "liquid_blue" },
        { variant = "liquid_blue" },
    }
)

-- my_technology and my_science_pack is the prototypes for the technology and science pack that will use the flask.
meld(my_technology, quality_glassware.technology_graphics_for(my_flask, meld))
meld(my_science_pack, quality_glassware.item_graphics_for(my_flask, meld))

This has the benefit that should another mod use the want flask design as your mod, the API will pick a different designs than requested so they're not identical. (There's also a mod setting to override the choices made.)

2 months ago

Thanks and extremely well done.

New response