mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-22 08:00: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:
parent
10d818b2e1
commit
3d7910f2fd
@ -21,6 +21,6 @@ read_globals = {
|
||||
"screwdriver",
|
||||
"minetest",
|
||||
"mesecon",
|
||||
"unifieddyes"
|
||||
|
||||
"unifieddyes",
|
||||
"letters"
|
||||
}
|
||||
|
5
init.lua
5
init.lua
@ -32,3 +32,8 @@ dofile(MP.."/models.lua")
|
||||
dofile(MP.."/octagon_panes.lua")
|
||||
dofile(MP.."/forcefield.lua")
|
||||
dofile(MP.."/crafts.lua")
|
||||
|
||||
if minetest.get_modpath("letters") then
|
||||
-- register letter nodes
|
||||
dofile(MP.."/letters.lua")
|
||||
end
|
5
letters.lua
Normal file
5
letters.lua
Normal 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")
|
Loading…
Reference in New Issue
Block a user