Overview
| Comment: | fug bixes |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b9235d8bfad1098890a07e9d6908f25e |
| User & Date: | lexi on 2021-07-07 13:08:36 |
| Other Links: | manifest | tags |
Context
|
2021-07-07
| ||
| 15:34 | add mounted keg for shelving units, fix altar visuals check-in: aba5ad057a user: lexi tags: trunk | |
| 13:08 | fug bixes check-in: b9235d8bfa user: lexi tags: trunk | |
| 12:57 | moretrees compat check-in: 641c891754 user: lexi tags: trunk | |
Changes
Modified liquid.lua from [b7e36caf54] to [1c87060d5d].
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
for i = 1*f,M*f do
local top = L.image('sorcery_trough_top_overlay.png')
if liq then top = top:blit(
L.image('sorcery_node_liquid.png'):multiply(L.color(liq.color))
) else top=top:blit(
L.image('sorcery_trough_bottom.png')
) end
local ttlc = function(liq) return
liq and string.format('%s Trough', L.str.capitalize(liq.name)),
liq and string.format('%s of %s', liq.measure(i * Q), liq.name)
end
local trough_title, trough_content = ttlc(liq)
local function trough_caption(pos,i,l)
local trough_title, trough_content = ttlc(l or liq)
minetest.get_meta(pos):set_string('infotext', i > 0 and string.format(
'%s\n(%s)', trough_title, trough_content
) or 'Empty Trough')
end
sorcery.register.residue.link(lid(i),lid(0))
minetest.register_node(':'..lid(i), {
description = liq and L.ui.tooltip {
|
| | | |
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
for i = 1*f,M*f do
local top = L.image('sorcery_trough_top_overlay.png')
if liq then top = top:blit(
L.image('sorcery_node_liquid.png'):multiply(L.color(liq.color))
) else top=top:blit(
L.image('sorcery_trough_bottom.png')
) end
local ttlc = function(liq,i) return
liq and string.format('%s Trough', L.str.capitalize(liq.name)),
liq and string.format('%s of %s', liq.measure(i * Q), liq.name)
end
local trough_title, trough_content = ttlc(liq,i)
local function trough_caption(pos,i,l)
local trough_title, trough_content = ttlc(l or liq,i)
minetest.get_meta(pos):set_string('infotext', i > 0 and string.format(
'%s\n(%s)', trough_title, trough_content
) or 'Empty Trough')
end
sorcery.register.residue.link(lid(i),lid(0))
minetest.register_node(':'..lid(i), {
description = liq and L.ui.tooltip {
|