diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4c4ffc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.zip diff --git a/README.md b/README.md index 05582ac..2f7d55d 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,15 @@ # Epic Artillery Sounds -(Please note: This is a quick and dirty port to 0.18. As soon as the original is ported to 0.18, this will be removed.) +### Features +Changes the vanilla artillery sound to a far more powerful, resonant one. Bring the thunder to Factorio. -Description -- Changes the vanilla artillery sound to a far more powerful, resonant one. Bring the thunder to Factorio. -- Sound borrowed (then edited) from World of Tanks +### Compatibility +This mod should work with all modded filter inserters, but I specifically added compatibility for the following mods: -Credit: ++ [Bob's Adjustable Inserters](https://mods.factorio.com/mod/bobinserters) - rotated pickup positions ++ [Informatron](https://mods.factorio.com/mod/informatron) - informational page to explain modes + +### Credits - Thanks to [MadClown01](https://mods.factorio.com/user/MadClown01) for the [original mod](https://mods.factorio.com/mod/Epic-Artillery-Sounds). +- Sound borrowed (then edited) from World of Tanks \ No newline at end of file diff --git a/changelog.txt b/changelog.txt index 433ed0f..919756e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 0.18.2 +Date: 2020-03-23 + Features: + - Added integration for Light Artillery +--------------------------------------------------------------------------------------------------- Version: 0.18.1 Date: 22. 2. 2020 Changes: diff --git a/data.lua b/data.lua index e22cdcc..a69fa54 100644 --- a/data.lua +++ b/data.lua @@ -1,3 +1,5 @@ +-- data.lua + data.raw.item["artillery-turret"].sound = { filename = "__EpicArtillerySounds__/sounds/KABOOM.ogg", @@ -8,4 +10,8 @@ data.raw.gun["artillery-wagon-cannon"].attack_parameters.sound = { filename = "__EpicArtillerySounds__/sounds/KABOOM.ogg", volume = 1 -} \ No newline at end of file +} + +-- integrations + +require("integrations.lightArtillery.data") \ No newline at end of file diff --git a/info.json b/info.json index c346cde..cd98a27 100644 --- a/info.json +++ b/info.json @@ -1,9 +1,12 @@ { "name": "EpicArtillerySounds", - "version": "0.18.1", + "version": "0.18.2", "title": "Epic Artillery Sounds", "author": "Wyrrrd", "factorio_version": "0.18", - "dependencies": ["base >= 0.18"], + "dependencies": [ + "base >= 0.18", + "? lightArtillery >= 0.2.7" + ], "description": "Bring the thunder to Factorio" } \ No newline at end of file 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