Test recipe
parent
9ea9fc2564
commit
3db72802c4
|
@ -317,7 +317,7 @@ potions.register_potion("jump", "Jumping", "potions:jumping", 300, {
|
|||
}
|
||||
})
|
||||
|
||||
potions.register_potion("health", "Health", "potions:health", 300, {
|
||||
potions.register_potion("ouhealth", "One Use Health", "potions:ouhealth", 300, {
|
||||
effect = "fixhp",
|
||||
types = {
|
||||
{
|
||||
|
@ -344,7 +344,7 @@ potions.register_potion("health", "Health", "potions:health", 300, {
|
|||
}
|
||||
})
|
||||
|
||||
potions.register_potion("ouhealth", "One Use Health", "potions:ouhealth", 300, {
|
||||
potions.register_potion("health", "One Use Health", "potions:health", 300, {
|
||||
effect = "fixhp",
|
||||
texture = "health",
|
||||
types = {
|
||||
|
@ -486,6 +486,15 @@ potions.register_potion("air", "Air", "potions:air", 300, {
|
|||
-- },
|
||||
--})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "potions:speed_add1",
|
||||
recipe = {
|
||||
{'','default:drinking_glass','dye:yellow'},
|
||||
{'','',''},
|
||||
{'','',''},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
potions.players[player:get_player_name()] = {
|
||||
speed = 1,
|
||||
|
@ -529,4 +538,4 @@ minetest.register_chatcommand("effect", {
|
|||
end
|
||||
end
|
||||
end,
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue