-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent Yuoki Industries icons from causing a desync - Fixes #82
- Loading branch information
Showing
7 changed files
with
32 additions
and
10 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 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 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 |
---|---|---|
@@ -1,6 +1,19 @@ | ||
-- third-party/config | ||
|
||
-- Config changes for Alien Biomes | ||
if settings.startup["alien-biomes-terrain-scale"] then | ||
-- Alien Biomes | ||
if mods["alien-biomes"] then | ||
-- Only supports blue water tiles | ||
DECT.CONFIG.BASE_WATER_TILES = {"water", "deepwater"} | ||
-- Remove the tile icons from signs | ||
table.insert(DECT.CONFIG.SIGN_BLACKLIST, "dect%-alien%-biomes") | ||
end | ||
|
||
-- Yuoki Industries | ||
if mods["Yuoki"] or mods["yi_railway"] then | ||
-- Causes multiplayer desyncs when using icon sprites on signs | ||
log("Yuoki Industries detected, blacklisting sign icons.") | ||
local yuoki_blacklist = {"y_", "y%-", "ye_", "yi_", "yie_", "yir_", "z_yira_", "ypfw_"} | ||
for _, item in pairs(yuoki_blacklist) do | ||
table.insert(DECT.CONFIG.SIGN_BLACKLIST, item) | ||
end | ||
end |