Need help or advice on modding

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
Tsygan
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Oct 14, 2020 8:53 am
Contact:

Need help or advice on modding

Post by Tsygan »

I just started to understand the creation of mods, read a lot of documentation, but the answer to my question and did not find, I wanted to know how you can add to the type of prototype functions which it does not, if possible, how, I would be very grateful if you prompt any other sources on modding.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5088
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Need help or advice on modding

Post by eradicator »

Tsygan wrote:
Mon May 24, 2021 10:00 am
add to the type of prototype functions
You can't. You can not add new prototype types, and you can not add new properties to existing prototype types. Mods that need this usually combine several entities into something that looks like it's only one to the user and use control.lua scripting to make it work.
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 discussion”