mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 23:33:44 +01:00
v1.13.2 Harvester now continues now at that position, where it last switched to faulty
This commit is contained in:
parent
27dcc64e8c
commit
8fd4fef58a
@ -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)
|
## V1.13 Beta (2018-08-28)
|
||||||
|
|
||||||
### Additions
|
### Additions
|
||||||
|
|
||||||
- A Liquid Sampler node is added. It is able to take all kind or renewable liquids (registered via bucket.register_liquid)
|
- 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.
|
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.
|
- Smartline has a new IF-THIS-THEN-THAT Controller V2 which should be much simpler to use.
|
||||||
@ -15,37 +31,24 @@
|
|||||||
needed any more.
|
needed any more.
|
||||||
|
|
||||||
### Removals
|
### Removals
|
||||||
|
|
||||||
- recipe for sl_controller/batteries removed.
|
- recipe for sl_controller/batteries removed.
|
||||||
- Recipe for Smartline controller V1 removed.
|
- Recipe for Smartline controller V1 removed.
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
- Quarry can no go direct from FAULT into RUNNING without reset the digging position
|
- Quarry can no go direct from FAULT into RUNNING without reset the digging position
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
- bug in open/close door command for Minetest v0.4.17+ fixed
|
- 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
|
### Additions
|
||||||
|
|
||||||
- none
|
|
||||||
|
|
||||||
### Removals
|
### Removals
|
||||||
|
|
||||||
- none
|
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
- Unloaded pushers now return "blocked", if the status is requested.
|
|
||||||
Before, it returned the last stored state.
|
|
||||||
|
|
||||||
### Fixes
|
### 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)
|
local function start_the_machine(pos, this, meta)
|
||||||
this.running = RUNNING
|
this.running = RUNNING
|
||||||
this.idx = 0
|
|
||||||
this.working_pos = working_start_pos(pos)
|
this.working_pos = working_start_pos(pos)
|
||||||
meta:set_string("infotext", "Tubelib Harvester "..this.number..": running")
|
meta:set_string("infotext", "Tubelib Harvester "..this.number..": running")
|
||||||
meta:set_string("formspec", formspec(this, tubelib.RUNNING))
|
meta:set_string("formspec", formspec(this, tubelib.RUNNING))
|
||||||
@ -130,6 +129,7 @@ end
|
|||||||
|
|
||||||
local function stop_the_machine(pos, this, meta)
|
local function stop_the_machine(pos, this, meta)
|
||||||
this.running = STOP_STATE
|
this.running = STOP_STATE
|
||||||
|
this.idx = 0
|
||||||
meta:set_string("infotext", "Tubelib Harvester "..this.number..": stopped")
|
meta:set_string("infotext", "Tubelib Harvester "..this.number..": stopped")
|
||||||
meta:set_string("formspec", formspec(this, tubelib.STOPPED))
|
meta:set_string("formspec", formspec(this, tubelib.STOPPED))
|
||||||
minetest.get_node_timer(pos):stop()
|
minetest.get_node_timer(pos):stop()
|
||||||
@ -188,7 +188,7 @@ local function remove_or_replace_node(pos, inv, node, order)
|
|||||||
-- be used.
|
-- be used.
|
||||||
minetest.get_node_timer(pos):start(math.random(order.t1, order.t2))
|
minetest.get_node_timer(pos):start(math.random(order.t1, order.t2))
|
||||||
end
|
end
|
||||||
remove_all_sapling_items(pos)
|
remove_all_sapling_items(pos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
@ -312,7 +312,7 @@ local function on_receive_fields(pos, formname, fields, player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if fields.button ~= nil then
|
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)
|
stop_the_machine(pos, this, meta)
|
||||||
else
|
else
|
||||||
start_the_machine(pos, this, meta)
|
start_the_machine(pos, this, meta)
|
||||||
@ -350,7 +350,7 @@ minetest.register_node("tubelib_addons1:harvester_base", {
|
|||||||
running = STOP_STATE,
|
running = STOP_STATE,
|
||||||
endless = 0,
|
endless = 0,
|
||||||
radius = 6,
|
radius = 6,
|
||||||
idx = 1,
|
idx = 0,
|
||||||
max = (6+1+6) * (6+1+6)
|
max = (6+1+6) * (6+1+6)
|
||||||
}
|
}
|
||||||
meta:set_string("this", minetest.serialize(this))
|
meta:set_string("this", minetest.serialize(this))
|
||||||
|
Loading…
Reference in New Issue
Block a user