Add files via upload
This commit is contained in:
parent
78efb6d67b
commit
2d15401908
2
depends.txt
Normal file
2
depends.txt
Normal file
@ -0,0 +1,2 @@
|
||||
default
|
||||
technic
|
1
description.txt
Normal file
1
description.txt
Normal file
@ -0,0 +1 @@
|
||||
Create diamonds with the technic-mod.
|
44
init.lua
Normal file
44
init.lua
Normal file
@ -0,0 +1,44 @@
|
||||
-- Pure Graphite
|
||||
minetest.register_craftitem("techdiamond:graphite", {
|
||||
description = "Pure Graphite",
|
||||
inventory_image = "techdiamond_graphite.png"
|
||||
})
|
||||
|
||||
technic.register_extractor_recipe({
|
||||
input = {"default:coalblock"},
|
||||
output = "techdiamond:graphite"
|
||||
})
|
||||
|
||||
-- Graphite Pellet
|
||||
minetest.register_craftitem("techdiamond:graphite_pellet", {
|
||||
description = "Graphite-Pellet",
|
||||
inventory_image = "techdiamond_graphite_pellet.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "techdiamond:graphite_pellet",
|
||||
recipe = "techdiamond:graphite",
|
||||
cooktime = 15,
|
||||
})
|
||||
|
||||
-- Graphite Block
|
||||
minetest.register_node("techdiamond:graphite_block", {
|
||||
description = ("Graphite Block"),
|
||||
tiles = {"techdiamond_graphite_block.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky=1},
|
||||
default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "techdiamond:graphite_block",
|
||||
recipe = {"techdiamond:graphite_pellet", "techdiamond:graphite_pellet", "techdiamond:graphite_pellet", "techdiamond:graphite_pellet"}
|
||||
})
|
||||
|
||||
-- Diamond
|
||||
technic.register_compressor_recipe({
|
||||
input = { "techdiamond:graphite_block" },
|
||||
output = "default:diamond"
|
||||
})
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
x
Reference in New Issue
Block a user