[add] Addied item 'touch screen' like component.

This commit is contained in:
Lunovox 2024-11-20 04:27:25 -03:00
parent 5fda96e8c8
commit b6dab2552c
3 changed files with 29 additions and 1 deletions

View file

@ -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",

View file

@ -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 = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB