GlassBricks / typed-factorio

Complete and featureful Typescript defintions for the Factorio modding API
MIT License
33 stars 3 forks source link

A question about Icons #16

Closed almajd3713 closed 1 year ago

almajd3713 commented 2 years ago

So I am not sure if this is only me, but I couldn't find an "icon" or "icons" property for the prototypes I've been trying out. I gave the type definitions files a good search and I haven't found a definition for any "icons" property except for something related to blueprints. I also tried the BaseEntity type but it didn't have them either.

Also I apologize for my bad way of writing this, as this is the first Issue that I made. Thank you in advance

GlassBricks commented 1 year ago

Typings for the prototype stage previously weren't included. However, thanks to updates from Factorio's side, prototype typings are now available in v2.0.0. "Icons" and its various types should be available.