From 082034c71745d9e36d69e4cb9c7b15a83918ae75 Mon Sep 17 00:00:00 2001 From: Suprcheese Date: Sun, 14 Jan 2018 22:52:53 -0800 Subject: [PATCH] Release v1.6.0 --- Readme.txt | 7 +++++-- changelog.txt | 5 ++++- control.lua | 5 +---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Readme.txt b/Readme.txt index ef2437a..9ea9e14 100644 --- a/Readme.txt +++ b/Readme.txt @@ -1,7 +1,7 @@ -Orbital Ion Cannon 1.5.3 +Orbital Ion Cannon 1.6.0 ======================== -Version 1.5.3 was released Auguest 24, 2017, was tested using Factorio v0.15.34, and was authored by Supercheese, with contributions from madmaxoft, bNarFProfCrazy, Danielv123, Yousei9, and WPettersson. +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. 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. @@ -73,6 +73,9 @@ Command and Conquer: Tiberian Sun was released as freeware in 2010. The ion beam that the ion cannon fires was obtained from: http://opengameart.org/content/top-down-sci-fi-shooter-pack It was uploaded by the user Tatermand under the CC-BY-SA license. +The Ion Cannon Targeting Device icon was obtained from: http://opengameart.org/content/%E2%80%9Calien%E2%80%9D-crosshairs + These were authored by Pyccna and submitted by the user Calinou, under the CC-BY License (https://creativecommons.org/licenses/by/3.0) + This mod makes use of the Factorio Standard Library by Afforess (https://github.com/Afforess/Factorio-Stdlib). Several portions of the control.lua code (et al.) were inspired by code from the following mods: diff --git a/changelog.txt b/changelog.txt index 9d6d73f..2c522ab 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,10 @@ --------------------------------------------------------------------------------------------------- Version: 1.6.0 -Date: 0. 1. 2018 +Date: 15. 1. 2018 Changes: + - Updated for Factorio 0.16. + - New icon for the Ion Cannon Targeting Device + - New (minor) animation for the ion cannon target location - It is no longer possible to designate a target for an ion cannon in an uncharted region using the zoom-to-map feature. Charted areas that are in the "fog of war" are, however, still valid. - When a new biter base is built in a revealed zone and would normally be auto-targeted immediately, but there are insufficient ion cannons available, it will now be queued up for targeting when the next ion cannon is ready. - Ion cannon alerts & map icons now contain the name of the user who designated the target, if applicable. diff --git a/control.lua b/control.lua index 7e3cc8d..3fe89cf 100644 --- a/control.lua +++ b/control.lua @@ -277,13 +277,10 @@ script.on_event(defines.events.on_player_cursor_stack_changed, function(event) playSoundForPlayer("unable-to-comply", player) return player.cursor_stack.clear() end - --player.character_build_distance_bonus = 5000 end - if player.cheat_mode or settings.get_player_settings(player)["ion-cannon-play-voices"].value and #global.forces_ion_cannon_table[player.force.name] > 0 and not isAllIonCannonOnCooldown(player) then + if (player.cheat_mode and settings.get_player_settings(player)["ion-cannon-play-voices"].value) or (settings.get_player_settings(player)["ion-cannon-play-voices"].value and #global.forces_ion_cannon_table[player.force.name] > 0 and not isAllIonCannonOnCooldown(player)) then playSoundForPlayer("select-target", player) end - else - --player.character_build_distance_bonus = 0 end end)