Tweak item appearance of internal items

This commit is contained in:
Wuzzy 2019-12-09 22:32:40 +01:00
parent 47f7b21190
commit e09a72ed59
9 changed files with 15 additions and 8 deletions

View file

@ -136,7 +136,6 @@ mesecon.register_button = function(basename, description, texture, recipeitem, s
drawtype = "nodebox",
tiles = {texture},
wield_image = "mesecons_button_wield_mask.png^"..texture.."^mesecons_button_wield_mask.png^[makealpha:255,126,126",
inventory_image = "mesecons_button_wield_mask.png^"..texture.."^mesecons_button_wield_mask.png^[makealpha:255,126,126",
wield_scale = { x=1, y=1, z=0.5},
paramtype = "light",
paramtype2 = "wallmounted",

View file

@ -220,8 +220,15 @@ else
help = false
end
local desc_off
if i == 1 then
desc_off = S("Redstone Repeater")
else
desc_off = S("Redstone Repeater (Delay @1)", i)
end
minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
description = S("Redstone Repeater"),
description = desc_off,
inventory_image = icon,
wield_image = icon,
_doc_items_create_entry = help,
@ -294,7 +301,7 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
description = S("Redstone Repeater (Powered)"),
description = S("Redstone Repeater (Delay @1, Powered)", i),
_doc_items_create_entry = false,
drawtype = "nodebox",
tiles = {

View file

@ -6,3 +6,5 @@ Redstone Repeater=Redstoneverstärker
Redstone Repeater (Powered)=Redstoneverstärker (bestromt)
Redstone Repeater (Locked)=Redstoneverstärker (gesperrt)
Redstone Repeater (Locked, Powered)=Redstoneverstärker (gesperrt, bestromt)
Redstone Repeater (Delay @1)=Redstoneverstärker (Verzögerung @1)
Redstone Repeater (Delay @1, Powered)=Redstoneverstärker (Verzögerung @1, bestromt)

View file

@ -6,3 +6,5 @@ Redstone Repeater=
Redstone Repeater (Powered)=
Redstone Repeater (Locked)=
Redstone Repeater (Locked, Powered)=
Redstone Repeater (Delay @1)=
Redstone Repeater (Delay @1, Powered)=

View file

@ -130,6 +130,7 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
selection_box = pp_box_on,
groups = groups_on,
tiles = textures_on,
description = "",
mesecons = {receptor = { state = mesecon.state.on, rules = mesecon.rules.pplate }},
_doc_items_create_entry = false,

View file

@ -20,7 +20,6 @@ minetest.register_node("mesecons_solarpanel:solar_panel_on", {
fixed = boxes
},
drop = "mesecons_solarpanel:solar_panel_off",
description=S("Daylight Sensor"),
_doc_items_create_entry = false,
groups = {handy=1,axey=1, not_in_creative_inventory = 1, material_wood=1},
sounds = mcl_sounds.node_sound_glass_defaults(),
@ -139,7 +138,6 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_on", {
},
drop = "mesecons_solarpanel:solar_panel_off",
groups = {handy=1,axey=1, not_in_creative_inventory = 1, material_wood=1},
description=S("Inverted Daylight Sensor"),
_doc_items_create_entry = false,
sounds = mcl_sounds.node_sound_glass_defaults(),
mesecons = {receptor = {

View file

@ -111,7 +111,6 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
tiles = {
"jeija_wall_lever_lever_light_on.png",
},
inventory_image = "jeija_wall_lever.png",
paramtype = "light",
paramtype2 = "facedir",
mesh = "jeija_wall_lever_on.obj",
@ -124,7 +123,6 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
groups = {handy=1, not_in_creative_inventory = 1, dig_by_water=1, destroy_by_lava_flow=1, dig_by_piston=1, attached_node_facedir=1},
is_ground_content = false,
drop = '"mesecons_walllever:wall_lever_off" 1',
description=S("Lever"),
_doc_items_create_entry = false,
on_rightclick = function (pos, node)
minetest.swap_node(pos, {name="mesecons_walllever:wall_lever_off", param2=node.param2})

View file

@ -183,6 +183,7 @@ minetest.register_node("mcl_hoppers:hopper", def_hopper_enabled)
-- Disabled downwards hopper
local def_hopper_disabled = table.copy(def_hopper)
def_hopper_disabled.description = S("Disabled Hopper")
def_hopper_disabled.inventory_image = nil
def_hopper_disabled._doc_items_create_entry = false
def_hopper_disabled.groups.not_in_creative_inventory = 1
def_hopper_disabled.drop = "mcl_hoppers:hopper"

View file

@ -137,7 +137,6 @@ function xpanes.register_pane(name, def)
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
description = def.description,
_doc_items_create_entry = false,
tiles = {def.textures[3], def.textures[2], def.textures[1]},
use_texture_alpha = def.use_texture_alpha,