Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified necessary files for compatibility with game version 1.1 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Modified necessary files for compatibility with game version 1.1
Tastaturtaste committed Nov 24, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit cfd45730e9148a957c4879ee843cf16cfc9786e5
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.zip
105 changes: 105 additions & 0 deletions MaxRateCalculator/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---------------------------------------------------------------------------------------------------
Version: 3.4.48
Date: 2020-11-24
Changes:
- Updated factorio_version for 1.1
- Changed clean_cursor to clear_cursor

---------------------------------------------------------------------------------------------------
Version: 3.4.47
Date: 2020-10-11
Changes:
- Fixed crash with Space Exploration mod when creating tool

---------------------------------------------------------------------------------------------------
Version: 3.4.46
Changes:
- Fixes mostly for Kras2

---------------------------------------------------------------------------------------------------
Version: 3.4.39
Changes:
- Mining/pumpjack calculation improvements

---------------------------------------------------------------------------------------------------
Version: 3.4.38
Changes:
- Defensive coding against global debug not a lua table

---------------------------------------------------------------------------------------------------
Version: 3.4.37
Changes:
- Mining and pumpjack calculations

---------------------------------------------------------------------------------------------------
Version: 3.4.36
Changes:
- Belts and their speeds pulled from game tables rather than being hardcoded, now supports mods with faster belts

---------------------------------------------------------------------------------------------------
Version: 3.4.34
Changes:
- Fixed issue with Factorio 0.18.22 and hotkeys prototypes

---------------------------------------------------------------------------------------------------
Version: 3.4.33
Changes:
- Fixed issue with small beacons not seen next to large assemblers (Krastorio 2)
- Honor allowed_effects consumption flag or not
- Don't allow productivity to drop below zero

---------------------------------------------------------------------------------------------------
Version: 3.4.32
Changes:
- Use catalyst_amount for prod calcs. Fixes issue with kovarex recipe

---------------------------------------------------------------------------------------------------
Version: 3.4.31
Changes:
- Factorio 0.18 support

---------------------------------------------------------------------------------------------------
Version: 3.2.29
Changes:
- Save window location

---------------------------------------------------------------------------------------------------
Version: 3.2.28
Changes:
- Fix no recipe crash

---------------------------------------------------------------------------------------------------
Version: 3.2.27
Changes:
- Use most recent recipe if furnace has no current recipe

---------------------------------------------------------------------------------------------------
Version: 3.2.25
Changes:
- Window is moveable

---------------------------------------------------------------------------------------------------
Version: 3.1.24
Changes:
- Use only-in-cursor flag to keep selection tool out of inventory. Attempt at thumbnail.

---------------------------------------------------------------------------------------------------
Version: 3.1.23
Changes:
- Fix old-style probablistic calculations (Bob's Greenhouse)

---------------------------------------------------------------------------------------------------
Version: 3.1.22
Changes:
- Fix probablistic calculations (uranium processing)

---------------------------------------------------------------------------------------------------
Version: 3.1.21
Changes:
- Max Rate Calculator selection tool and 4 function calculator available on the quickbar

---------------------------------------------------------------------------------------------------
Version: 3.0.20
Changes:
- 0.17 support. Removed mining calculations. Needs general rate re-testing

2 changes: 1 addition & 1 deletion MaxRateCalculator/control.lua
Original file line number Diff line number Diff line change
@@ -1504,7 +1504,7 @@ local function on_hotkey_main(event)
end
end

player.clean_cursor()
player.clear_cursor()
if player.cursor_stack ~= nil -- muppet9010 reported crash accessing nil cursor_stack here when player died
then
if old_cursor_had_item ~= "max-rate-calculator" -- if already in hand, just clear it and get out
4 changes: 2 additions & 2 deletions MaxRateCalculator/info.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "MaxRateCalculator",
"author": "Theanderblast",
"version": "3.4.47",
"version": "3.4.48",
"title": "Max Rate Calculator",
"homepage": "",
"description": "Calculates maximum consumption/prodution rates of assemblers, plants, etc.",
"factorio_version":"1.0",
"factorio_version":"1.1",
"dependencies": ["base >= 0.16.1"]
}