1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-12-22 16:10:18 +01:00

register some nodes to the letters mod (#76)

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
This commit is contained in:
Buckaroo Banzai 2022-12-12 10:36:02 +01:00 committed by GitHub
parent 10d818b2e1
commit 3d7910f2fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 3 deletions

View File

@ -21,6 +21,6 @@ read_globals = {
"screwdriver", "screwdriver",
"minetest", "minetest",
"mesecon", "mesecon",
"unifieddyes" "unifieddyes",
"letters"
} }

View File

@ -32,3 +32,8 @@ dofile(MP.."/models.lua")
dofile(MP.."/octagon_panes.lua") dofile(MP.."/octagon_panes.lua")
dofile(MP.."/forcefield.lua") dofile(MP.."/forcefield.lua")
dofile(MP.."/crafts.lua") dofile(MP.."/crafts.lua")
if minetest.get_modpath("letters") then
-- register letter nodes
dofile(MP.."/letters.lua")
end

5
letters.lua Normal file
View File

@ -0,0 +1,5 @@
letters.register_letters("scifi_nodes", "black", "scifi_nodes:black", "Black wall", "scifi_nodes_black.png")
letters.register_letters("scifi_nodes", "white2", "scifi_nodes:white2", "Plastic", "scifi_nodes_white2.png")
letters.register_letters("scifi_nodes", "purple", "scifi_nodes:purple", "Purple node", "scifi_nodes_purple.png")
letters.register_letters("scifi_nodes", "bluemetal", "scifi_nodes:bluemetal", "Blue metal", "scifi_nodes_bluemetal.png")
letters.register_letters("scifi_nodes", "greenmetal", "scifi_nodes:greenmetal", "Green metal", "scifi_nodes_greenmetal.png")

View File

@ -11,5 +11,6 @@ mesecons_torch,
mesecons_receiver, mesecons_receiver,
basic_materials, basic_materials,
dye, dye,
unifieddyes unifieddyes,
letters
""" """