v1.13.2 Harvester now continues now at that position, where it last switched to faulty

This commit is contained in:
Joachim Stolberg 2018-09-05 11:06:49 +02:00
parent 27dcc64e8c
commit 8fd4fef58a
2 changed files with 23 additions and 20 deletions

@ -2,10 +2,26 @@
## V1.13.2 Beta (2018-09-05)
### Changes
- Harvester now continues now at that position, where it last switched to faulty.
## V1.13.1 Beta (2018-09-02)
### Changes
- Unloaded pushers now return "blocked", if the status is requested.
Before, it returned the last stored state.
### Fixes
- Bug in the "HighPerf Pushing Chest" fixed. For the case the node pushes items
in its own chest, the items went lost.
## V1.13 Beta (2018-08-28)
### Additions
- A Liquid Sampler node is added. It is able to take all kind or renewable liquids (registered via bucket.register_liquid)
Currently only useful for recipes where a water-bucket is needed.
- Smartline has a new IF-THIS-THEN-THAT Controller V2 which should be much simpler to use.
@ -15,37 +31,24 @@
needed any more.
### Removals
- recipe for sl_controller/batteries removed.
- Recipe for Smartline controller V1 removed.
### Changes
- Quarry can no go direct from FAULT into RUNNING without reset the digging position
### Fixes
- bug in open/close door command for Minetest v0.4.17+ fixed
## V1.13.1 Beta (2018-09-02)
-------------------------------------------------------------
## Vx.xx.x (2018-mm-dd)
### Additions
- none
### Removals
- none
### Changes
- Unloaded pushers now return "blocked", if the status is requested.
Before, it returned the last stored state.
### Fixes
- Bug in the "HighPerf Pushing Chest" fixed. For the case the node pushes items
in its own chest, the items went lost.

@ -119,7 +119,6 @@ end
local function start_the_machine(pos, this, meta)
this.running = RUNNING
this.idx = 0
this.working_pos = working_start_pos(pos)
meta:set_string("infotext", "Tubelib Harvester "..this.number..": running")
meta:set_string("formspec", formspec(this, tubelib.RUNNING))
@ -130,6 +129,7 @@ end
local function stop_the_machine(pos, this, meta)
this.running = STOP_STATE
this.idx = 0
meta:set_string("infotext", "Tubelib Harvester "..this.number..": stopped")
meta:set_string("formspec", formspec(this, tubelib.STOPPED))
minetest.get_node_timer(pos):stop()
@ -188,7 +188,7 @@ local function remove_or_replace_node(pos, inv, node, order)
-- be used.
minetest.get_node_timer(pos):start(math.random(order.t1, order.t2))
end
remove_all_sapling_items(pos)
remove_all_sapling_items(pos)
end
end
return true
@ -312,7 +312,7 @@ local function on_receive_fields(pos, formname, fields, player)
end
if fields.button ~= nil then
if this.running > STOP_STATE or this.running == FAULT_STATE then
if this.running > STOP_STATE then
stop_the_machine(pos, this, meta)
else
start_the_machine(pos, this, meta)
@ -350,7 +350,7 @@ minetest.register_node("tubelib_addons1:harvester_base", {
running = STOP_STATE,
endless = 0,
radius = 6,
idx = 1,
idx = 0,
max = (6+1+6) * (6+1+6)
}
meta:set_string("this", minetest.serialize(this))