Imported from trollstream "ContentDB"

master
OldCoder 2022-09-04 22:02:08 -07:00
commit 45246ec54a
6 changed files with 60 additions and 0 deletions

36
init.lua Normal file
View File

@ -0,0 +1,36 @@
minetest.register_node('bouncy_mushrooms:bouncy_mushroom', {
description = 'Bouncy Mushroom',
tiles = {"bouncy_mushrooms_mushroom_top.png", "bouncy_mushrooms_mushroom_bottom.png", "bouncy_mushrooms_mushroom_side.png"},
paramtype = "light",
sunlight_propagates = true,
drawtype = "nodebox",
groups = { snappy = 1, bouncy = 125, fall_damage_add_percent = -100 },
is_ground_content = true,
node_box = {
type = "fixed",
fixed = {
{-0.125, -0.5, -0.125, 0.125, 0.125, 0.125},
{-0.375, 0.125, -0.375, 0.375, 0.5, 0.375},
}
},
})
minetest.register_decoration({
decoration = "bouncy_mushrooms:bouncy_mushroom",
deco_type = "simple",
place_on = "default:dirt_with_coniferous_litter",
sidelen = 16,
fill_ratio = 0.0008,
y_min = 0,
y_max = 31000,
})
minetest.register_decoration({
decoration = "bouncy_mushrooms:bouncy_mushroom",
deco_type = "simple",
place_on = "nc_terrain:dirt_with_grass",
sidelen = 16,
fill_ratio = 0.0001,
y_min = 0,
y_max = 8,
})

22
license.txt Normal file
View File

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2022 Tim7
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.

2
mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = bouncy_mushrooms
optional_depends = default, nc_terrain

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B