Create rainbow block node
This commit is contained in:
parent
05f7570b6e
commit
7e8ba2197c
@ -2,6 +2,7 @@
|
||||
local scripts = {
|
||||
"tool",
|
||||
"misc",
|
||||
"nodes",
|
||||
"spawneggs",
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
17
mods/core/antum/items/nodes.lua
Normal file
17
mods/core/antum/items/nodes.lua
Normal 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
|
BIN
mods/core/antum/items/textures/rainbow_block.png
Normal file
BIN
mods/core/antum/items/textures/rainbow_block.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 285 B |
Loading…
x
Reference in New Issue
Block a user