start working on stoneworking mod.

create stoneworking mod.

create nodes stone bricks and stone tile, then add placeholder recipe
for both.
This commit is contained in:
trans_soup 2023-10-11 10:28:23 +02:00
parent 6fb3f5fde3
commit 4e31d3219b
6 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,2 @@
load_file("node")
load_file("recipes")

View file

@ -0,0 +1,3 @@
name = stoneworking
description = blockgame stone related recipes and stuff.
depends = core, crafting, api

View file

@ -0,0 +1,7 @@
blockgame.reg_simple_node("bricks", "Bricks", {
stoney = 1,
})
blockgame.reg_simple_node("tile", "Bricks", {
stoney = 1,
})

View file

@ -0,0 +1,4 @@
local modname = minetest.get_current_modname()
blockgame.crafting.register_stack_recipe("core:stone", "tree:nut", {name = modname .. ":bricks"})
blockgame.crafting.register_stack_recipe(modname .. ":bricks", "tree:nut", {name = modname .. ":tile"})

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B