Wine mod for Minetest (and other beverages)

Blockhead 3a2a4d2d7d Merge Tenplus1's master with dye changes 1 year ago
locale 33b17076e8 added translations, sort recipe list 2 years ago
models a0bdf03918 New barrel model, wine glass can be placed 9 years ago
textures afbf526319 Merge branch 'master' of https://notabug.org/TenPlus1/wine 1 year ago
README.md 83e1557a34 added cointreau and margarita (thanks Ethace10 for idea) 2 years ago
agave.lua 3a2a4d2d7d Merge Tenplus1's master with dye changes 1 year ago
depends.txt 85777fdcfd 4 slots for recipe, drinking glass now needed for recipes, barrel holds water for fermenting (thanks Sirrobzeroone) 2 years ago
drinks.lua afbf526319 Merge branch 'master' of https://notabug.org/TenPlus1/wine 1 year ago
init.lua afbf526319 Merge branch 'master' of https://notabug.org/TenPlus1/wine 1 year ago
license.txt 2b9bf9c216 updated license.txt 2 years ago
lucky_block.lua 83e1557a34 added cointreau and margarita (thanks Ethace10 for idea) 2 years ago
mod.conf afbf526319 Merge branch 'master' of https://notabug.org/TenPlus1/wine 1 year ago
screenshot.png 2819178eb3 add screenshot.png (thanks Sirrobzeroone) 2 years ago

README.md

Wine mod for Minetest

by TenPlus1

Depends: Farming Redo

This mod adds a barrel used to ferment grapes into glasses of wine, 9 of which can then be crafted into a bottle of wine. It can also ferment honey into mead, barley into beer, wheat into weizen (wheat beer), corn into bourbon and apples into cider.

Change log:

  • 0.1 - Initial release
  • 0.2 - Added protection checks to barrel
  • 0.3 - New barrel model from cottages mod (thanks Napiophelios), also wine glass can be placed
  • 0.4 - Added ability to ferment barley from farming redo into beer and also honey from mobs redo into honey mead
  • 0.5 - Added apple cider
  • 0.6 - Added API so drinks can easily be added, also added wheat beer thanks to h-v-smacker and support for pipeworks/tubelib
  • 0.7 - Blue Agave now appears in desert areas and spreads very slowly, can me fermented into tequila
  • 0.8 - Barrel and Agave both use node timers now thanks to h-v-smacker, added sake
  • 0.9 - Added Glass of Rum and Bottle of Rum thanks to acm :) Added {alcohol=1} groups
  • 1.0 - Added glass and bottle or Bourbon made by fermenting corn
  • 1.1 - Added glass and bottle of Vodka made by fermenting baked potato, Added MineClone2 support and spanish translation
  • 1.2 - Added Unified Inventory support for barrel recipes (thanks to realmicu)
  • 1.3 - Translations updated and French added thanks to TheDarkTiger
  • 1.4 - Added bottle of beer and bottle of wheat beer (thanks Darkstalker for textures)
  • 1.5 - Added bottle of sake (texture by Darkstalker), code tidy & tweaks, resized bottles and glasses, added some new lucky blocks, support for Thirst mod
  • 1.6 - Added bottle of Mead, Cider and Mint-Julep (textures by Darkstalker), re-arranged code, tweaked lucky blocks, updated translations
  • 1.7 - Added more uses for blue agave (fuel, paper, food, agave syrup)
  • 1.8 - Added glass and bottles for Champagne, Brandy and Coffee Liquor (thanks Felfa)
  • 1.9 - Added wine:add_drink() function to create drink glasses and bottles
  • 1.95 - Tweaked code to accept 2 item recipes, fixed mineclone2 rum recipe and ui recipes
  • 1.98 - New formspec textures and Kefir drink by Sirrobzeroone
  • 1.99 - Barrel now has 4 slots for recipe items (and drinking glasses) and a water slot to fill up barrel with water buckets ready for fermenting, fix mineclone2 compatibility, added translations, added cointreau and margarita (thx Ethace10 for idea)

Lucky Blocks: 24

Wine Mod API

wine:add_item(item_table)

e.g.

wine:add_item({

    -- simple recipe automatically add drinking glasses
{"farming:barley", "wine:glass_beer"},
    -- 2x apples make 1x glass cider
{"default:apple 2", "wine:glass_cider"},
    -- specific recipe has to include drinking glass if needed
{{"default:apple", "farming:sugar", "vessels:drinking_glass"}, "wine:glass_sparkling_apple},

})

wine:add_drink(name, desc, has_bottle, num_hunger, num_thirst, alcoholic)

e.g.

wine:add_drink("beer", "Beer", true, 2, 8, 1) wine:add_drink("cider", "Cider", true, 2, 6, 1) wine:add_drink("kefir", "Kefir", true, 4, 4, 0) -- non alcoholic

Note:

Textures used will be wine_beer_glass.png wine_beer_bottle.png and num_thirst is only used if thirst mod is active, alcoholic is used if stamina mod is active for drunk effect.