forked from jpanther/dectorio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update incompatible mods and notifications
- Loading branch information
Showing
8 changed files
with
47 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"name": "Dectorio", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"title": "Dectorio", | ||
"author": "PantherX", | ||
"contact": "", | ||
"homepage": "https://github.com/jpanther/Dectorio", | ||
"factorio_version": "0.16", | ||
"dependencies": ["base >= 0.16", "? alien-biomes >= 0.2.7"], | ||
"dependencies": ["base >= 0.16", "? alien-biomes >= 0.2.7", "? PickerTweaks >= 1.0.1"], | ||
"license": "GNU GPLv3", | ||
"description": "Adds decorative elements to beautify your factory. Currently includes coloured signals, wooden, chain-link, stone and concrete walls, hazard gates, signs, wooden floorboards, gravel and painted concrete styles." | ||
} |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
-- signal/final-fixes | ||
|
||
if DECT.ENABLED["signals"] then | ||
|
||
-- Get signals and update mappings (in case some new ones are added by other mods) | ||
local colors = DECT.CONFIG.SIGNALS | ||
for _, signal in pairs(data.raw["virtual-signal"]) do | ||
if not signal.order:find("colors") and signal.color then | ||
table.insert(colors, {type=signal.type, name=signal.name, color=signal.color}) | ||
end | ||
end | ||
|
||
local lamp = data.raw.lamp["small-lamp"] | ||
lamp.signal_to_color_mapping = colors | ||
|
||
local lamp_glow = data.raw.lamp["dect-small-lamp-glow"] | ||
lamp_glow.signal_to_color_mapping = colors | ||
|
||
end |
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