Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Can you list the raw materials required to build a MyProductionItem?

$
0
0
I'm hoping there is a way accessible through the API to get this. For example, making a steel plate requires 7 iron. I've started to hardcode each item, which isn't too bad since there's only 26, but if anything changed during a future update I'd have to also update my script, also there's the fact that (while sort of rare) some mods add new components to the game, which I have no knowledge of, so I'm also losing mod support.

Here's the script I'm working on, you can see in the bottom...

Can you list the raw materials required to build a MyProductionItem?

Viewing all articles
Browse latest Browse all 903

Trending Articles