diff --git a/README.md b/README.md index cb3f4a4..ddf488f 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Changes the vanilla artillery sound to a far more powerful, resonant one. Bring This mod should just work, but I specifically added compatibility for the following mods: + [Bigger Artillery](https://mods.factorio.com/mod/bigger-artillery) - also added (louder) sound to turret and wagon ++ [Light Artillery](https://mods.factorio.com/mod/lightArtillery) - also added sound to turret and wagon ### Credits Thanks to [MadClown01](https://mods.factorio.com/user/MadClown01) for the [original mod](https://mods.factorio.com/mod/Epic-Artillery-Sounds). diff --git a/changelog.txt b/changelog.txt index ff04770..1e78500 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.0.1 +Date: 2024-11-06 + Features: + - Re-added integration for Light Artillery +--------------------------------------------------------------------------------------------------- Version: 2.0.0 Date: 24-10-26 Changes: diff --git a/data.lua b/data.lua index 75f0763..07ac38a 100644 --- a/data.lua +++ b/data.lua @@ -14,4 +14,5 @@ data.raw.gun["artillery-wagon-cannon"].attack_parameters.sound = -- integrations +require("integrations.lightArtillery.data") require("integrations.bigger-artillery.data") \ No newline at end of file diff --git a/info.json b/info.json index a55aa88..afe75ca 100644 --- a/info.json +++ b/info.json @@ -1,11 +1,12 @@ { "name": "EpicArtillerySounds", - "version": "2.0.0", + "version": "2.0.1", "title": "Epic Artillery Sounds", "author": "Wyrrrd", "factorio_version": "2.0", "dependencies": [ "base >= 2.0.0", + "? lightArtillery >= 0.6.27", "? bigger-artillery >= 0.7.1" ], "description": "Bring the thunder to Factorio" diff --git a/integrations/lightArtillery/data.lua b/integrations/lightArtillery/data.lua new file mode 100644 index 0000000..2ea61cc --- /dev/null +++ b/integrations/lightArtillery/data.lua @@ -0,0 +1,13 @@ +if mods["lightArtillery"] then + data.raw.item["derpy-artillery"].sound = + { + filename = "__EpicArtillerySounds__/sounds/KABOOM.ogg", + volume = 1 + } + + data.raw.gun["derpy-artillery-gun"].attack_parameters.sound = + { + filename = "__EpicArtillerySounds__/sounds/KABOOM.ogg", + volume = 1 + } +end \ No newline at end of file