[MOD] Brewing (v2.4) [REDONE!]

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

[MOD] Brewing (v2.4) [REDONE!]

by runs » Post

Brewing (brewing)

Image

Image
Image
Image

Create incredible potions for Minetest.

This mod requires Player Physics mod as hard dependency.

API

brewing.register_potion_craft

Code: Select all

 brewing.register_potion_craft({
	effect= "jump",
	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.

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.

Cauldron

Image

To make the potions.

Recipe Book

Image

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

Dependencies

- playerphysics, default, flowers

Licenses

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

Download

Download Mod

Source Code
Attachments
Brewing LOGO.png
Brewing LOGO.png (359.98 KiB) Viewed 2821 times
potions.png
potions.png (31.04 KiB) Viewed 2821 times
mushroom.png
mushroom.png (16.24 KiB) Viewed 2821 times
Last edited by runs on Thu Jul 29, 2021 15:55, edited 246 times in total.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

Deleted
Last edited by runs on Tue Jan 29, 2019 12:31, edited 7 times in total.

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [MOD] Brewing (Potions Revamp) (WIP)

by Chem871 » Post

What if you added a super expensive potion that increases a player's max HP by ?
What is SCP-055?

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

Chem871 wrote:What if you added a super expensive potion that increases a player's max HP by ?
I take note of your suggestion... :-)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

API

Read the api.txt file

Spanish [100%]

To translate edit '/locale/template.pot' and change the filename to your desired language (i.e. 'fr.po').
Last edited by runs on Sun Dec 02, 2018 20:27, edited 16 times in total.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

First usable version! (v0.1.3)

Just 3 health+ potions (by now).

Please, report bugs etc.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

v0.1.4

-Magic Cross.
-Air lvl+3 potion.
-brewing.conf file
-brewing.set_ignitorname function.
-magic sound when a potion is drunk.

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [MOD] Brewing (Potions Revamp) (WIP)

by Chem871 » Post

Maybe the armor could give a slight speed boost?
What is SCP-055?

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

New v0.1.5

-Magic Armor (requieres 3d_armor mod).
-Crash when Magic Ball placed fixed.
-Duplicated entry in po translation files fixed.
Last edited by runs on Thu Nov 08, 2018 19:53, edited 1 time in total.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

Chem871 wrote:Maybe the armor could give a slight speed boost?
I did it, the magic armor speed up x1.2 :-)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP)

by runs » Post

v0.1.6
-Inserted the table 'potions' into 'brewing' to avoid conflicts with other mods.
-'credits.txt' file created.
-Corrected the speed of the armor.
-Created a 'speedup' entry in 'brewing.conf' to configure the speed effect of the armor.

WIP: Magic Rose, Magic Petals, fix the Magic Hoe...

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP) [v0.1.7]

by runs » Post

v0.1.7
-Magic Rose, Magic Petals and Magic Rosewater.
-The Magic Wand now plants a Magic Rose Seed.
-It appears a magic aura surrounding the player (magic particles) when a potion is drunk.
-Now a river water bucket can be used to prepare the potions too.
-Added the 'One Use Air' lvl+3 potion.
-No more trusted privilege for this mod, now the settings are read with the standard 'Settings' API function.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Potions Revamp) (WIP) [v0.1.8]

by runs » Post

v0.1.8
-Fixed a crash when brewing in v0.1.7
-Donut Dough, Donut & Rose on a vase added.
-'Jumping' potion lvl+1 added.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Magic) (WIP) [v0.1.8]

by runs » Post

v0.1.9

-Heart.
-[Requires 3d_armor] Heart Amulet: Increases max hp by 5 when equiped

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Copyright Infringement

by rubenwardy » Post

You do not have permission to use things from these 2 resources in a Minetest mod:
From john smith:
John Smith wrote:
  • You're not allowed to use these textures in a customizer or in any other games other than Minecraft.
  • You may never post a link to these packs behind adf.ly or any other for-profit service, a lot of work is put into these packs and I wouldn't want others to make money from all our hard work.
  • You will never post these packs on any other website, this site is the only authorized download location.
yanfly.moe wrote:These recolors came from RPG Maker MV. Naturally, you’ll need to own RPG Maker MV to use them. The Beam versions of the weapons are made by Yanfly and will follow Yanfly’s terms of use found here.
Please replace any resources from these locations, or provide evidence of permission and attach an appropriate license.

If you don't do this, I will have to delete this mod from the forums and ContentDB.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: Copyright Infringement

by runs » Post

rubenwardy wrote:You do not have permission to use things from these 2 resources in a Minetest mod:
From john smith:
John Smith wrote:
  • You're not allowed to use these textures in a customizer or in any other games other than Minecraft.
  • You may never post a link to these packs behind adf.ly or any other for-profit service, a lot of work is put into these packs and I wouldn't want others to make money from all our hard work.
  • You will never post these packs on any other website, this site is the only authorized download location.
yanfly.moe wrote:These recolors came from RPG Maker MV. Naturally, you’ll need to own RPG Maker MV to use them. The Beam versions of the weapons are made by Yanfly and will follow Yanfly’s terms of use found here.
Please replace any resources from these locations, or provide evidence of permission and attach an appropriate license.

If you don't do this, I will have to delete this mod from the forums and ContentDB.
Sorry, I don't know anything about licenses. I thought giving credit was enough.

I'll try to ask for permission to John Smith Legacy, otherwise I will replace those textures.

I will replace the yanfly textures.

Just give me a little time to do it. :-)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Magic) (WIP) [v0.1.9]

by runs » Post

Finally, I've decided to cancel the downloads, until I resolve the texture copyright issues.

I've decided also make two icon sets:
  • 16x16 default.
    32x32 alternative.
Of course both free to use license.

Sorry for the inconveniences.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Magic) (WIP) [v0.1.9]

by runs » Post

I have no permission to use the John Smith textures, so I can no use them more.

I will replace the textures for other 16x16 free ones.

https://www.minecraftforum.net/forums/m ... comment=55

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Magic) (WIP) [v0.1.9]

by runs » Post

I have no permission to use the John Smith textures, so I can no use them more.

https://www.minecraftforum.net/forums/m ... comment=55

I will replace the textures for other 16x16 free ones.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [MOD] Brewing (Magic) (WIP) [v0.1.9]

by texmex » Post

Yes you do! Those people obviously don’t understand licensing because at the same time they’ve licensed it Apache License 2.0 which grants you all the rights that you need. You don’t even have to ask them. Go ahead and use it, just keep a copy in case they choose to change that for new updates.
Image
Image
Attachments
D7B96A4F-EE6D-46E4-81C0-995BA694183F.jpeg
D7B96A4F-EE6D-46E4-81C0-995BA694183F.jpeg (227.71 KiB) Viewed 2821 times
D0EA9443-2C45-492B-AF72-1DCB9E775404.jpeg
D0EA9443-2C45-492B-AF72-1DCB9E775404.jpeg (234.44 KiB) Viewed 2821 times

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [MOD] Brewing (Magic) (WIP) [v0.1.9]

by rubenwardy » Post

Is that listing maintained by the author, or is it unofficial?
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [MOD] Brewing (Magic) (WIP) [v0.1.9]

by texmex » Post

rubenwardy wrote:Is that listing maintained by the author, or is it unofficial?
Very likely official. The user John Smith Team is an active and Curse Premium user since four years back.

I think it's not our responsibility to educate them on coherent licensing policy and the fact that they've officially chosen a proper license for the pack grants runs right to use it. I say fork away!

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Magic) (WIP) [v0.1.9]

by runs » Post

rubenwardy wrote:Is that listing maintained by the author, or is it unofficial?
I've investigated a bit.

It's semi-official. The original author is "lost". They (John Smith Legacy) only continued his work.

The original John Smith post (2012):

https://www.minecraftforum.net/forums/m ... -32x-1-4-2

I guess they get the textures, added new ones for after 2013 Minecraft versions, and changed the license.

I believe I could use the original textures without any problem. The original author disappeared and his original license was freezed.

But:
And you are not allowed to use my textures in a customizer or in any other games else than Minecraft.
But if you cannot contact with the author to he changing the license or let me use it? ...???

Never mind, I prefer to make a version with icons that are clearly free. And in addition in 16x16 of the best possible quality, since it is the size of Minetest by default for the textures.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Magic) (WIP) [v0.2.0]

by runs » Post

v0.2.0:
-Textures changed to 16x16 and free.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [MOD] Brewing (Magic) (WIP) [v0.3]

by runs » Post

v0.3.0
-Removed 1 second of delay when crafting potions: now faster.
-Fixed bug in Magic Heart Amulet: the hp_max was increased over the current player hp, not hp_max.
-The Magic Health Amulet is now an armor amulet: When you put it, the amulet has a power that heals you when you get a damage, this power decreases until the amulet is automatically destroyed. [3d_armor required]
-Some textures improved.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests