From 849513e165617449d48d5c04594912917dcdfb20 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 20 Aug 2013 20:39:32 -0400 Subject: [PATCH] removed all colors from creative inventory in prep for spray booth mod --- README.md | 5 +++-- init.lua | 13 ++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bf60cbe..251207e 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ + Doyousketch2's Stained Glass mod -ver 1.2 +ver 1.3 Image: http://oi47.tinypic.com/hst6s3.jpg -With alpha enabled: http://oi44.tinypic.com/5vraxf.jpg +With alpha enabled: http://oi44.tinypic.com/5vraxf.jpg ============================================================================== diff --git a/init.lua b/init.lua index 7085117..40102a9 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,6 @@ --[[ -Stained Glass 1.2 +Stained Glass 1.3 This mod provides luminescent stained glass blocks for Minetest 0.4.x. @@ -17,6 +17,9 @@ Email: doyousketch2 @ yahoo.com Unified Dyes was released under GNU-GPL 2.0, see LICENSE for info. More Blocks was released under zlib/libpng for code and CC BY-SA 3.0 Unported for textures, see LICENSE.txt for info. +Additional changes by VanessaEzekowitz in July 2013 to take all items +out of creative inventory. + ============================================================================== @@ -149,7 +152,7 @@ for h = 1, 12 do use_texture_alpha = true, light_source = 14, is_ground_content = true, - groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1}, sounds = default.node_sound_glass_defaults() }) end --sat @@ -192,7 +195,7 @@ for h = 1, 12 do use_texture_alpha = true, light_source = 14, is_ground_content = true, - groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1}, sounds = default.node_sound_glass_defaults() }) @@ -236,7 +239,7 @@ for h = 1, 12 do use_texture_alpha = true, light_source = 14, is_ground_content = true, - groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1}, sounds = default.node_sound_glass_defaults() }) @@ -281,7 +284,7 @@ for h = 1, 12 do use_texture_alpha = true, light_source = 14, is_ground_content = true, - groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, + groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1}, sounds = default.node_sound_glass_defaults() })