Add red grass
parent
6110e85a90
commit
b06079ed16
|
@ -0,0 +1 @@
|
||||||
|
abri
|
|
@ -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,
|
||||||
|
})
|
|
@ -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).
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Loading…
Reference in New Issue