From b06079ed16fcb4d6dd564745ea7f63b4121f5439 Mon Sep 17 00:00:00 2001 From: ezhh Date: Sun, 19 Nov 2017 02:15:19 +0000 Subject: [PATCH] Add red grass --- mods/plants/depends.txt | 1 + mods/plants/init.lua | 30 ++++++++++++++++++ mods/plants/license.txt | 37 +++++++++++++++++++++++ mods/plants/textures/plants_redgrass.png | Bin 0 -> 3667 bytes 4 files changed, 68 insertions(+) create mode 100644 mods/plants/depends.txt create mode 100644 mods/plants/init.lua create mode 100644 mods/plants/license.txt create mode 100644 mods/plants/textures/plants_redgrass.png diff --git a/mods/plants/depends.txt b/mods/plants/depends.txt new file mode 100644 index 0000000..925964f --- /dev/null +++ b/mods/plants/depends.txt @@ -0,0 +1 @@ +abri \ No newline at end of file diff --git a/mods/plants/init.lua b/mods/plants/init.lua new file mode 100644 index 0000000..3ffde25 --- /dev/null +++ b/mods/plants/init.lua @@ -0,0 +1,30 @@ + +minetest.register_node("plants:redgrass", { + description = "Red Grass", + drawtype = "plantlike", + waving = 1, + visual_scale = 1.3, + tiles = {"plants_redgrass.png"}, + inventory_image = "plants_redgrass.png", + wield_image = "plants_redgrass.png", + paramtype = "light", + sunlight_propagates = true, + walkable = false, + buildable_to = true, + groups = {snappy=3, flora=1, attached_node=1}, + -- sounds = default.node_sound_leaves_defaults(), + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, +}) + +minetest.register_decoration({ + deco_type = "simple", + place_on = "abri:dirt_with_red_grass", + sidelen = 16, + fill_ratio = 0.03, + biomes = {"red_land"}, + decoration = "plants:redgrass", + height = 1, +}) \ No newline at end of file diff --git a/mods/plants/license.txt b/mods/plants/license.txt new file mode 100644 index 0000000..9d66b96 --- /dev/null +++ b/mods/plants/license.txt @@ -0,0 +1,37 @@ +Code: +--- + +The MIT License (MIT) + +Copyright (c) 2017 Shara RedCat + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +----------------------- + + +Textures: +--- + +(unless otherwise listed, recolouring and editing done by Shara RedCat) + +plants_redgrass.png +Based on junglegrass texture in minetest_game (CC BY-SA 3.0). + diff --git a/mods/plants/textures/plants_redgrass.png b/mods/plants/textures/plants_redgrass.png new file mode 100644 index 0000000000000000000000000000000000000000..cdf638a30ca9f2d72be51971445a33ed32c8868c GIT binary patch literal 3667 zcmV-Z4y^HsP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoB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