make formspec mouseover highlighting work again
This commit is contained in:
@@ -32,7 +32,7 @@ minetest.register_craft({
|
||||
|
||||
local function make_reactor_formspec(meta)
|
||||
local f = "size[8,9]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
@@ -20,7 +20,7 @@ local workshop_demand = {5000, 3500, 2000}
|
||||
|
||||
local workshop_formspec =
|
||||
"size[8,9;]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
@@ -15,7 +15,7 @@ minetest.register_craft({
|
||||
local machine_name = S("Fuel-Fired Alloy Furnace")
|
||||
local formspec =
|
||||
"size[8,9]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
@@ -129,7 +129,7 @@ minetest.register_abm({
|
||||
technic.swap_node(pos, "technic:coal_alloy_furnace_active")
|
||||
meta:set_string("formspec",
|
||||
"size[8,9]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
@@ -146,7 +146,7 @@ local function make_constructor(mark, length)
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local formspec = "size[8,9;]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
@@ -56,7 +56,7 @@ local function set_injector_formspec(meta)
|
||||
local is_stack = meta:get_string("mode") == "whole stacks"
|
||||
meta:set_string("formspec",
|
||||
"size[8,9;]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
@@ -162,7 +162,7 @@ function technic.register_battery_box(data)
|
||||
|
||||
local formspec =
|
||||
"size[8,9]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
@@ -36,7 +36,7 @@ function technic.register_generator(data)
|
||||
|
||||
local generator_formspec =
|
||||
"size[8,9;]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
@@ -51,7 +51,7 @@ function technic.register_base_machine(data)
|
||||
|
||||
local formspec =
|
||||
"size[8,9;]"..
|
||||
"listcolors[#00000000;#00000000;#00000000;"..
|
||||
"listcolors[#00000000;"..dreambuilder_theme.listcolor_slot_bg_hover..";#00000000;"..
|
||||
dreambuilder_theme.tooltip_bgcolor..";"..
|
||||
dreambuilder_theme.tooltip_fontcolor.."]"..
|
||||
"image[-0.1,4.93;10.03,4.65;technic_standard_inv.png]"..
|
||||
|
Reference in New Issue
Block a user