diff --git a/Readme.txt b/Readme.txt index 9ea9e14..7babe6a 100644 --- a/Readme.txt +++ b/Readme.txt @@ -1,7 +1,7 @@ -Orbital Ion Cannon 1.6.0 +Orbital Ion Cannon 1.6.1 ======================== -Version 1.6.0 was released January 15, 2018, was tested using Factorio v0.16.16, and was authored by Supercheese, with contributions from madmaxoft, bNarFProfCrazy, Danielv123, Yousei9, WPettersson, and Martok88. +Version 1.6.1 was released January 18, 2018, was tested using Factorio v0.16.16, and was authored by Supercheese, with contributions from madmaxoft, bNarFProfCrazy, Danielv123, Yousei9, WPettersson, and Martok88. Do you have a large, late-game megabase and wish there were more cool things you could build? Do you wish you could do more with the rockets you launch than just increment a single number? Do you really hate biters? If so, then this mod is for you! Build a giant ion cannon and launch it into orbit with a rocket, wait for it to charge up, and then you're ready to call down the thunder on those pesky aliens. diff --git a/changelog.txt b/changelog.txt index 7d51a17..89064dc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,12 @@ --------------------------------------------------------------------------------------------------- +Version: 1.6.1 +Date: 18. 1. 2018 + Changes: + - Changed map marker icon. + - Switch to new play_sound() function rather than spawning "explosion"-type entities to play sounds. + Bugfixes: + - Fixed error with auto-targeting. +--------------------------------------------------------------------------------------------------- Version: 1.6.0 Date: 15. 1. 2018 Changes: diff --git a/control.lua b/control.lua index 9748195..dd38d98 100644 --- a/control.lua +++ b/control.lua @@ -348,7 +348,6 @@ end function playSoundForPlayer(sound, player) local voice = settings.get_player_settings(player)["ion-cannon-voice-style"].value - -- player.surface.create_entity({name = sound .. "-" .. voice, position = player.position}) player.play_sound({path = sound .. "-" .. voice}) end @@ -394,7 +393,6 @@ function targetIonCannon(force, position, surface, player) for i, player in pairs(game.connected_players) do if settings.get_player_settings(player)["ion-cannon-play-klaxon"].value and global.klaxonTick < current_tick then global.klaxonTick = current_tick + 60 - -- player.surface.create_entity({name = "klaxon", position = player.position}) player.play_sound({path = "ion-cannon-klaxon"}) end end diff --git a/info.json b/info.json index 2ed59a0..1e4367f 100644 --- a/info.json +++ b/info.json @@ -1,10 +1,10 @@ { "name": "Orbital Ion Cannon", - "version": "1.6.0", + "version": "1.6.1", "factorio_version": "0.16", "title": "Orbital Ion Cannon", "author": "Supercheese", "homepage": "http://www.factorioforums.com/forum/viewtopic.php?f=93&t=17910", - "dependencies": ["base >= 0.15.0", "? bobwarfare >= 0.15.0", "? bobpower >= 0.15.0", "? bobtech >= 0.15.0", "? bobelectronics >= 0.15.0"], + "dependencies": ["base >= 0.16.0", "? bobwarfare >= 0.16.0", "? bobpower >= 0.16.0", "? bobtech >= 0.16.0", "? bobelectronics >= 0.16.0"], "description": "When you need to call down the thunder to deal with those pesky biters, launch a rocket with an ion cannon into orbit and show the bugs who's boss." }