From f992fdad5298a35c144be268c654953a2d33f00c Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sun, 6 Aug 2017 19:04:32 +0200 Subject: [PATCH] added a few comments --- depends.txt | 1 + paint_roller.lua | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/depends.txt b/depends.txt index bd97bb5..5bf485a 100644 --- a/depends.txt +++ b/depends.txt @@ -16,3 +16,4 @@ mycorners? mymulch? clothing? cblocks? +morecolors? diff --git a/paint_roller.lua b/paint_roller.lua index 32b9107..924d3b5 100644 --- a/paint_roller.lua +++ b/paint_roller.lua @@ -1,5 +1,9 @@ -- This is based upon the paint_roller mod by Krock. +-- if the old color of the block can be identified and is supported, its +-- corresponding dye is added to the player's inventory; +-- if at all possible, the block is colored with the dye that is found in +-- the player's inventory to the right of the paintroller minetest.register_tool("colormachine:paint_roller", { description = "Paint roller", inventory_image = "paint_roller.png",