Page 1 of 1

improved oil rig layout patch

Posted: 26 Feb 2015 01:12
by xarick
This Oil Rig Layout won't block ships docking when an Oil Rig is spawned in front of another Oil Rig.

This Layout: https://paste.openttdcoop.org/pjeffivhq

Code: Select all

/*
   -4 -3 -2 -1 00 01 02 03 04 05 ->>> x
-4 xx xx xx xx xx xx xx xx xx xx
-3 xx                         xx
-2 xx                         xx
-1 xx       xx xx xx xx       xx
00 xx       xx 18 1A xx       xx
01 xx       xx 18 1B xx       xx
02 xx       xx 19 1C xx       xx
03 xx       xx xx xx xx       xx
04 xx                         xx
05 xx                         xx
06 xx xx xx xx xx xx xx xx xx xx

^
^
|
y

*/
Original Layout: https://paste.openttdcoop.org/p3qegpnbn

Code: Select all

/*
   -4 -3 -2 -1 00 01 02 03 04 05 ->>> x
-4 xx xx xx xx xx xx xx xx xx xx
-3 xx                         xx
-2 xx                         xx
-1 xx                         xx
00 xx          18 1A xx       xx
01 xx          18 1B          xx
02 xx          19 1C          xx
03 xx                         xx
04 xx                         xx
05 xx                         xx
06 xx xx xx xx xx xx xx xx xx xx

^
^
|
y

*/
As a NewGRF:
Side effect: Oil Rigs can spawn everywhere, not only on the edge of the world (as a NewGRF)
Source: https://paste.openttdcoop.org/puowthf5w
Download: http://binaries.openttd.org/bananas/new ... t-3.tar.gz

As a patch:
Side effect: None
Source: https://paste.openttdcoop.org/pohm0nsgs
improved oil rig layout.patch
(521 Bytes) Downloaded 171 times