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?
- Chief Executive
- Posts: 682
- Joined: 19 Dec 2011 07:54
- Location: Washington State, USA
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)
Users browsing this forum: No registered users and 2 guests