Add descriptions

This commit is contained in:
Jeija 2012-01-29 11:53:43 +01:00
parent 0dc5c85137
commit 2e14358988
10 changed files with 43 additions and 5 deletions

@ -11,6 +11,7 @@ minetest.register_node("jeija:wall_button_off", {
type = "wallmounted", type = "wallmounted",
}, },
material = minetest.digprop_constanttime(0.3), material = minetest.digprop_constanttime(0.3),
description="Button",
}) })
minetest.register_node("jeija:wall_button_on", { minetest.register_node("jeija:wall_button_on", {
drawtype = "signlike", drawtype = "signlike",
@ -25,6 +26,7 @@ minetest.register_node("jeija:wall_button_on", {
}, },
material = minetest.digprop_constanttime(0.3), material = minetest.digprop_constanttime(0.3),
drop = '"jeija:wall_button_off" 1', drop = '"jeija:wall_button_off" 1',
description="Button",
}) })
minetest.register_on_dignode( minetest.register_on_dignode(

@ -4,6 +4,7 @@ minetest.register_node("jeija:object_detector_off", {
paramtype = "light", paramtype = "light",
walkable = true, walkable = true,
material = minetest.digprop_stonelike(4), material = minetest.digprop_stonelike(4),
description="Player Detector",
}) })
minetest.register_node("jeija:object_detector_on", { minetest.register_node("jeija:object_detector_on", {
@ -11,7 +12,8 @@ minetest.register_node("jeija:object_detector_on", {
paramtype = "light", paramtype = "light",
walkable = true, walkable = true,
material = minetest.digprop_stonelike(4), material = minetest.digprop_stonelike(4),
drop = '"jeija:object_detector_off" 1' drop = '"jeija:object_detector_off" 1',
description="Player Detector",
}) })
minetest.register_craft({ minetest.register_craft({

@ -89,6 +89,7 @@ minetest.register_node("jeija:mesecon_off", {
type = "fixed", type = "fixed",
}, },
material = minetest.digprop_constanttime(0.1), material = minetest.digprop_constanttime(0.1),
description="Mesecons",
}) })
minetest.register_node("jeija:mesecon_on", { minetest.register_node("jeija:mesecon_on", {
@ -104,6 +105,7 @@ minetest.register_node("jeija:mesecon_on", {
material = minetest.digprop_constanttime(0.1), material = minetest.digprop_constanttime(0.1),
drop = '"jeija:mesecon_off" 1', drop = '"jeija:mesecon_off" 1',
light_source = LIGHT_MAX-11, light_source = LIGHT_MAX-11,
description="Mesecons",
}) })
minetest.register_craft({ minetest.register_craft({
@ -537,6 +539,7 @@ minetest.register_node("jeija:power_plant", {
walkable = false, walkable = false,
material = minetest.digprop_leaveslike(0.2), material = minetest.digprop_leaveslike(0.2),
light_source = LIGHT_MAX-9, light_source = LIGHT_MAX-9,
description="Power Plant",
}) })
minetest.register_craft({ minetest.register_craft({
@ -575,6 +578,7 @@ minetest.register_node("jeija:blinky_plant_off", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
material = minetest.digprop_leaveslike(0.2), material = minetest.digprop_leaveslike(0.2),
description="Blinky Plant",
}) })
minetest.register_node("jeija:blinky_plant_on", { minetest.register_node("jeija:blinky_plant_on", {
@ -587,6 +591,7 @@ minetest.register_node("jeija:blinky_plant_on", {
material = minetest.digprop_leaveslike(0.2), material = minetest.digprop_leaveslike(0.2),
drop='"jeija:blinky_plant_off" 1', drop='"jeija:blinky_plant_off" 1',
light_source = LIGHT_MAX-7, light_source = LIGHT_MAX-7,
description="Blinky Plant",
}) })
minetest.register_craft({ minetest.register_craft({
@ -639,6 +644,7 @@ minetest.register_on_dignode(
minetest.register_craftitem("jeija:silicon", { minetest.register_craftitem("jeija:silicon", {
image = "jeija_silicon.png", image = "jeija_silicon.png",
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
description="Silicon",
}) })
@ -654,6 +660,7 @@ minetest.register_node("jeija:solar_panel", {
}, },
furnace_burntime = 5, furnace_burntime = 5,
material = minetest.digprop_dirtlike(0.1), material = minetest.digprop_dirtlike(0.1),
description="Solar Panel",
}) })
minetest.register_craft({ minetest.register_craft({
@ -706,6 +713,7 @@ minetest.register_node("jeija:meselamp_on", {
}, },
material = minetest.digprop_constanttime(0.1), material = minetest.digprop_constanttime(0.1),
drop='"jeija:meselamp_off" 1', drop='"jeija:meselamp_off" 1',
description="Meselamp",
}) })
minetest.register_node("jeija:meselamp_off", { minetest.register_node("jeija:meselamp_off", {
@ -721,6 +729,7 @@ minetest.register_node("jeija:meselamp_off", {
fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1}, fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1},
}, },
material = minetest.digprop_constanttime(0.1), material = minetest.digprop_constanttime(0.1),
description="Meselamp",
}) })
minetest.register_craft({ minetest.register_craft({
@ -736,6 +745,7 @@ minetest.register_craft({
minetest.register_craftitem("jeija:glue", { minetest.register_craftitem("jeija:glue", {
image = "jeija_glue.png", image = "jeija_glue.png",
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
description="Glue",
}) })
minetest.register_craft({ minetest.register_craft({
@ -752,12 +762,14 @@ minetest.register_craft({
minetest.register_node("jeija:hydro_turbine_off", { minetest.register_node("jeija:hydro_turbine_off", {
tile_images = {"jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png"}, tile_images = {"jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png", "jeija_hydro_turbine_off.png"},
material = minetest.digprop_constanttime(0.5), material = minetest.digprop_constanttime(0.5),
description="Water Turbine",
}) })
minetest.register_node("jeija:hydro_turbine_on", { minetest.register_node("jeija:hydro_turbine_on", {
tile_images = {"jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png"}, tile_images = {"jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png", "jeija_hydro_turbine_on.png"},
drop = '"jeija:hydro_turbine_off" 1', drop = '"jeija:hydro_turbine_off" 1',
material = minetest.digprop_constanttime(0.5), material = minetest.digprop_constanttime(0.5),
description="Water Turbine",
}) })
@ -819,6 +831,7 @@ minetest.register_node("jeija:removestone", {
tile_images = {"jeija_removestone.png"}, tile_images = {"jeija_removestone.png"},
inventory_image = minetest.inventorycube("jeija_removestone_inv.png"), inventory_image = minetest.inventorycube("jeija_removestone_inv.png"),
material = minetest.digprop_stonelike(1.0), material = minetest.digprop_stonelike(1.0),
description="Removestone",
}) })
minetest.register_craft({ minetest.register_craft({

@ -3,6 +3,7 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on)
tile_images = {texture_off}, tile_images = {texture_off},
inventory_image = minetest.inventorycube(texture_off), inventory_image = minetest.inventorycube(texture_off),
material = minetest.digprop_stonelike(0.5), material = minetest.digprop_stonelike(0.5),
description=name.." Lightstone",
}) })
minetest.register_node("jeija:lightstone_" .. name .. "_on", { minetest.register_node("jeija:lightstone_" .. name .. "_on", {
tile_images = {texture_on}, tile_images = {texture_on},
@ -10,6 +11,7 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on)
material = minetest.digprop_stonelike(0.5), material = minetest.digprop_stonelike(0.5),
dug_item = "node jeija:lightstone_" .. name .. "_off 1", dug_item = "node jeija:lightstone_" .. name .. "_off 1",
light_source = LIGHT_MAX-2, light_source = LIGHT_MAX-2,
description=name.." Lightstone",
}) })
assert(loadstring('mesecon:register_on_signal_on(function(pos, node) \n \ assert(loadstring('mesecon:register_on_signal_on(function(pos, node) \n \
if node.name == "jeija:lightstone_' .. name .. '_off" then \n \ if node.name == "jeija:lightstone_' .. name .. '_off" then \n \

@ -63,6 +63,7 @@ minetest.register_node("jeija:movestone", {
paramtype2 = "facedir", paramtype2 = "facedir",
legacy_facedir_simple = true, legacy_facedir_simple = true,
material = minetest.digprop_stonelike(0.8), material = minetest.digprop_stonelike(0.8),
description="Movestone",
}) })
minetest.register_entity("jeija:movestone_entity", { minetest.register_entity("jeija:movestone_entity", {
@ -171,6 +172,7 @@ minetest.register_node("jeija:sticky_movestone", {
paramtype2 = "facedir", paramtype2 = "facedir",
legacy_facedir_simple = true, legacy_facedir_simple = true,
material = minetest.digprop_stonelike(0.8), material = minetest.digprop_stonelike(0.8),
description="Sticky Movestone",
}) })
minetest.register_craft({ minetest.register_craft({

@ -4,6 +4,7 @@ minetest.register_node("jeija:piston_normal", {
tile_images = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_side.png"}, tile_images = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_side.png"},
material = minetest.digprop_stonelike(0.5), material = minetest.digprop_stonelike(0.5),
paramtype2="facedir", paramtype2="facedir",
description="Piston",
}) })
minetest.register_craft({ minetest.register_craft({
@ -20,6 +21,7 @@ minetest.register_node("jeija:piston_sticky", {
tile_images = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_sticky_side.png"}, tile_images = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_sticky_side.png"},
material = minetest.digprop_stonelike(0.5), material = minetest.digprop_stonelike(0.5),
paramtype2="facedir", paramtype2="facedir",
description="Sticky Piston",
}) })
minetest.register_craft({ minetest.register_craft({

@ -11,6 +11,7 @@ minetest.register_node("jeija:pressure_plate_wood_off", {
type = "fixed", type = "fixed",
}, },
material = minetest.digprop_constanttime(0.3), material = minetest.digprop_constanttime(0.3),
description="Wood Pressure Plate",
}) })
minetest.register_node("jeija:pressure_plate_wood_on", { minetest.register_node("jeija:pressure_plate_wood_on", {
@ -24,7 +25,8 @@ minetest.register_node("jeija:pressure_plate_wood_on", {
type = "fixed", type = "fixed",
}, },
material = minetest.digprop_constanttime(0.3), material = minetest.digprop_constanttime(0.3),
drop='"jeija:pressure_plate_wood_off" 1' drop='"jeija:pressure_plate_wood_off" 1',
description="Wood Pressure Plate",
}) })
minetest.register_craft({ minetest.register_craft({
@ -87,6 +89,7 @@ minetest.register_node("jeija:pressure_plate_stone_off", {
type = "fixed", type = "fixed",
}, },
material = minetest.digprop_constanttime(0.3), material = minetest.digprop_constanttime(0.3),
description="Stone Pressure Plate",
}) })
minetest.register_node("jeija:pressure_plate_stone_on", { minetest.register_node("jeija:pressure_plate_stone_on", {
@ -100,7 +103,8 @@ minetest.register_node("jeija:pressure_plate_stone_on", {
type = "fixed", type = "fixed",
}, },
material = minetest.digprop_constanttime(0.3), material = minetest.digprop_constanttime(0.3),
drop='"jeija:pressure_plate_stone_off" 1' drop='"jeija:pressure_plate_stone_off" 1',
description="Stone Pressure Plate",
}) })
minetest.register_craft({ minetest.register_craft({

@ -4,6 +4,7 @@ minetest.register_node("jeija:mesecon_switch_off", {
tile_images = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_off.png"}, tile_images = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_off.png"},
paramtype2="facedir", paramtype2="facedir",
material = minetest.digprop_constanttime(0.5), material = minetest.digprop_constanttime(0.5),
description="Switch",
}) })
minetest.register_node("jeija:mesecon_switch_on", { minetest.register_node("jeija:mesecon_switch_on", {
@ -11,6 +12,7 @@ minetest.register_node("jeija:mesecon_switch_on", {
paramtype2="facedir", paramtype2="facedir",
material = minetest.digprop_constanttime(0.5), material = minetest.digprop_constanttime(0.5),
drop='"jeija:mesecon_switch_off" 1', drop='"jeija:mesecon_switch_off" 1',
description="Switch",
}) })
mesecon:add_receptor_node("jeija:mesecon_switch_on") mesecon:add_receptor_node("jeija:mesecon_switch_on")

@ -18,6 +18,7 @@ minetest.register_node("jeija:mesecon_torch_off", {
legacy_wallmounted = true, legacy_wallmounted = true,
material = minetest.digprop_constanttime(0.5), material = minetest.digprop_constanttime(0.5),
drop = '"jeija:mesecon_torch_on" 1', drop = '"jeija:mesecon_torch_on" 1',
description="Mesecon Torch",
}) })
minetest.register_node("jeija:mesecon_torch_on", { minetest.register_node("jeija:mesecon_torch_on", {
@ -31,6 +32,7 @@ minetest.register_node("jeija:mesecon_torch_on", {
legacy_wallmounted = true, legacy_wallmounted = true,
material = minetest.digprop_constanttime(0.5), material = minetest.digprop_constanttime(0.5),
light_source = LIGHT_MAX-5, light_source = LIGHT_MAX-5,
description="Mesecon Torch",
}) })
--[[minetest.register_on_placenode(function(pos, newnode, placer) --[[minetest.register_on_placenode(function(pos, newnode, placer)

@ -2,6 +2,7 @@
minetest.register_craftitem("jeija:ic", { minetest.register_craftitem("jeija:ic", {
image = "jeija_ic.png", image = "jeija_ic.png",
on_place_on_ground = minetest.craftitem_place_item, on_place_on_ground = minetest.craftitem_place_item,
description="IC",
}) })
minetest.register_craft({ minetest.register_craft({
@ -162,13 +163,15 @@ minetest.register_node("jeija:wireless_receiver_off", {
tile_images = {"jeija_wireless_receiver_tb_off.png", "jeija_wireless_receiver_tb_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png"}, tile_images = {"jeija_wireless_receiver_tb_off.png", "jeija_wireless_receiver_tb_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png", "jeija_wireless_receiver_off.png"},
inventory_image = minetest.inventorycube("jeija_wireless_receiver_off.png"), inventory_image = minetest.inventorycube("jeija_wireless_receiver_off.png"),
material = minetest.digprop_constanttime(0.8), material = minetest.digprop_constanttime(0.8),
description="Wireless Receiver",
}) })
minetest.register_node("jeija:wireless_receiver_on", { minetest.register_node("jeija:wireless_receiver_on", {
tile_images = {"jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png"}, tile_images = {"jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_tb_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png", "jeija_wireless_receiver_on.png"},
inventory_image = minetest.inventorycube("jeija_wireless_receiver_on.png"), inventory_image = minetest.inventorycube("jeija_wireless_receiver_on.png"),
material = minetest.digprop_constanttime(0.8), material = minetest.digprop_constanttime(0.8),
dug_item = 'node "jeija:wireless_receiver_off" 1' dug_item = 'node "jeija:wireless_receiver_off" 1',
description="Wireless Receiver",
}) })
minetest.register_craft({ minetest.register_craft({
@ -228,13 +231,15 @@ minetest.register_node("jeija:wireless_inverter_off", {
tile_images = {"jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png"}, tile_images = {"jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png", "jeija_wireless_inverter_off.png"},
inventory_image = minetest.inventorycube("jeija_wireless_inverter_off.png"), inventory_image = minetest.inventorycube("jeija_wireless_inverter_off.png"),
material = minetest.digprop_constanttime(0.8), material = minetest.digprop_constanttime(0.8),
dug_item = 'node "jeija:wireless_inverter_on" 1' dug_item = 'node "jeija:wireless_inverter_on" 1',
description="Wireless Inverter",
}) })
minetest.register_node("jeija:wireless_inverter_on", { minetest.register_node("jeija:wireless_inverter_on", {
tile_images = {"jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png"}, tile_images = {"jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_tb.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png", "jeija_wireless_inverter_on.png"},
inventory_image = minetest.inventorycube("jeija_wireless_inverter_on.png"), inventory_image = minetest.inventorycube("jeija_wireless_inverter_on.png"),
material = minetest.digprop_constanttime(0.8), material = minetest.digprop_constanttime(0.8),
description="Wireless Inverter",
}) })
minetest.register_craft({ minetest.register_craft({
@ -289,12 +294,14 @@ minetest.register_node("jeija:wireless_transmitter_on", {
inventory_image = minetest.inventorycube("jeija_wireless_transmitter_on.png"), inventory_image = minetest.inventorycube("jeija_wireless_transmitter_on.png"),
material = minetest.digprop_constanttime(0.8), material = minetest.digprop_constanttime(0.8),
dug_item = 'node "jeija:wireless_transmitter_off" 1', dug_item = 'node "jeija:wireless_transmitter_off" 1',
description="Wireless Transmitter",
}) })
minetest.register_node("jeija:wireless_transmitter_off", { minetest.register_node("jeija:wireless_transmitter_off", {
tile_images = {"jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png"}, tile_images = {"jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_tb.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png", "jeija_wireless_transmitter_off.png"},
inventory_image = minetest.inventorycube("jeija_wireless_transmitter_off.png"), inventory_image = minetest.inventorycube("jeija_wireless_transmitter_off.png"),
material = minetest.digprop_constanttime(0.8), material = minetest.digprop_constanttime(0.8),
description="Wireless Transmitter",
}) })
minetest.register_craft({ minetest.register_craft({