built on 12/12/2020 11:24:23

This commit is contained in:
Joachim Stolberg 2020-12-12 11:24:23 +01:00
parent 9c603c0232
commit b0bb384ac5
3 changed files with 5 additions and 4 deletions

View File

@ -228,15 +228,12 @@ end
-- Function removes the node from the techage lists. -- Function removes the node from the techage lists.
function techage.remove_node(pos, oldnode, oldmetadata) function techage.remove_node(pos, oldnode, oldmetadata)
local number = oldmetadata and oldmetadata.fields and oldmetadata.fields.node_number or oldmetadata.fields.number local number = oldmetadata and oldmetadata.fields and (oldmetadata.fields.node_number or oldmetadata.fields.number)
print("number1", dump(oldmetadata))
number = number or get_number(pos) number = number or get_number(pos)
print("number2", number)
if number and tonumber(number) then if number and tonumber(number) then
local key = minetest.hash_node_position(pos) local key = minetest.hash_node_position(pos)
NumbersToBeRecycled[key] = number NumbersToBeRecycled[key] = number
NodeInfoCache[number] = nil NodeInfoCache[number] = nil
print("number3", number)
end end
if oldnode and item_handling_node(oldnode.name) then if oldnode and item_handling_node(oldnode.name) then
Tube:after_dig_node(pos) Tube:after_dig_node(pos)

View File

@ -627,6 +627,8 @@ Dazu müssen eine oder mehrere Knotennummern eingegeben und der Konverter mit Me
über Mesecons Leitungen verbunden werden. Den Mesecons Umsetzer kann man auch mit dem Programmer konfigurieren. über Mesecons Leitungen verbunden werden. Den Mesecons Umsetzer kann man auch mit dem Programmer konfigurieren.
Der Mesecons Umsetzer akzeptiert bis zu 5 Kommandos pro Sekunde, bei höherer Belastung schaltet er sich ab. Der Mesecons Umsetzer akzeptiert bis zu 5 Kommandos pro Sekunde, bei höherer Belastung schaltet er sich ab.
**Dieser Block existiert aber nur, wenn die Mod mesecons aktiv ist!**
[ta3_mesecons_converter|image] [ta3_mesecons_converter|image]

View File

@ -619,6 +619,8 @@ To do this, one or more node numbers must be entered and the converter with Mese
has to be connected via Mesecons cables. The Mesecons converter can also be configured with the programmer. has to be connected via Mesecons cables. The Mesecons converter can also be configured with the programmer.
The Mesecons converter accepts up to 5 commands per second; it switches itself off at higher loads. The Mesecons converter accepts up to 5 commands per second; it switches itself off at higher loads.
**This node only exists if the mod mesecons is active!**
[ta3_mesecons_converter|image] [ta3_mesecons_converter|image]