Go to file
root 660af68f3a teleport potion 2021-07-29 18:01:41 +02:00
locale teleport potion 2021-07-29 18:01:41 +02:00
models redone 2020-07-22 04:42:46 +02:00
sounds teleport potion 2021-07-29 17:53:04 +02:00
textures teleport potion 2021-07-29 17:53:04 +02:00
.luacheckrc invisibility potion 2020-08-05 01:08:43 +02:00
README.md teleport potion 2021-07-29 17:53:04 +02:00
api.lua Resist Fire Potion 2020-08-05 14:20:51 +02:00
brewing.conf redone 2020-07-22 04:42:46 +02:00
cauldron.lua Resist Fire Potion 2020-08-05 14:20:51 +02:00
commands.lua Resist Fire Potion 2020-08-05 14:20:51 +02:00
effects.lua teleport potion 2021-07-29 17:53:04 +02:00
init.lua Resist Fire Potion 2020-08-05 14:20:51 +02:00
mod.conf teleport potion 2021-07-29 17:53:04 +02:00
mushroom.lua luacheck clean 2020-07-31 15:01:34 +02:00
nodes.lua luacheck clean 2020-07-31 15:01:34 +02:00
player.lua Resist Fire Potion 2020-08-05 14:20:51 +02:00
potion_crafts.lua teleport potion 2021-07-29 17:53:04 +02:00
potions.lua teleport potion 2021-07-29 17:53:04 +02:00
settings.lua luacheck clean 2020-07-31 15:01:34 +02:00
sound.lua redone 2020-07-22 04:42:46 +02:00

README.md

Brewing [brewing]

Create incredible potions for Minetest.

This mod requires Player Physics mod as hard dependency.

API

brewing.register_potion_craft

 brewing.register_potion_craft({
	effect= "jump",
	description= "Jump", --optional. if not, the description is the uppercased effect.
	type= "add",
	level= 1,
	recipe = {'flowers:tulip', '', ''}
})
  • Effect: It is the effect on the player: "antigrav", "speed", "health", "ouhealth", "air", "ouair", "invisibility", "resist_fire" and "teleport".

[ou= only one use]

  • Type: "add" (positive) or "sub" (negative)

  • Level: Intensity of the effect (1 to 3)

  • Recipe: The 3 ingredients to craft the potion. The recipe is SHAPED (the order matters).

Duration Time of the Effects

  • For Jump & Speed effects= 60s (lvl1), 30s (lvl2) and 15s (lvl3).
  • For Health, Air and Resist Fire effects= 15s (lvl1), 3s (lvl2) and 60s (lvl3).
  • For Invisibility effect= 3s (lvl1), 6s (lvl2) and 9s (lvl3).
  • For Teleport effect= 5m (lvl1), 120m (lvl2) and 1h (lvl3).
  • Note: "One Use Health" and "One Use Air" obviously have no time.

Recipe Book

Click on the Recipe Book icon to check the potion crafting.

Dependencies

  • default, flowers

Click on the Recipe Book icon to check the potion crafting.

Licenses

  • Code: GPL v3.0
  • Textures: CC BY-SA 4.0
  • Sounds: They have different licenses, see the 'sounds/LICENSE.MD' file.