Add files via upload

This commit is contained in:
Lukas Reichlin 2018-02-24 15:21:14 +01:00 committed by GitHub
parent 78efb6d67b
commit 2d15401908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 0 deletions

2
depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
technic

1
description.txt Normal file
View File

@ -0,0 +1 @@
Create diamonds with the technic-mod.

44
init.lua Normal file
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB