Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

New Luanti mod: Soda

I wanted a mod for soda in Mineclonia, and didn't really find any good options. There was an old mod about soda and vending machines, but it got folded into another mod which doesn't seem to have it currently.

So, I wrote my own mod for soda cans and a 12-pack.

Overview

This Luanti mod is designed for Mineclonia and Minetest Game, and adds a 12-pack of soda cans, empty cans, and drinkable cans of a fun, fizzy drink.

Using

In Minetest Game, the drink gives half a heart. In Mineclonia, the drink adds 15 seconds of Swiftness I, or 15 seconds to any existing Swiftness effect.

A twelve-pack of soda can be crafted, and used from player inventory or placed as a node in the world, to store up to 12 cans of soda. Now you can bring enough drinks to your tailgating party!

Screenshots

Configuring/Settings

No settings. An API is available for defining new cans, and is best demonstrated in cans.lua.

Alternatives

For generic item pouches you can use from player inventory, see Inventory Pouches.

There doesn't appear to be any current alternative for soft drinks in Luanti. Some old mods were listed, but might have been absorbed into other mods which might have since purged them.

Comments