juanchi/mods/brewing
runs 71661dca94 first commit 2021-08-08 13:52:46 +02:00
..
locale first commit 2021-08-08 13:52:46 +02:00
models first commit 2021-08-08 13:52:46 +02:00
sounds first commit 2021-08-08 13:52:46 +02:00
textures first commit 2021-08-08 13:52:46 +02:00
.luacheckrc first commit 2021-08-08 13:52:46 +02:00
README.md first commit 2021-08-08 13:52:46 +02:00
api.lua first commit 2021-08-08 13:52:46 +02:00
brewing.conf first commit 2021-08-08 13:52:46 +02:00
cauldron.lua first commit 2021-08-08 13:52:46 +02:00
commands.lua first commit 2021-08-08 13:52:46 +02:00
effects.lua first commit 2021-08-08 13:52:46 +02:00
init.lua first commit 2021-08-08 13:52:46 +02:00
mod.conf first commit 2021-08-08 13:52:46 +02:00
mushroom.lua first commit 2021-08-08 13:52:46 +02:00
nodes.lua first commit 2021-08-08 13:52:46 +02:00
player.lua first commit 2021-08-08 13:52:46 +02:00
potion_crafts.lua first commit 2021-08-08 13:52:46 +02:00
potions.lua first commit 2021-08-08 13:52:46 +02:00
settings.lua first commit 2021-08-08 13:52:46 +02:00
sound.lua first commit 2021-08-08 13:52: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.