Can anyone reply with example source on how to write a resource consumer code ?
I need it in form of custom code that will both consume a resource under specific conditions and manage loading/saving to/from persistence and vessel cfg (i already know how to handle load/save, i just mentioned it so it may be known in advance what my code needs to do).
And if resource generation is also not so much different from consumption code, an example for that too would be appreciated.