summaryrefslogtreecommitdiff
path: root/technic_worldgen
diff options
context:
space:
mode:
Diffstat (limited to 'technic_worldgen')
-rw-r--r--technic_worldgen/crafts.lua74
-rw-r--r--technic_worldgen/nodes.lua40
-rw-r--r--technic_worldgen/textures/technic_brass_block.pngbin0 -> 649 bytes
-rw-r--r--technic_worldgen/textures/technic_brass_ingot.pngbin456 -> 330 bytes
-rw-r--r--technic_worldgen/textures/technic_chromium_block.pngbin0 -> 611 bytes
-rw-r--r--technic_worldgen/textures/technic_chromium_ingot.pngbin242 -> 295 bytes
-rw-r--r--technic_worldgen/textures/technic_chromium_lump.pngbin213 -> 313 bytes
-rw-r--r--technic_worldgen/textures/technic_stainless_steel_block.pngbin0 -> 589 bytes
-rw-r--r--technic_worldgen/textures/technic_uranium.pngbin213 -> 352 bytes
-rw-r--r--technic_worldgen/textures/technic_uranium_block.pngbin0 -> 649 bytes
-rw-r--r--technic_worldgen/textures/technic_zinc_block.pngbin0 -> 681 bytes
-rw-r--r--technic_worldgen/textures/technic_zinc_ingot.pngbin242 -> 317 bytes
-rw-r--r--technic_worldgen/textures/technic_zinc_lump.pngbin214 -> 308 bytes
13 files changed, 107 insertions, 7 deletions
diff --git a/technic_worldgen/crafts.lua b/technic_worldgen/crafts.lua
index 7647c06..a601b7f 100644
--- a/technic_worldgen/crafts.lua
+++ b/technic_worldgen/crafts.lua
@@ -16,12 +16,6 @@ minetest.register_craftitem( ":technic:chromium_ingot", {
on_place_on_ground = minetest.craftitem_place_item,
})
-minetest.register_craft({
- type = 'cooking',
- output = "technic:chromium_ingot",
- recipe = "technic:chromium_lump"
-})
-
minetest.register_craftitem( ":technic:zinc_lump", {
description = "Zinc Lump",
inventory_image = "technic_zinc_lump.png",
@@ -37,13 +31,79 @@ minetest.register_craftitem( ":technic:stainless_steel_ingot", {
inventory_image = "technic_stainless_steel_ingot.png",
})
-minetest.register_craftitem( ":technic:brass_ingot", {
+minetest.register_craftitem( ":group:brass_ingot", {
description = "Brass Ingot",
inventory_image = "technic_brass_ingot.png",
})
minetest.register_craft({
+ output = "node technic:uranium_block",
+ recipe = {{"technic:uranium", "technic:uranium", "technic:uranium"},
+ {"technic:uranium", "technic:uranium", "technic:uranium"},
+ {"technic:uranium", "technic:uranium", "technic:uranium"}}
+})
+
+minetest.register_craft({
+ output = "craft technic:uranium 9",
+ recipe = {{"technic:uranium_block"}}
+})
+
+minetest.register_craft({
+ output = "node technic:chromium_block",
+ recipe = {{"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"},
+ {"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"},
+ {"technic:chromium_ingot", "technic:chromium_ingot", "technic:chromium_ingot"}}
+})
+
+minetest.register_craft({
+ output = "craft technic:chromium_ingot 9",
+ recipe = {{"technic:chromium_block"}}
+})
+
+minetest.register_craft({
+ output = "node technic:zinc_block",
+ recipe = {{"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"},
+ {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"},
+ {"technic:zinc_ingot", "technic:zinc_ingot", "technic:zinc_ingot"}}
+})
+
+minetest.register_craft({
+ output = "craft technic:zinc_ingot 9",
+ recipe = {{"technic:zinc_block"}}
+})
+
+minetest.register_craft({
+ output = "node technic:stainless_steel_block",
+ recipe = {{"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"},
+ {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"},
+ {"technic:stainless_steel_ingot", "technic:stainless_steel_ingot", "technic:stainless_steel_ingot"}}
+})
+
+minetest.register_craft({
+ output = "craft technic:stainless_steel_ingot 9",
+ recipe = {{"technic:stainless_steel_block"}}
+})
+
+minetest.register_craft({
+ output = "node group:brass_block",
+ recipe = {{"group:brass_ingot", "group:brass_ingot", "group:brass_ingot"},
+ {"group:brass_ingot", "group:brass_ingot", "group:brass_ingot"},
+ {"group:brass_ingot", "group:brass_ingot", "group:brass_ingot"}}
+})
+
+minetest.register_craft({
+ output = "craft group:brass_ingot 9",
+ recipe = {{"group:brass_block"}}
+})
+
+minetest.register_craft({
type = 'cooking',
output = "technic:zinc_ingot",
recipe = "technic:zinc_lump"
})
+
+minetest.register_craft({
+ type = 'cooking',
+ output = "technic:chromium_ingot",
+ recipe = "technic:chromium_lump"
+})
diff --git a/technic_worldgen/nodes.lua b/technic_worldgen/nodes.lua
index 28514f4..7b9d385 100644
--- a/technic_worldgen/nodes.lua
+++ b/technic_worldgen/nodes.lua
@@ -49,6 +49,46 @@ minetest.register_node( ":technic:marble_bricks", {
sounds = default.node_sound_stone_defaults(),
})
+minetest.register_node(":technic:uranium_block", {
+ description = "Uranium Block",
+ tiles = { "technic_uranium_block.png" },
+ is_ground_content = true,
+ groups = {cracky=1, level=2},
+ sounds = default.node_sound_stone_defaults()
+})
+
+minetest.register_node(":technic:chromium_block", {
+ description = "Chromium Block",
+ tiles = { "technic_chromium_block.png" },
+ is_ground_content = true,
+ groups = {cracky=1, level=2},
+ sounds = default.node_sound_stone_defaults()
+})
+
+minetest.register_node(":technic:zinc_block", {
+ description = "Zinc Block",
+ tiles = { "technic_zinc_block.png" },
+ is_ground_content = true,
+ groups = {cracky=1, level=2},
+ sounds = default.node_sound_stone_defaults()
+})
+
+minetest.register_node(":technic:stainless_steel_block", {
+ description = "Stainless Steel Block",
+ tiles = { "technic_stainless_steel_block.png" },
+ is_ground_content = true,
+ groups = {cracky=1, level=2},
+ sounds = default.node_sound_stone_defaults()
+})
+
+minetest.register_node(":technic:brass_block", {
+ description = "Brass Block",
+ tiles = { "technic_brass_block.png" },
+ is_ground_content = true,
+ groups = {cracky=1, level=2},
+ sounds = default.node_sound_stone_defaults()
+})
+
minetest.register_craft({
output = 'technic:marble_bricks 4',
recipe = {
diff --git a/technic_worldgen/textures/technic_brass_block.png b/technic_worldgen/textures/technic_brass_block.png
new file mode 100644
index 0000000..bc6fe78
--- /dev/null
+++ b/technic_worldgen/textures/technic_brass_block.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_brass_ingot.png b/technic_worldgen/textures/technic_brass_ingot.png
index 2d8b153..063150f 100644
--- a/technic_worldgen/textures/technic_brass_ingot.png
+++ b/technic_worldgen/textures/technic_brass_ingot.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_chromium_block.png b/technic_worldgen/textures/technic_chromium_block.png
new file mode 100644
index 0000000..ad173ca
--- /dev/null
+++ b/technic_worldgen/textures/technic_chromium_block.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_chromium_ingot.png b/technic_worldgen/textures/technic_chromium_ingot.png
index 91d5b20..e9615dd 100644
--- a/technic_worldgen/textures/technic_chromium_ingot.png
+++ b/technic_worldgen/textures/technic_chromium_ingot.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_chromium_lump.png b/technic_worldgen/textures/technic_chromium_lump.png
index 1588f92..0fe03a1 100644
--- a/technic_worldgen/textures/technic_chromium_lump.png
+++ b/technic_worldgen/textures/technic_chromium_lump.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_stainless_steel_block.png b/technic_worldgen/textures/technic_stainless_steel_block.png
new file mode 100644
index 0000000..e451768
--- /dev/null
+++ b/technic_worldgen/textures/technic_stainless_steel_block.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_uranium.png b/technic_worldgen/textures/technic_uranium.png
index 54225f8..2f5a66c 100644
--- a/technic_worldgen/textures/technic_uranium.png
+++ b/technic_worldgen/textures/technic_uranium.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_uranium_block.png b/technic_worldgen/textures/technic_uranium_block.png
new file mode 100644
index 0000000..99dd51c
--- /dev/null
+++ b/technic_worldgen/textures/technic_uranium_block.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_zinc_block.png b/technic_worldgen/textures/technic_zinc_block.png
new file mode 100644
index 0000000..5ae7947
--- /dev/null
+++ b/technic_worldgen/textures/technic_zinc_block.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_zinc_ingot.png b/technic_worldgen/textures/technic_zinc_ingot.png
index 096ff9c..9f9eb2c 100644
--- a/technic_worldgen/textures/technic_zinc_ingot.png
+++ b/technic_worldgen/textures/technic_zinc_ingot.png
Binary files differ
diff --git a/technic_worldgen/textures/technic_zinc_lump.png b/technic_worldgen/textures/technic_zinc_lump.png
index d28a6dc..1a620ab 100644
--- a/technic_worldgen/textures/technic_zinc_lump.png
+++ b/technic_worldgen/textures/technic_zinc_lump.png
Binary files differ