Moderator: Graphics Moderators
Basically what I'm trying to do is to find someway to change the return value of the profit callback of a cargo with respect to the cargo's delivery location. E.g. extra profit for transporting a cargo to a snowy mountain town or something like that. However I can't for the life of me think of anyway to do it. I'm still new to NML so is there something obvious I'm missing or is it impossible?
That means the callback can only access the variables for the cargo, and those listed explicitly for the callback.
https://newgrf-specs.tt-wiki.net/wiki/V ... nalAction2
Cargo payment rates that can change (e.g. per town) would be a nice pony to have. I wouldn't expect it any time soon though
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)
Road Hog (road vehicles, released)
GScript ,,+ Subsidy ((Town)),, ≈ 3* profit
Users browsing this forum: No registered users and 4 guests