Restore some vanillia industries to a FIRS fork

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
User avatar
jimbob
Engineer
Engineer
Posts: 87
Joined: 24 Nov 2014 21:13
Location: At a desk
Contact:

Restore some vanillia industries to a FIRS fork

Post by jimbob »

I would like to restore 2-3 of the vanillia industries to a fork of FIRS (gold mine, bank and print works)

Hunting around the source code I can't seem to see where the vanillia industries are turned off / replaced, would they come back by just not overwriting their ID? or is something more involved required?
Image
Real life transport planner
My projects:Link to my UK Scenario|Scenario Builder GS
Do check out my 3D unity transport game: transporter
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Restore some vanillia industries to a FIRS fork

Post by Eddi »

or you could just make an addon grf that only contains one line to make a copy of an original industry, and not mess with firs code at all.
User avatar
jimbob
Engineer
Engineer
Posts: 87
Joined: 24 Nov 2014 21:13
Location: At a desk
Contact:

Re: Restore some vanillia industries to a FIRS fork

Post by jimbob »

What single line would that be?
Image
Real life transport planner
My projects:Link to my UK Scenario|Scenario Builder GS
Do check out my 3D unity transport game: transporter
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Restore some vanillia industries to a FIRS fork

Post by Eddi »

tried this one?
Substitute industry type (08)
Substitute industry type. The first assignment of this property copies all properties of the old type to this new type.
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 3 guests