I'm messing with the stainless steal wagon mod just as a base, and tried to insert the line close to the example on the Wiki.
Code: Select all
wagon.set_filter(2, 'iron-ore')
However i'm getting a 12: attempt to call field 'set_filter' (a nill value).
Anyone care to shed some light on it for me? Thank you