[Mod] Beverage (Drinks) [beverage]

Post Reply
User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

[Mod] Beverage (Drinks) [beverage]

by mahmutelmas06 » Post

Beverage Mod
This mod adds various drinks to minetest
(My first mod)

License = WTFPL
beverage.support code from food mod by Rubenwardy

Coffee, Milk, Hot Chocolate
Tea, Green Tea , Orange Juice
Apple Juice, Cherry Juice, Lemonade
Yoghurt, Ice Tea, Coconut Milk

Dependecies
No external depentecies.Just the ones comes with default game engine
Default
Vessels

To do :
Adding support to Thirsty mod done
Adding better inventory images done
Adding drinking sounds done
Animating liquids
Adding more drinks
Adding cofee machine
Adding soda machines done

Farming_plus by Mtdad is recommended
viewtopic.php?f=9&t=10187

Changelog

1.7
Cleaned code and textures
License changed from WTFPL to MIT
You have to use fire to boil hot beverages
Changed recipes
Added a glass of hot and cold water

1.6
Deleted unnecessary codes (kadeh etc)
More coins added
Deleted empty cup and glasses because of no use for now

1.5 -
Vending machine is rotateable
Code tidy
Use coins from many mods for vending machine
Deleted empty cup and glasses

1.4 -
Added maximum stacks
Drinks are consumed when used

1.3 -
Added Vending Machine forked from soda machine by jp
Added tins



1.2 -
Added drinking sounds
Added support for thirsty mod
Added better inventory images (taken from coffee mod )

1.1 -
Better nodeboxes
Better steam animation (from farmingplusplus)
Glasses has texture option too
1.0 -
Initial Release
Image

Image


Hot drinks has steam animation

All drinks has support to theese mods
farming, farming_plus, mobs, animals_modpack, foodblock
moretrees, biomelib, mtfoods, foods, ethereal, flowers
bushes, food_sweet, kpgmobs, fruit, jkanimals, ironapple

You can add your own drinks by using that template

Code: Select all

register_beverage({
				   name = name of your drink,
				   recipe = "put fruit for drink"
				   description = "description of your drink",                 optional
				   liquidcolour = "colour of your liquids RGB code",          optional
				   wherein = "cup or glasses for now"                         optional
				   cuptexture = "cup texture",                                optional
				   heat = "hot or cold by default"                            optional
				  })

Browse code
https://github.com/minetest-mods/beverage

Download here
https://github.com/minetest-mods/bevera ... master.zip
Attachments
screenshot_20151217_020957.png
screenshot_20151217_020957.png (595.96 KiB) Viewed 1713 times
screenshot_20151120_000738.png
screenshot_20151120_000738.png (485.95 KiB) Viewed 1713 times
Last edited by mahmutelmas06 on Mon Nov 21, 2016 10:23, edited 22 times in total.
My Mods:

Beverage

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Beverage Mod

by Don » Post

+1
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Beverage Mod

by mahmutelmas06 » Post

Update 1.1

Better nodeboxes
Better steam animation (from farmingplusplus)
Glasses has texture option too
My Mods:

Beverage

User avatar
Gaming Association
Member
Posts: 62
Joined: Tue Aug 18, 2015 01:52
GitHub: Gerold55
In-game: Gerold55

Re: Beverage Mod

by Gaming Association » Post

Could I use the nodes and animation for my mod that me and someone else is working on?
Gaming Association

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

Re: Beverage Mod

by rubenwardy » Post

Btw, food.support etc is now wtfpl.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Beverage Mod

by mahmutelmas06 » Post

Gaming Association wrote:Could I use the nodes and animation for my mod that me and someone else is working on?
WTFPL
You can use anything you want
My Mods:

Beverage

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Beverage Mod

by mahmutelmas06 » Post

Added drinking sounds
Added support for thirsty mod
Added better inventory images (taken from coffee mod )
Improved Api
My Mods:

Beverage

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [MOD] Beverage

by mahmutelmas06 » Post

Image

- New vending machine - forked from soda machine by jp
- Tins

Sorry for the images
I dont have texturing talent :D
My Mods:

Beverage

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [MOD] Beverage ( Drinks )

by mahmutelmas06 » Post

1.5 -
Vending machine is rotateable
Use coins from many mods for vending machine
Deleted empty cup and glasses

1.4 -
Added maximum stacks
Drinks are consumed when used
My Mods:

Beverage

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [MOD] Beverage ( Drinks )

by mahmutelmas06 » Post

This mod is now a part of http://minetest-mods.github.io/ project.
Download link is updated in the first topic
My Mods:

Beverage

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [MOD] Beverage ( Drinks )

by mahmutelmas06 » Post

1.6
Deleted unnecessary codes (kadeh etc)
More coins added
Deleted empty cup and glasses because of no use for now
My Mods:

Beverage

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Beverage ( Drinks )

by azekill_DIABLO » Post

just some thing: the title of your is "beverage", not "baverage"
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [MOD] Beverage ( Drinks )

by Inocudom » Post

Yes, this mod is off to a very good start. It has its fair share of uses in terms of decorating.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [MOD] Beverage ( Drinks )

by mahmutelmas06 » Post

1.7
Cleaned code and textures
License changed from WTFPL to MIT
You have to use fire to boil hot beverages
Changed recipes
Added a glass of hot and cold water
My Mods:

Beverage

Post Reply

Who is online

Users browsing this forum: ZenonSeth and 18 guests