Skip to content

Commit

Permalink
Support for Factorio 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DerMistkaefer committed Dec 6, 2020
1 parent 0b0d72b commit 31dc517
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 25 deletions.
26 changes: 4 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,9 @@
# Factorio_Better-Belts
This Mod adds Better Belts and Loaders.

https://mods.factorio.com/mods/DerMistkaefer/BetterBelts

# Changelog
1.2.0 - Update to Factorio 1.0

1.1.6 - Update to 0.18

1.1.5 - Update to 0.17 by poempelfox - https://github.com/poempelfox

1.1.4 - Update to 0.16 by XiNaru

1.1.3 - Add missing Highresoulution Images | Repaint all Images to fix the green Bleeding | Fix Alpha Issues | Add Loader Grafixs from Angel's Logistics | Add new Loader Icon -https://mods.factorio.com/mods/DerMistkaefer/BetterBelts/discussion/12923

1.1.2 - Fix Sprite Image Problems - https://mods.factorio.com/mods/DerMistkaefer/BetterBelts/discussion/11497

1.1.1 - Fix Icon Size Problems

1.1.0 - Update to 0.15
This Mod adds Better Belts and Loaders.

1.0.2 - fix recipes
[https://mods.factorio.com/mods/DerMistkaefer/BetterBelts](https://mods.factorio.com/mods/DerMistkaefer/BetterBelts)

1.0.1 - fix recipes
## Changelog

1.0.0 - First Release
[Factorio Changelog File](../master/changelog.txt)
66 changes: 66 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---------------------------------------------------------------------------------------------------
Version: 1.3.0
Date: 06.12.2020
Features:
- Support for Factorio 1.1
---------------------------------------------------------------------------------------------------
Version: 1.2.0
Date: 14.08.2020
Features:
- Support for Factorio 1.0
---------------------------------------------------------------------------------------------------
Version: 1.1.6
Date: 28.01.2020
Features:
- Support for Factorio 0.18
---------------------------------------------------------------------------------------------------
Version: 1.1.5
Date: 08.03.2019
Features:
- Support for Factorio 0.17 by poempelfox - https://github.com/poempelfox
---------------------------------------------------------------------------------------------------
Version: 1.1.4
Date: 09.12.2018
Features:
- Support for Factorio 0.16 by XiNaru
---------------------------------------------------------------------------------------------------
Version: 1.1.3
Date: 27.05.2017
Bugfixes:
- Add missing Highresoulution Images
- Repaint all Images to fix the green Bleeding
- Fix Alpha Issues
- Add Loader Grafixs from Angel's Logistics
- Add new Loader Icon
- https://mods.factorio.com/mods/DerMistkaefer/BetterBelts/discussion/12923
---------------------------------------------------------------------------------------------------
Version: 1.1.2
Date: 10.05.2017
Bugfixes:
- Fix Sprite Image Problems
- https://mods.factorio.com/mods/DerMistkaefer/BetterBelts/discussion/11497
---------------------------------------------------------------------------------------------------
Version: 1.1.1
Date: xx.xx.2017
Bugfixes:
- Fix Icon Size Problems
---------------------------------------------------------------------------------------------------
Version: 1.1.0
Date: xx.xx.2017
Features:
- Support for Factorio 0.15
---------------------------------------------------------------------------------------------------
Version: 1.0.2
Date: xx.xx.2016
Bugfixes:
- Fix Recipes
---------------------------------------------------------------------------------------------------
Version: 1.0.1
Date: xx.xx.2016
Bugfixes:
- Fix Recipes
---------------------------------------------------------------------------------------------------
Version: 1.0.0
Date: xx.xx.2016
Features:
- First Release
13 changes: 12 additions & 1 deletion data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function BetterBelts_addItem(baseName,thisName,thisOrder)
obj.icon_mipmaps = 0
obj.place_result = obj.name
obj.order = thisOrder
if baseName == "express-loader" then obj.flags = {"goes-to-quickbar"} end
if baseName == "fast-loader" then obj.flags = null end

data.raw[obj.type][obj.name] = obj
end
Expand All @@ -54,6 +54,7 @@ function BetterBelts_addRecipe(baseName,thisName,thisIngredients)
local obj = util.table.deepcopy(data.raw["recipe"][baseName])
obj.name = BB.modName .. "_" .. thisName
obj.enabled = false
obj.hidden = false
obj.ingredients = thisIngredients
obj.result = obj.name
data.raw[obj.type][obj.name] = obj
Expand Down Expand Up @@ -152,14 +153,24 @@ function BetterBelts_addEntity_Splitter(beltName,beltSpeed,beltMax_distance)

obj.structure.north.filename = BB.baseGraphicsEntity .. beltName .. "-north.png"
obj.structure.east.filename = BB.baseGraphicsEntity .. beltName .. "-east.png"
obj.structure.east.height = 80
obj.structure.east.shift = util.by_pixel(4, -6)
obj.structure.south.filename = BB.baseGraphicsEntity .. beltName .. "-south.png"
obj.structure.west.filename = BB.baseGraphicsEntity .. beltName .. "-west.png"
obj.structure.west.height = 76
obj.structure.west.shift = util.by_pixel(6, -4)

obj.structure.north.hr_version.filename = BB.baseGraphicsEntity .. "hr-" .. beltName .. "-north.png"
obj.structure.east.hr_version.filename = BB.baseGraphicsEntity .. "hr-" .. beltName .. "-east.png"
obj.structure.east.hr_version.height = 160
obj.structure.east.hr_version.shift = util.by_pixel(4, -6)
obj.structure.south.hr_version.filename = BB.baseGraphicsEntity .. "hr-" .. beltName .. "-south.png"
obj.structure.west.hr_version.filename = BB.baseGraphicsEntity .. "hr-" .. beltName .. "-west.png"
obj.structure.west.hr_version.height = 150
obj.structure.west.hr_version.shift = util.by_pixel(5, -4)

obj.structure_patch = null

obj.belt_horizontal = ultra_belt_horizontal
obj.belt_vertical = ultra_belt_vertical
obj.ending_top = ultra_belt_ending_top
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "BetterBelts",
"version": "1.2.0",
"version": "1.3.0",
"title": "Better Belts",
"author": "DerMistkaefer, adcrafter27, LaVADraGoN, Updated by: XiNaru",
"contact": "dermistkaefer@gmail.com",
"homepage": "https://github.com/DerMistkaefer/Factorio_Better-Belts",
"description": "This Mod adds Better Belts and Loaders",
"factorio_version": "1.0",
"factorio_version": "1.1",
"dependencies": ["base >= 1.0.0"]
}
Binary file added thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 31dc517

Please sign in to comment.