-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Aegis) More variants for industries
- Loading branch information
Showing
14 changed files
with
293 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import grf | ||
from industry.lib.industry import AIndustry, SplitDefinition, transcribe, symmetrize | ||
from .enormous import enormous_set | ||
from .huge import huge_set | ||
from .large import large_set | ||
from .medium import medium_set | ||
from .small import small_set | ||
from .tiny import tiny_set | ||
|
||
|
||
one_grid_set = [ | ||
("x",), | ||
] | ||
|
||
tile_map = {"x": grf.OldIndustryTileID(0x10)} | ||
|
||
the_industry = AIndustry( | ||
name="Forest", | ||
substitute_type=0x03, | ||
layouts=SplitDefinition( | ||
9, | ||
{ | ||
0: transcribe(enormous_set, tile_map), | ||
1: transcribe(huge_set, tile_map), | ||
2: transcribe(large_set, tile_map), | ||
3: transcribe(medium_set, tile_map), | ||
4: transcribe(small_set, tile_map), | ||
5: transcribe(tiny_set, tile_map), | ||
6: transcribe(one_grid_set, tile_map), | ||
7: transcribe(one_grid_set, tile_map), | ||
}, | ||
), | ||
mapgen_probability=10, | ||
ingame_probability=4, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
from industry.lib.industry import symmetrize | ||
|
||
enormous_set = symmetrize( | ||
[ | ||
( | ||
" xxxxxxxx ", | ||
" xxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxx ", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
" xxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxx ", | ||
" xxxxxxxx ", | ||
), | ||
( | ||
" xxxxxxxx ", | ||
" xxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxx ", | ||
" xxxxxxxx ", | ||
), | ||
( | ||
" xxxxxxx ", | ||
" xxxxxxxxxxx ", | ||
" xxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxxx", | ||
"xxxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxxx ", | ||
" xxxxxxxxxxxxx ", | ||
" xxxxxxxxxxx ", | ||
" xxxxxxx ", | ||
), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from industry.lib.industry import symmetrize | ||
|
||
huge_set = symmetrize( | ||
[ | ||
( | ||
" xxxxxx ", | ||
"xxxxxxxx", | ||
"xxxxxxxx", | ||
"xxxxxxxx", | ||
"xxxxxxxx", | ||
"xxxxxxxx", | ||
"xxxxxxxx", | ||
"xxxxxxxx", | ||
" xxxxxx ", | ||
), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
from industry.lib.industry import symmetrize | ||
|
||
large_set = symmetrize( | ||
[ | ||
( | ||
" xxxx ", | ||
"xxxxxx", | ||
"xxxxxx", | ||
"xxxxxx", | ||
"xxxxxx", | ||
"xxxxxx", | ||
" xxxx ", | ||
), | ||
( | ||
" xxxx ", | ||
"xxxxxx ", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
" xxxxx ", | ||
), | ||
( | ||
" xxxx ", | ||
"xxxxxx ", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
" xxxxxx", | ||
" xxxx ", | ||
), | ||
( | ||
" xxxxx ", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
"xxxxxxx", | ||
" xxxxx ", | ||
), | ||
] | ||
) |
Oops, something went wrong.