From 4d159ffe8b3a7d55d1467aacc1394aeb307dc675 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 22 Feb 2017 15:08:39 +0100 Subject: [PATCH] Add descriptions to farming plants --- mods/ITEMS/mcl_farming/beetroot.lua | 4 ++++ mods/ITEMS/mcl_farming/carrots.lua | 4 ++++ mods/ITEMS/mcl_farming/melon.lua | 7 +++++++ mods/ITEMS/mcl_farming/potatoes.lua | 3 +++ mods/ITEMS/mcl_farming/pumpkin.lua | 7 +++++++ mods/ITEMS/mcl_farming/wheat.lua | 4 ++++ 6 files changed, 29 insertions(+) diff --git a/mods/ITEMS/mcl_farming/beetroot.lua b/mods/ITEMS/mcl_farming/beetroot.lua index fdc64b7196..b48d609dd9 100644 --- a/mods/ITEMS/mcl_farming/beetroot.lua +++ b/mods/ITEMS/mcl_farming/beetroot.lua @@ -9,6 +9,7 @@ minetest.register_craftitem("mcl_farming:beetroot_seeds", { }) minetest.register_node("mcl_farming:beetroot_0", { + description = "Premature Beetroot Plant (First Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -25,6 +26,7 @@ minetest.register_node("mcl_farming:beetroot_0", { }) minetest.register_node("mcl_farming:beetroot_1", { + description = "Premature Beetroot Plant (Second Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -41,6 +43,7 @@ minetest.register_node("mcl_farming:beetroot_1", { }) minetest.register_node("mcl_farming:beetroot_2", { + description = "Premature Beetroot Plant (Third Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -57,6 +60,7 @@ minetest.register_node("mcl_farming:beetroot_2", { }) minetest.register_node("mcl_farming:beetroot", { + description = "Mature Beetroot Plant", paramtype = "light", walkable = false, drawtype = "plantlike", diff --git a/mods/ITEMS/mcl_farming/carrots.lua b/mods/ITEMS/mcl_farming/carrots.lua index 26e389840f..240df8e6a3 100644 --- a/mods/ITEMS/mcl_farming/carrots.lua +++ b/mods/ITEMS/mcl_farming/carrots.lua @@ -1,4 +1,5 @@ minetest.register_node("mcl_farming:carrot_1", { + description = "Carrot Plant (First Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -15,6 +16,7 @@ minetest.register_node("mcl_farming:carrot_1", { }) minetest.register_node("mcl_farming:carrot_2", { + description = "Carrot Plant (Second Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -31,6 +33,7 @@ minetest.register_node("mcl_farming:carrot_2", { }) minetest.register_node("mcl_farming:carrot_3", { + description = "Carrot Plant (Third Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -47,6 +50,7 @@ minetest.register_node("mcl_farming:carrot_3", { }) minetest.register_node("mcl_farming:carrot", { + description = "Carrot Plant", paramtype = "light", walkable = false, drawtype = "plantlike", diff --git a/mods/ITEMS/mcl_farming/melon.lua b/mods/ITEMS/mcl_farming/melon.lua index d4bd3d0827..a05455bb4b 100644 --- a/mods/ITEMS/mcl_farming/melon.lua +++ b/mods/ITEMS/mcl_farming/melon.lua @@ -59,6 +59,7 @@ local stemdrop = { } minetest.register_node("mcl_farming:melontige_1", { + description = "Melon Stem (1)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -76,6 +77,7 @@ minetest.register_node("mcl_farming:melontige_1", { }) minetest.register_node("mcl_farming:melontige_2", { + description = "Melon Stem (2)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -93,6 +95,7 @@ minetest.register_node("mcl_farming:melontige_2", { }) minetest.register_node("mcl_farming:melontige_unconnect", { + description = "Melon Stem (unconnected)", paramtype = "light", walkable = false, sunlight_propagates = true, @@ -104,6 +107,7 @@ minetest.register_node("mcl_farming:melontige_unconnect", { }) minetest.register_node("mcl_farming:melontige_linked_r", { + description = "Melon Stem (linked to the right)", paramtype = "light", sunlight_propagates = true, walkable = false, @@ -134,6 +138,7 @@ minetest.register_node("mcl_farming:melontige_linked_r", { }) minetest.register_node("mcl_farming:melontige_linked_l", { + description = "Melon Stem (linked to the left)", paramtype = "light", walkable = false, sunlight_propagates = true, @@ -164,6 +169,7 @@ minetest.register_node("mcl_farming:melontige_linked_l", { }) minetest.register_node("mcl_farming:melontige_linked_t", { + description = "Melon Stem (linked to the top)", paramtype = "light", walkable = false, sunlight_propagates = true, @@ -194,6 +200,7 @@ minetest.register_node("mcl_farming:melontige_linked_t", { }) minetest.register_node("mcl_farming:melontige_linked_b", { + description = "Melon Stem (linked to the bottom)", paramtype = "light", walkable = false, sunlight_propagates = true, diff --git a/mods/ITEMS/mcl_farming/potatoes.lua b/mods/ITEMS/mcl_farming/potatoes.lua index f173761b42..f74108276a 100644 --- a/mods/ITEMS/mcl_farming/potatoes.lua +++ b/mods/ITEMS/mcl_farming/potatoes.lua @@ -1,4 +1,5 @@ minetest.register_node("mcl_farming:potato_1", { + description = "Premature Potato Plant (First Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -15,6 +16,7 @@ minetest.register_node("mcl_farming:potato_1", { }) minetest.register_node("mcl_farming:potato_2", { + description = "Premature Potato Plant (Second Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -31,6 +33,7 @@ minetest.register_node("mcl_farming:potato_2", { }) minetest.register_node("mcl_farming:potato", { + description = "Mature Potato Plant", paramtype = "light", walkable = false, drawtype = "plantlike", diff --git a/mods/ITEMS/mcl_farming/pumpkin.lua b/mods/ITEMS/mcl_farming/pumpkin.lua index e2fdc6a8b6..42209078f7 100644 --- a/mods/ITEMS/mcl_farming/pumpkin.lua +++ b/mods/ITEMS/mcl_farming/pumpkin.lua @@ -9,6 +9,7 @@ minetest.register_craftitem("mcl_farming:pumpkin_seeds", { }) minetest.register_node("mcl_farming:pumpkin_1", { + description = "Premature Pumpkin (First Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -26,6 +27,7 @@ minetest.register_node("mcl_farming:pumpkin_1", { }) minetest.register_node("mcl_farming:pumpkin_2", { + description = "Premature Pumpkin (Second Stage)", paramtype = "light", walkable = false, drawtype = "plantlike", @@ -74,6 +76,7 @@ minetest.register_node("mcl_farming:pumpkin_face", { }) minetest.register_node("mcl_farming:pumpkintige_unconnect", { + description = "Pumpkin Stem (Not Connected)", paramtype = "light", walkable = false, sunlight_propagates = true, @@ -86,6 +89,7 @@ minetest.register_node("mcl_farming:pumpkintige_unconnect", { minetest.register_node("mcl_farming:pumpkintige_linked_r", { + description = "Pumpkin Stem (Linked to the Right)", paramtype = "light", sunlight_propagates = true, walkable = false, @@ -116,6 +120,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_r", { }) minetest.register_node("mcl_farming:pumpkintige_linked_l", { + description = "Pumpkin Stem (Linked to the Left)", paramtype = "light", walkable = false, sunlight_propagates = true, @@ -146,6 +151,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_l", { }) minetest.register_node("mcl_farming:pumpkintige_linked_t", { + description = "Pumpkin Stem (Linked to the Top)", paramtype = "light", walkable = false, sunlight_propagates = true, @@ -176,6 +182,7 @@ minetest.register_node("mcl_farming:pumpkintige_linked_t", { }) minetest.register_node("mcl_farming:pumpkintige_linked_b", { + description = "Pumpkin Stem (Linked to the Bottom)", paramtype = "light", walkable = false, sunlight_propagates = true, diff --git a/mods/ITEMS/mcl_farming/wheat.lua b/mods/ITEMS/mcl_farming/wheat.lua index d53b208720..ae461bad61 100644 --- a/mods/ITEMS/mcl_farming/wheat.lua +++ b/mods/ITEMS/mcl_farming/wheat.lua @@ -8,6 +8,7 @@ minetest.register_craftitem("mcl_farming:wheat_seeds", { }) minetest.register_node("mcl_farming:wheat_1", { + description = "Premature Wheat Plant (First Stage)", paramtype = "light", sunlight_propagates = true, walkable = false, @@ -35,6 +36,7 @@ minetest.register_node("mcl_farming:wheat_1", { }) minetest.register_node("mcl_farming:wheat_2", { + description = "Premature Wheat Plant (Second Stage)", sunlight_propagates = true, paramtype = "light", walkable = false, @@ -62,6 +64,7 @@ minetest.register_node("mcl_farming:wheat_2", { }) minetest.register_node("mcl_farming:wheat_3", { + description = "Premature Wheat Plant (Third Stage)", sunlight_propagates = true, paramtype = "light", walkable = false, @@ -89,6 +92,7 @@ minetest.register_node("mcl_farming:wheat_3", { }) minetest.register_node("mcl_farming:wheat", { + description = "Mature Wheat Plant", sunlight_propagates = true, paramtype = "light", walkable = false,