1
0
Fork 0

Tweak item appearance of internal items

objects
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", drawtype = "nodebox",
tiles = {texture}, tiles = {texture},
wield_image = "mesecons_button_wield_mask.png^"..texture.."^mesecons_button_wield_mask.png^[makealpha:255,126,126", 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}, wield_scale = { x=1, y=1, z=0.5},
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",

View File

@ -220,8 +220,15 @@ else
help = false help = false
end 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), { minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
description = S("Redstone Repeater"), description = desc_off,
inventory_image = icon, inventory_image = icon,
wield_image = icon, wield_image = icon,
_doc_items_create_entry = help, _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), { 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, _doc_items_create_entry = false,
drawtype = "nodebox", drawtype = "nodebox",
tiles = { tiles = {

View File

@ -6,3 +6,5 @@ Redstone Repeater=Redstoneverstärker
Redstone Repeater (Powered)=Redstoneverstärker (bestromt) Redstone Repeater (Powered)=Redstoneverstärker (bestromt)
Redstone Repeater (Locked)=Redstoneverstärker (gesperrt) Redstone Repeater (Locked)=Redstoneverstärker (gesperrt)
Redstone Repeater (Locked, Powered)=Redstoneverstärker (gesperrt, bestromt) 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 (Powered)=
Redstone Repeater (Locked)= Redstone Repeater (Locked)=
Redstone Repeater (Locked, Powered)= 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, selection_box = pp_box_on,
groups = groups_on, groups = groups_on,
tiles = textures_on, tiles = textures_on,
description = "",
mesecons = {receptor = { state = mesecon.state.on, rules = mesecon.rules.pplate }}, mesecons = {receptor = { state = mesecon.state.on, rules = mesecon.rules.pplate }},
_doc_items_create_entry = false, _doc_items_create_entry = false,

View File

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

View File

@ -111,7 +111,6 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
tiles = { tiles = {
"jeija_wall_lever_lever_light_on.png", "jeija_wall_lever_lever_light_on.png",
}, },
inventory_image = "jeija_wall_lever.png",
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
mesh = "jeija_wall_lever_on.obj", 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}, 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, is_ground_content = false,
drop = '"mesecons_walllever:wall_lever_off" 1', drop = '"mesecons_walllever:wall_lever_off" 1',
description=S("Lever"),
_doc_items_create_entry = false, _doc_items_create_entry = false,
on_rightclick = function (pos, node) on_rightclick = function (pos, node)
minetest.swap_node(pos, {name="mesecons_walllever:wall_lever_off", param2=node.param2}) 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 -- Disabled downwards hopper
local def_hopper_disabled = table.copy(def_hopper) local def_hopper_disabled = table.copy(def_hopper)
def_hopper_disabled.description = S("Disabled 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._doc_items_create_entry = false
def_hopper_disabled.groups.not_in_creative_inventory = 1 def_hopper_disabled.groups.not_in_creative_inventory = 1
def_hopper_disabled.drop = "mcl_hoppers:hopper" def_hopper_disabled.drop = "mcl_hoppers:hopper"

View File

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