Skip to content

Commit

Permalink
update for Factorio 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
sparr committed Mar 25, 2018
1 parent dd651ed commit 3d4df50
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ Suggested approaches for avoiding overflowing belts:

Suggested approaches for minimizing damage from overflow:
* Ensure no belt terminates near another belt
* Use smart inserters to filter trash from belts before they reach your assemblers
* Use splitter filters or smart inserters to filter trash from belts before they reach your assemblers

Known bugs:
* Some side loading configurations overflow incorrectly
4 changes: 2 additions & 2 deletions control.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local mod_version="0.15.0"
local mod_version="0.16.0"
local mod_data_version="0.13.0"

global.terminal_belts = global.terminal_belts
Expand Down Expand Up @@ -538,7 +538,7 @@ script.on_event(defines.events.on_robot_built_entity, onPlaceEntity)

script.on_event(defines.events.on_player_rotated_entity, onPlaceEntity)

script.on_event(defines.events.on_preplayer_mined_item, onRemoveEntity)
script.on_event(defines.events.on_pre_player_mined_item, onRemoveEntity)
script.on_event(defines.events.on_robot_pre_mined, onRemoveEntity)
script.on_event(defines.events.on_entity_died, onRemoveEntity)

Expand Down
6 changes: 3 additions & 3 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "belt-overflow",
"version": "0.15.4",
"version": "0.16.0",
"title": "Belt Overflow",
"author": "Sparr",
"homepage": "http://github.com/sparr/factorio-mod-belt-overflow",
"contact": "[email protected]",
"description": "Causes full belts to overflow at the end.",
"dependencies": ["base >= 0.15.0"],
"factorio_version": "0.15"
"dependencies": ["base >= 0.16.0"],
"factorio_version": "0.16"
}
7 changes: 5 additions & 2 deletions prototypes/entity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ data:extend({
name = "belt-overflow-indicator",
flags = {"placeable-neutral", "not-on-map"},
icon = "__belt-overflow__/graphics/indicator.png",
icon_size = 32,
collision_mask = { "ghost-layer"},
subgroup = "grass",
order = "b[decorative]-b[belt-overflow-indicator]",
Expand All @@ -24,7 +25,8 @@ data:extend({
type = "simple-entity",
name = "belt-overflow-indicator-wide",
flags = {"placeable-neutral", "not-on-map"},
icon = "__belt-overflow__/graphics/indicator-wide.png",
icon = "__belt-overflow__/graphics/indicator.png",
icon_size = 32,
collision_mask = { "ghost-layer"},
subgroup = "grass",
order = "b[decorative]-b[belt-overflow-indicator-wide]",
Expand All @@ -45,7 +47,8 @@ data:extend({
type = "simple-entity",
name = "belt-overflow-indicator-tall",
flags = {"placeable-neutral", "not-on-map"},
icon = "__belt-overflow__/graphics/indicator-tall.png",
icon = "__belt-overflow__/graphics/indicator.png",
icon_size = 32,
collision_mask = { "ghost-layer"},
subgroup = "grass",
order = "b[decorative]-b[belt-overflow-indicator-tall]",
Expand Down

0 comments on commit 3d4df50

Please sign in to comment.