mirror of
https://gitlab.com/lunovox/components.git
synced 2025-03-22 02:42:19 +00:00
[add] Addied item 'touch screen' like component.
This commit is contained in:
parent
5fda96e8c8
commit
b6dab2552c
3 changed files with 29 additions and 1 deletions
|
@ -72,7 +72,14 @@ minetest.register_craftitem("components:bioplastic_ingot", {
|
||||||
})
|
})
|
||||||
--########################################################################################################################
|
--########################################################################################################################
|
||||||
minetest.register_craftitem("components:speaker", {
|
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",
|
inventory_image = "obj_speaker_64.png",
|
||||||
})
|
})
|
||||||
--########################################################################################################################
|
--########################################################################################################################
|
||||||
|
@ -96,6 +103,18 @@ minetest.register_craftitem("components:panel", {
|
||||||
inventory_image = "obj_panel_96.png",
|
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", {
|
minetest.register_craftitem("components:pilot_manche", {
|
||||||
description = modComponents.translate("Pilot Manche"),
|
description = modComponents.translate("Pilot Manche"),
|
||||||
inventory_image = "obj_pilot_manche_96.png",
|
inventory_image = "obj_pilot_manche_96.png",
|
||||||
|
|
|
@ -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({
|
minetest.register_craft({
|
||||||
output = "components:pilot_manche",
|
output = "components:pilot_manche",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
BIN
textures/obj_touch_screen_225.png
Normal file
BIN
textures/obj_touch_screen_225.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Loading…
Add table
Reference in a new issue