Go to file
Vanessa Dannenberg 9271f07f12 fix incorrect drop behavior when stipping bogus color
in the case of full inv.

Should be the same as normal Minetest behavior now:

In survival mode, the node is deleted, then:

* If there is room in your inv, you get whatever the node
  would normally give you.

* If there's no room, the node drops to the ground as an item
  entity.

In creative mode, the node is deleted, then:

* If you don't already have one of the item, you get one.

* If you already have one, or if there's no room in your
  inventory, "you'll get nothing and LIKE it!" :-)

Also: made sure to check for creative priv as well as proper
creative mode.
2019-09-15 23:57:58 -04:00
locale Add Russian translations 2019-06-26 10:27:48 -04:00
textures expand old split-89 palette to 176 colors 2018-09-12 22:29:57 -04:00
.gitignore added a proper .gitignore file. 2012-07-30 17:59:49 -04:00
API.md remove an obsolete function reference 2019-07-20 04:29:31 -04:00
bottle_overlay.png OPTIMIZE _ALL_ THE TEXTURES! \:D/ 2015-01-23 14:10:13 -05:00
changelog.txt Refactored the code to use default "common" dyes 2013-04-30 06:08:34 -04:00
depends.txt use current intllib API 2014-12-27 01:02:35 -05:00
description.txt Adding standard mod files 2016-03-27 21:36:36 -07:00
init.lua fix incorrect drop behavior when stipping bogus color 2019-09-15 23:57:58 -04:00
LICENSE fix licensing since bucket images aren't used anymore 2014-10-04 11:40:16 -04:00
mod.conf Adding standard mod files 2016-03-27 21:36:36 -07:00
README.md link API to README 2017-06-20 17:00:46 -04:00

VanessaE's Unified Dyes

The purpose of this mod originally was to supply a complete set of colors for Minetest mod authors to use for colorized nodes, or to reference in recipes. Since the advent of the default dyes mod in minetest_game, this mod has become more of an extension of the default mod. Since the advent of param2 colorization, it has also become a library for general color handling.

Unified Dyes expands the standard dye set from 15 colors to 32, 89, or 256 (see the API and usage info).

Dependencies: Minetest engine version 0.4.16 or higher and a corresponding copy of minetest_game.

License: GPL 2.0 or higher.

Install: Unzip the distribution file, rename the resultant folder to just "unifieddyes", move it into Minetest's mods folder, and enable it in your world configuration.

Usage: for detailed usage information, please see the Unified Dyes Thread on the Minetest forum.

API: the full API is documented here: https://github.com/minetest-mods/unifieddyes/blob/master/API.md