diff --git a/components_objects.lua b/components_objects.lua index e289c5e..81eb414 100644 --- a/components_objects.lua +++ b/components_objects.lua @@ -72,7 +72,14 @@ minetest.register_craftitem("components:bioplastic_ingot", { }) --######################################################################################################################## minetest.register_craftitem("components:speaker", { - description = modComponents.translate("Speaker"), + --description = modComponents.translate("Speaker"), + description = core.colorize("#00FF00", + modComponents.translate("Speaker") + ) + .."\n * "..modComponents.translate( + "Device that transforms electrical @n" + .."signals into sound waves." + ), inventory_image = "obj_speaker_64.png", }) --######################################################################################################################## @@ -96,6 +103,18 @@ minetest.register_craftitem("components:panel", { inventory_image = "obj_panel_96.png", }) --######################################################################################################################## +minetest.register_craftitem("components:touch_screen", { + description = core.colorize("#00FF00", + modComponents.translate("Touch Screen") + ) + .."\n * "..modComponents.translate( + "A type of display that allows you to @n" + .."interact with an electronic device @n" + .."by touching its surface directly." + ), + inventory_image = "obj_touch_screen_225.png", +}) +--######################################################################################################################## minetest.register_craftitem("components:pilot_manche", { description = modComponents.translate("Pilot Manche"), inventory_image = "obj_pilot_manche_96.png", diff --git a/components_recipes.lua b/components_recipes.lua index 057362f..28fef78 100644 --- a/components_recipes.lua +++ b/components_recipes.lua @@ -160,6 +160,15 @@ minetest.register_craft({ } }) --######################################################################################################################## +minetest.register_craft({ + output = "components:touch_screen", + recipe = { + {"default:glass", "default:glass", "components:dna_checker"}, + {"default:glass", "default:glass", "components:ram_memory"}, + {"components:eletric_lamp", "components:resistance_electrical", "components:capacitor"} + } +}) +--######################################################################################################################## minetest.register_craft({ output = "components:pilot_manche", recipe = { diff --git a/textures/obj_touch_screen_225.png b/textures/obj_touch_screen_225.png new file mode 100644 index 0000000..d0fcce4 Binary files /dev/null and b/textures/obj_touch_screen_225.png differ