Browse Source

More slopes and some correction

Didn't remember where i changed so the problem happened
All textures were gone in game nad showing the not defined kind of thing on each node of scifi.
Was showing names on info by pressing F5.
Any way its now all good. So, i am uploading all 6 files. See the changes :)
pull/2/head
Tanmaya Meher GitHub 3 years ago
parent
commit
12646d1ff0
4 changed files with 118 additions and 10 deletions
  1. +104
    -3
      crafts.lua
  2. +0
    -1
      depends.txt
  3. +10
    -3
      models.lua
  4. +4
    -3
      panes.lua

+ 104
- 3
crafts.lua View File

@@ -1069,7 +1069,16 @@ minetest.register_craft({
})

-- FEW SLOPES (will be making more when respective block recipe will be ready)

-- 6 plastic slope from 3 plastic
minetest.register_craft({
output = "scifi_nodes:slope_white2 6",
recipe = {
{"scifi_nodes:white2", ""},
{"scifi_nodes:white2","scifi_nodes:white2"}
}
})

-- 6 white slope from 3 plastic wall
minetest.register_craft({
output = "scifi_nodes:slope_white 6",
@@ -1097,6 +1106,24 @@ minetest.register_craft({
}
})

-- 6 blue light box slope from 3 blue light box
minetest.register_craft({
output = "scifi_nodes:slope_rlight 6",
recipe = {
{"scifi_nodes:red_light", ""},
{"scifi_nodes:red_light","scifi_nodes:red_light"}
}
})

-- 6 blue light box slope from 3 blue light box
minetest.register_craft({
output = "scifi_nodes:slope_glight 6",
recipe = {
{"scifi_nodes:green_light", ""},
{"scifi_nodes:green_light","scifi_nodes:green_light"}
}
})

-- 6 blue light2 slopes from 3 blue wall light
minetest.register_craft({
output = "scifi_nodes:slope_blight2 6",
@@ -1108,7 +1135,7 @@ minetest.register_craft({

-- 6 blue slope from 3 blue bars
minetest.register_craft({
output = "scifi_nodes:slope_blue 6",
output = "scifi_nodes:slope_bluebars 6",
recipe = {
{"scifi_nodes:bluebars", ""},
{"scifi_nodes:bluebars","scifi_nodes:bluebars"}
@@ -1124,15 +1151,24 @@ minetest.register_craft({
}
})

-- 6 metal floormesh slope from 3 metal floormesh
minetest.register_craft({
output = "scifi_nodes:slope_mesh 6",
output = "scifi_nodes:slope_mesh2 6",
recipe = {
{"scifi_nodes:mesh2", ""},
{"scifi_nodes:mesh2","scifi_nodes:mesh2"}
}
})

-- 6 metal mesh slope from 3 metal mesh
minetest.register_craft({
output = "scifi_nodes:slope_mesh 6",
recipe = {
{"scifi_nodes:mesh", ""},
{"scifi_nodes:mesh","scifi_nodes:mesh"}
}
})

-- 6 stripes slope from 3 hazard stripes
minetest.register_craft({
output = "scifi_nodes:slope_stripes 6",
@@ -1150,3 +1186,67 @@ minetest.register_craft({
{"scifi_nodes:vent2","scifi_nodes:vent2"}
}
})

-- 6 purple slope from 3 purple node
minetest.register_craft({
output = "scifi_nodes:slope_purple 6",
recipe = {
{"scifi_nodes:purple", ""},
{"scifi_nodes:purple","scifi_nodes:purple"}
}
})

-- 6 green metal slope from 3 green metal
minetest.register_craft({
output = "scifi_nodes:slope_greenmetal 6",
recipe = {
{"scifi_nodes:greenmetal", ""},
{"scifi_nodes:greenmetal","scifi_nodes:greenmetal"}
}
})

-- 6 grey slope from 3 grey wall
minetest.register_craft({
output = "scifi_nodes:slope_grey 6",
recipe = {
{"scifi_nodes:grey", ""},
{"scifi_nodes:grey","scifi_nodes:grey"}
}
})

-- 6 blue metal slope from 3 blue metal
minetest.register_craft({
output = "scifi_nodes:slope_bluemetal 6",
recipe = {
{"scifi_nodes:bluemetal", ""},
{"scifi_nodes:bluemetal","scifi_nodes:bluemetal"}
}
})

-- 6 metal wall slope from 3 metal wall
minetest.register_craft({
output = "scifi_nodes:slope_wall 6",
recipe = {
{"scifi_nodes:wall", ""},
{"scifi_nodes:wall","scifi_nodes:wall"}
}
})

-- 6 rough metal slope from 3 rough metal
minetest.register_craft({
output = "scifi_nodes:slope_rough 6",
recipe = {
{"scifi_nodes:rough", ""},
{"scifi_nodes:rough","scifi_nodes:rough"}
}
})

-- 6 black stripe light slope from 3 black stripe light
minetest.register_craft({
output = "scifi_nodes:slope_blklt2 6",
recipe = {
{"scifi_nodes:blklt2", ""},
{"scifi_nodes:blklt2","scifi_nodes:blklt2"}
}
})


+ 0
- 1
depends.txt View File

@@ -1,7 +1,6 @@
default
xpanes?
moreblocks
homedecor
mesecons
mesecons_microcontroller
mesecons_button


+ 10
- 3
models.lua View File

@@ -37,11 +37,13 @@ minetest.register_node("scifi_nodes:slope_"..name, {
})
end

scifi_nodes.register_slope("white2", "Plastic", {"scifi_nodes_white2.png",}, 0)
scifi_nodes.register_slope("black", "Black", {"scifi_nodes_black.png",}, 0)
scifi_nodes.register_slope("white", "White", {"scifi_nodes_white.png",}, 0)
scifi_nodes.register_slope("grey", "Grey", {"scifi_nodes_grey.png",}, 0)
scifi_nodes.register_slope("blue", "Blue", {"scifi_nodes_bluebars.png",}, 0)
scifi_nodes.register_slope("mesh", "Mesh", {"scifi_nodes_mesh2.png",}, 0)
scifi_nodes.register_slope("bluebars", "Blue bars", {"scifi_nodes_bluebars.png",}, 0)
scifi_nodes.register_slope("mesh2", "Metal floormesh", {"scifi_nodes_mesh2.png",}, 0)
scifi_nodes.register_slope("mesh", "Metal mesh", {"scifi_nodes_mesh.png",}, 0)
scifi_nodes.register_slope("vent", "Vent", {"scifi_nodes_vent2.png",}, 0)
scifi_nodes.register_slope("rlight", "Red light", {"scifi_nodes_redlight.png",}, 10)
scifi_nodes.register_slope("blight", "Blue light", {"scifi_nodes_light.png",}, 10)
@@ -54,5 +56,10 @@ scifi_nodes.register_slope("lightstripe", "Lightstripe", {"scifi_nodes_lightstri
scifi_nodes.register_slope("blight2", "Blue Light 2", {"scifi_nodes_capsule3.png",}, 20)
scifi_nodes.register_slope("wallpipe", "Alien Pipe", {"scifi_nodes_wallpipe.png",}, 0)
scifi_nodes.register_slope("alien", "Alien Wall", {"scifi_nodes_alnslp.png",}, 0)
scifi_nodes.register_slope("purple", "Purple", {"scifi_nodes_stripes.png",}, 0)
scifi_nodes.register_slope("purple", "Purple", {"scifi_nodes_purple.png",}, 0)
scifi_nodes.register_slope("gblock", "Gblock", {"scifi_nodes_gblock2_front1.png",}, 0)
scifi_nodes.register_slope("greenmetal", "Green metal", {"scifi_nodes_greenmetal.png",}, 0)
scifi_nodes.register_slope("bluemetal", "Blue metal", {"scifi_nodes_bluemetal.png",}, 0)
scifi_nodes.register_slope("wall", "Metal wall", {"scifi_nodes_wall.png",}, 0)
scifi_nodes.register_slope("rough", "Rough metal", {"scifi_nodes_rough.png",}, 0)
scifi_nodes.register_slope("blklt2", "Black stripe light", {"scifi_nodes_black_light2.png",}, 10)

+ 4
- 3
panes.lua View File

@@ -13,9 +13,10 @@ xpanes.register_pane("doompane", {
textures = {"scifi_nodes_doompane.png","scifi_nodes_doompane.png","default_wood.png"},
inventory_image = "scifi_nodes_doompane.png",
wield_image = "scifi_nodes_doompane.png",
groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3, pane=1},
groups = {cracky=1, pane=1},
recipe = {
{'default:iron_lump', 'default:iron_lump', 'default:iron_lump'},
{'default:iron_lump', 'default:iron_lump', 'default:iron_lump'}
{"default:iron_lump", "default:iron_lump", ""},
{"default:iron_lump", "", "default:iron_lump"},
{"", "default:iron_lump", "default:iron_lump"}
}
})

Loading…
Cancel
Save