Added crafts to cook papers from ideas by burning references.
This commit is contained in:
parent
dc994cab3b
commit
34eec08272
mods/gjcctw
@ -1 +1 @@
|
||||
This is the GameJam CERN Craft The Web mod. : )
|
||||
This is the GameJam CERN Craft The Web mod in the repo. : )
|
@ -3,6 +3,9 @@ print("Found the GameJam CERN Craft The Web mod! Yay!")
|
||||
local ret = dofile(minetest.get_modpath("gjcctw") .. "/script.lua")
|
||||
print(ret)
|
||||
|
||||
|
||||
-- Registering basic building blocks to craft the web
|
||||
|
||||
minetest.register_node("gjcctw:reference", {
|
||||
description = "This is a reference node",
|
||||
tiles = {"reference_16x16.png"},
|
||||
@ -20,3 +23,19 @@ minetest.register_node("gjcctw:paper", {
|
||||
tiles = {"paper_16x16.png"},
|
||||
groups = {cracky=1, oddly_breakable_by_hand=2}
|
||||
})
|
||||
|
||||
|
||||
-- Registering crafts to cook a paper from ideas by burning references.
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "gjcctw:paper",
|
||||
recipe = "gjcctw:idea",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "fuel",
|
||||
recipe = "gjcctw:reference",
|
||||
burntime = 30,
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user