Compare commits

...

8 Commits

Author SHA1 Message Date
bri cassa cae249a88a Blueflower spawn to grassland 2023-11-26 18:55:49 +01:00
bri cassa 4bf92e471a Add missed depends in mod.conf 2022-07-07 18:50:25 +02:00
bri cassa e0d6663960 Delete depends.txt, description.txt, add mod.conf 2022-07-02 21:45:23 +02:00
bri cassa 07f4ac8379 Merge remote-tracking branch 'upstream/master' 2021-03-12 12:35:47 +01:00
D00Med ffc1b1921d
Merge pull request #8 from sys4-fr/master
Some fixes and improvements
2021-02-27 06:00:36 +10:00
Sys Quatre 681d1d963c Merge branch 'github' 2021-02-26 14:39:03 +01:00
Sys Quatre d4e6b9c3a5 Fix the use of deprecated functions for Minetest 5.4
* Remove 'use_texture_alpha = true' not needed and deprecated
* Replace 'minetest.get_mapgen_params().mgname' by
  'minetest.get_mapgen_setting("mg_name")'
2021-02-26 14:30:20 +01:00
Sys Quatre 5e8cd73393 Merge remote-tracking branch 'upstream/master' into github 2021-02-26 12:52:52 +01:00
4 changed files with 7 additions and 14 deletions

View File

@ -1 +0,0 @@
default

View File

@ -1,9 +0,0 @@
A simple mod that adds a few new plants.
Changed in V1.2:
>more plants
>plants now spawn on new worlds(as decorations not using an ABM)
>curly plants have fruit, and eyeweeds drop eyeballs
>smaller textures
Changed in V1.3:
>added all plants to the group attached_node

View File

@ -636,7 +636,6 @@ minetest.register_node("moreplants:palmleaves2", {
visual_scale = 2.5,
tiles = {"moreplants_palmleaves2.png"},
inventory_image = "moreplants_palmleaves2.png",
use_texture_alpha = true,
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = false,
@ -656,7 +655,6 @@ minetest.register_node("moreplants:palmleaves1", {
visual_scale = 4.0,
tiles = {"moreplants_palmleaves.png"},
inventory_image = "moreplants_palmleaves.png",
use_texture_alpha = true,
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = false,
@ -729,7 +727,7 @@ minetest.register_decoration({
place_on = "default:dirt_with_grass",
sidelen = 16,
fill_ratio = 0.001,
biomes = {"stone_grassland", "sandstone_grassland"},
biomes = {"grassland"},
decoration = "moreplants:blueflower",
height = 1,
})
@ -949,7 +947,8 @@ minetest.register_decoration({
-- })
end
if minetest.get_mapgen_params().mgname ~= "v6" or minetest.get_mapgen_params().mgname ~= "singlenode" then
local mgname = minetest.get_mapgen_setting("mg_name")
if mgname ~= "v6" and mgname ~= "singlenode" then
moreplants.mapgen()
end

4
mod.conf Normal file
View File

@ -0,0 +1,4 @@
name = moreplants
title = More Plants
description = A simple mod that adds a few new plants.
depends = default