First of all, I'm a professional programmer but I've never modded a game, so I'm a bit lost...
My goal is to implement a new storage building (done) with the following logic:
If the stored goods goes below a certain amount (the best would be if configurable in the ui, but a fixed amount will do for the first implementation) it generates an active demand, so drones and shuttle will fill it until it reach a second value. After that the demand is suppressed until the storage goes below the threshold again.
Anyone can point me out in the right direction? Exist some mysterious function GenerateDemandOfResource which I can use? Or I have to extend drones/shuttles logic? (and how?)
Any suggestion will be greatly appreciated
My goal is to implement a new storage building (done) with the following logic:
If the stored goods goes below a certain amount (the best would be if configurable in the ui, but a fixed amount will do for the first implementation) it generates an active demand, so drones and shuttle will fill it until it reach a second value. After that the demand is suppressed until the storage goes below the threshold again.
Anyone can point me out in the right direction? Exist some mysterious function GenerateDemandOfResource which I can use? Or I have to extend drones/shuttles logic? (and how?)
Any suggestion will be greatly appreciated