Industries don't appear in climes their subst. indsty doesnt

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Industries don't appear in climes their subst. indsty doesnt

Post by DaleStan »

ESUBJECTISTOOLONG:
Industries don't appear in climates their substutute industry doesn't appear in.

This Oil-fired power station refuses to appear in Tropic, despite the fact that it is defined to do so. The only reason I can come up with for this is that its substitute type (prop 08) is the Power Station, which also doesn't appear in Tropic.

alpha 49
Attachments
OilPower.zip
(9.55 KiB) Downloaded 35 times
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Csaboka
Tycoon
Tycoon
Posts: 1202
Joined: 25 Nov 2002 16:30
Location: Tiszavasvári, Hungary
Contact:

Post by Csaboka »

Well, that's not a bug, it's a poorly documented feature. :oops: New industries copy every property of the substitute type, but these properties may change with the climate. In tropic, the power station has 0 chance to appear, while on temperate it has a nonzero chance. You can fix this by explicitly setting properties 17 and 18 to nonzero values.
Reality is that which, when you stop believing in it, doesn't go away.—Philip K. Dick
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 22 guests