Skip to content

Commit

Permalink
0.3.0 Release
Browse files Browse the repository at this point in the history
Former-commit-id: 82d1a9e [formerly 437fd5c]
Former-commit-id: 82d1a9e
Former-commit-id: 17ca6be
  • Loading branch information
Nexela committed Jul 17, 2017
1 parent b13b09f commit 78e78f6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
6 changes: 0 additions & 6 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ function MOD.on_configuration_changed(event)
local changes = event.data.mod_changes[MOD.name]
if changes then -- This Mod has changed
MOD.log("Updated from ".. tostring(changes.old_version) .. " to " .. tostring(changes.new_version), 2)
if changes.new_version == "0.2.6" then
MOD.log("Resetting all technologies")
for _, force in pairs(game.forces) do
force.reset_technology_effects()
end
end
end
end
end
Expand Down
6 changes: 6 additions & 0 deletions data-final-fixes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ local Area = require('stdlib.area.area')
for _, storage_tank in pairs(data.raw["storage-tank"]) do
storage_tank.fast_replaceable_group = "storage-tank-"..Area.size(Area.round_to_integer(storage_tank.collision_box))
end

for _, fluid in pairs(data.raw.fluid) do
if fluid.gas_temperature then
log(fluid.name .. fluid.gas_temperature)
end
end
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pycoalprocessing",
"version": "0.2.6",
"version": "0.3.0",
"factorio_version": "0.15",
"title": "Pyanodons Coal Processing",
"author": "Pyanodon, Nexela",
Expand Down
6 changes: 0 additions & 6 deletions interface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,4 @@ end
--Require the awesome console for quick script debugging
interface.console = require("stdlib.utils.console")

--Register with creative-mode for easy testing
--if remote.interfaces["creative-mode"] and remote.interfaces["creative-mode"]["register_remote_function_to_modding_ui"] then
-- remote.call("creative-mode", "register_remote_function_to_modding_ui", "PYC", "write_global")
-- remote.call("creative-mode", "register_remote_function_to_modding_ui", "PYC", "console")
--end

return interface
3 changes: 3 additions & 0 deletions migrations/pYCoalprocessing_0.3.0.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
for _, force in pairs(game.forces) do
force.reset_technology_effects()
end

0 comments on commit 78e78f6

Please sign in to comment.