Create rainbow block node

This commit is contained in:
Jordan Irwin 2021-06-10 08:09:11 -07:00
parent 05f7570b6e
commit 7e8ba2197c
4 changed files with 19 additions and 1 deletions

View File

@ -2,6 +2,7 @@
local scripts = {
"tool",
"misc",
"nodes",
"spawneggs",
}

View File

@ -1,4 +1,4 @@
name = antum_items
description = Custom items for Antum game
depends = antum, bonemeal, gems_tools, basic_materials, walking_light, 3d_armor, unifieddyes
optional_depends = bucket, vessels, asm_spawneggs, farming, mobs, cmer_shark, mobs_cow, homedecor_common, moreblocks, mobs_kitten
optional_depends = bucket, vessels, asm_spawneggs, farming, mobs, cmer_shark, mobs_cow, homedecor_common, moreblocks, mobs_kitten, rainbow_ore

View File

@ -0,0 +1,17 @@
core.register_node(":antum:rainbow_block", {
description = "Rainbow Block",
tiles = {"rainbow_block.png"},
groups = {cracky=4},
is_ground_content = false,
})
if core.registered_items["rainbow_ore:rainbow_ore_ingot"] then
core.register_craft({
output = "antum:rainbow_block",
recipe = {
{"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"},
{"rainbow_ore:rainbow_ore_ingot", "rainbow_ore:rainbow_ore_ingot"},
},
})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B