Add some missing recipes

This commit is contained in:
Joachim Stolberg 2023-01-05 09:52:02 +01:00
parent c042115cbb
commit 7b2f10e915
4 changed files with 25 additions and 2 deletions

View File

@ -266,6 +266,11 @@ if techage.max_num_forceload_blocks > 0 then
output = "techage:forceloadtile", output = "techage:forceloadtile",
recipe = {"techage:forceload"}, recipe = {"techage:forceload"},
}) })
minetest.register_craft({
type = "shapeless",
output = "techage:forceload",
recipe = {"techage:forceloadtile"},
})
end end
minetest.register_on_joinplayer(function(player) minetest.register_on_joinplayer(function(player)

View File

@ -252,3 +252,12 @@ minetest.register_craft({
{"", "", ""}, {"", "", ""},
}, },
}) })
minetest.register_craft({
output = "techage:ta4_button_off 2",
recipe = {
{"", "", ""},
{"", "techage:ta4_button_2x", ""},
{"", "", ""},
},
})

View File

@ -308,3 +308,12 @@ minetest.register_craft({
{"", "", ""}, {"", "", ""},
}, },
}) })
minetest.register_craft({
output = "techage:ta4_button_off 4",
recipe = {
{"", "", ""},
{"", "techage:ta4_button_4x", ""},
{"", "", ""},
},
})

View File

@ -5,8 +5,8 @@ The key/value store simplifies the handling/comparison of strings.
The following example shows the use of the Key/Value Store, here to check the names from the Player Detector: The following example shows the use of the Key/Value Store, here to check the names from the Player Detector:
```c ```c
import "ta_kvstore.c" import "lib/ta_kvstore.c"
import "ta_iom.c" import "lib/ta_iom.c"
var s[16]; var s[16];