diff options
Diffstat (limited to 'gardening')
-rw-r--r-- | gardening/README.txt | 75 | ||||
-rw-r--r-- | gardening/init.lua | 168 | ||||
-rw-r--r-- | gardening/textures/gardening_dandelions.png | bin | 0 -> 544 bytes | |||
-rw-r--r-- | gardening/textures/gardening_geranium_shrub.png | bin | 0 -> 644 bytes | |||
-rw-r--r-- | gardening/textures/gardening_packed_dirt.png | bin | 0 -> 3177 bytes | |||
-rw-r--r-- | gardening/textures/gardening_rosebush.png | bin | 0 -> 1055 bytes | |||
-rw-r--r-- | gardening/textures/gardening_tulip_shrub.png | bin | 0 -> 483 bytes | |||
-rw-r--r-- | gardening/textures/gardening_violas.png | bin | 0 -> 421 bytes |
8 files changed, 243 insertions, 0 deletions
diff --git a/gardening/README.txt b/gardening/README.txt new file mode 100644 index 0000000..cb42f2c --- /dev/null +++ b/gardening/README.txt @@ -0,0 +1,75 @@ +-=-
+
+Gardening mod
+-
+By: philipbenr
+
+-=-
+
+Before use, realize this; This mod is purely decorative. It has crafting recipes, but no natural spawning abilities. Those may be added later with the removal of crafting.
+
+-=-
+
+License : WTFPL
+
+-=-
+
+Depends : Default, Minetest 0.4.7 or Flowers.
+
+-=-
+
+Crafting recipes
+~~~~~~~~~~~~~~~~~
+Packed Dirt =
+
+ Stone
+ Sand
+ Dirt
+
+in any column
+--------------
+Rosebush =
+
+ Rose
+ Leaves
+ Tree
+
+in any column
+--------------
+Violas =
+
+ Viola
+ Leaves
+ Tree
+
+in any column
+--------------
+Geraniums =
+
+ Geranium
+ Leaves
+ Tree
+
+in any column
+--------------
+Tulips =
+
+ Tulips
+ Leaves
+ Tree
+
+in any column
+--------------
+
+Dandelions =
+
+ _, Yellow Dandelion, White Dandelion
+ _, Leaves, _
+ _, Tree, _
+
+this is the only fixed recipe
+--------------
+
+-=-
+
+Thats all for now.
diff --git a/gardening/init.lua b/gardening/init.lua new file mode 100644 index 0000000..6e743d2 --- /dev/null +++ b/gardening/init.lua @@ -0,0 +1,168 @@ +minetest.register_node("gardening:rosebush", {
+ description = "Rosebush",
+ drawtype = "plantlike",
+ visual_scale = 1.1,
+ inventory_image = "gardening_rosebush.png",
+ wield_image = "gardening_rosebush.png",
+ tiles = {"gardening_rosebush.png"},
+ paramtype = "light",
+ walkable = false,
+ buildable_to = true,
+ is_ground_content = true,
+ groups = {snappy=3,flammable=3,attached_node=1},
+-- sounds = default.node_sound_leaves_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5},
+ },
+})
+
+minetest.register_craft({
+ output = 'gardening:rosebush',
+ recipe = {
+ {'flowers:rose'},
+ {'default:leaves'},
+ {'default:tree'},
+ },
+})
+
+-- geraniums
+
+minetest.register_node("gardening:geranium_shrub", {
+ description = "Geranium cluster",
+ drawtype = "plantlike",
+ visual_scale = 1.1,
+ inventory_image = "gardening_geranium_shrub.png",
+ wield_image = "gardening_geranium_shrub.png",
+ tiles = {"gardening_geranium_shrub.png"},
+ paramtype = "light",
+ walkable = false,
+ buildable_to = true,
+ is_ground_content = true,
+ groups = {snappy=3,flammable=3,attached_node=1},
+-- sounds = default.node_sound_leaves_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5},
+ },
+})
+
+minetest.register_craft({
+ output = 'gardening:geranium_shrub',
+ recipe = {
+ {'flowers:geranium'},
+ {'default:leaves'},
+ {'default:tree'},
+ },
+})
+
+-- viola
+
+minetest.register_node("gardening:violas", {
+ description = "Violas cluster",
+ drawtype = "plantlike",
+ visual_scale = 1.1,
+ inventory_image = "gardening_violas.png",
+ wield_image = "gardening_violas.png",
+ tiles = {"gardening_violas.png"},
+ paramtype = "light",
+ walkable = false,
+ buildable_to = true,
+ is_ground_content = true,
+ groups = {snappy=3,flammable=3,attached_node=1},
+-- sounds = default.node_sound_leaves_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5},
+ },
+})
+
+minetest.register_craft({
+ output = 'gardening:violas',
+ recipe = {
+ {'flowers:viola'},
+ {'default:leaves'},
+ {'default:tree'},
+ },
+})
+
+-- dandelions
+
+minetest.register_node('gardening:dandelions', {
+ description = "Dandelion cluster",
+ drawtype = "plantlike",
+ visual_scale = 1.1,
+ inventory_image = "gardening_dandelions.png",
+ wield_image = "gardening_dandelions.png",
+ tiles = {"gardening_dandelions.png"},
+ paramtype = "light",
+ walkable = false,
+ buildable_to = true,
+ is_ground_content = true,
+ groups = {snappy=3,flammable=3,attached_node=1},
+-- sounds = default.node_sound_leaves_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5},
+ },
+})
+
+minetest.register_craft({
+ output = 'gardening:dandelions',
+ recipe = {
+ {'', 'flowers:dandelion_yellow', 'flowers:dandelion_white'},
+ {'', 'default:leaves', ''},
+ {'', 'default:tree', ''},
+ },
+})
+
+--tulips
+
+minetest.register_node("gardening:tulip_shrub", {
+ description = "Tulip cluster",
+ drawtype = "plantlike",
+ visual_scale = 1.1,
+ inventory_image = "gardening_tulip_shrub.png",
+ wield_image = "gardening_tulip_shrub.png",
+ tiles = {"gardening_tulip_shrub.png"},
+ paramtype = "light",
+ walkable = false,
+ buildable_to = true,
+ is_ground_content = true,
+ groups = {snappy=3,flammable=3,attached_node=1},
+-- sounds = default.node_sound_leaves_defaults(),
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5},
+ },
+})
+
+minetest.register_craft({
+ output = 'gardening:tulip_shrub',
+ recipe = {
+ {'flowers:tulip'},
+ {'default:leaves'},
+ {'default:tree'},
+ },
+})
+
+--packed dirt
+
+minetest.register_node("gardening:packed_dirt", {
+ description = "Packed Dirt",
+ tiles = {"gardening_packed_dirt.png"},
+ is_ground_content = true,
+ groups = {crumbly=3},
+-- sounds = default.node_sound_dirt_defaults(),
+})
+
+minetest.register_craft({
+ output = 'gardening:packed_dirt 3',
+ recipe = {
+ {'default:stone'},
+ {'default:sand'},
+ {'default:dirt'},
+ }
+})
+
+
diff --git a/gardening/textures/gardening_dandelions.png b/gardening/textures/gardening_dandelions.png Binary files differnew file mode 100644 index 0000000..085c6f2 --- /dev/null +++ b/gardening/textures/gardening_dandelions.png diff --git a/gardening/textures/gardening_geranium_shrub.png b/gardening/textures/gardening_geranium_shrub.png Binary files differnew file mode 100644 index 0000000..102ee68 --- /dev/null +++ b/gardening/textures/gardening_geranium_shrub.png diff --git a/gardening/textures/gardening_packed_dirt.png b/gardening/textures/gardening_packed_dirt.png Binary files differnew file mode 100644 index 0000000..c763866 --- /dev/null +++ b/gardening/textures/gardening_packed_dirt.png diff --git a/gardening/textures/gardening_rosebush.png b/gardening/textures/gardening_rosebush.png Binary files differnew file mode 100644 index 0000000..c91fc3c --- /dev/null +++ b/gardening/textures/gardening_rosebush.png diff --git a/gardening/textures/gardening_tulip_shrub.png b/gardening/textures/gardening_tulip_shrub.png Binary files differnew file mode 100644 index 0000000..282d2c2 --- /dev/null +++ b/gardening/textures/gardening_tulip_shrub.png diff --git a/gardening/textures/gardening_violas.png b/gardening/textures/gardening_violas.png Binary files differnew file mode 100644 index 0000000..258b78e --- /dev/null +++ b/gardening/textures/gardening_violas.png |