1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

new flow logic: algorithmic and value tuning for non-finite mode

This commit is contained in:
thetaepsilon-gamedev
2017-10-08 11:32:08 +01:00
parent f94c93bb59
commit 6a25e56336
2 changed files with 8 additions and 5 deletions

View File

@ -377,7 +377,7 @@ minetest.register_node(nodename_spigot_loaded, {
-- register both so existing flowing spigots continue to work (even if the visual doesn't match the spigot's behaviour).
new_flow_logic_register.simple(nodename_spigot_empty)
new_flow_logic_register.simple(nodename_spigot_loaded)
local spigot_upper = 1.5
local spigot_upper = 1.0
local spigot_lower = 1.0
local spigot_neighbours={{x=0, y=-1, z=0}}
new_flow_logic_register.output_simple(nodename_spigot_empty, spigot_upper, spigot_lower, spigot_neighbours)
@ -671,7 +671,7 @@ minetest.register_node(nodename_fountain_loaded, {
})
new_flow_logic_register.simple(nodename_fountain_empty)
new_flow_logic_register.simple(nodename_fountain_loaded)
local fountain_upper = 1.5
local fountain_upper = 1.0
local fountain_lower = 1.0
local fountain_neighbours={{x=0, y=1, z=0}}
new_flow_logic_register.output_simple(nodename_fountain_empty, fountain_upper, fountain_lower, fountain_neighbours)