Commit graph

87 commits

Author SHA1 Message Date
FossFanatic
260a76e5ee Add grass palette nodes in a special group & more
This commit adds any nodes which make use of a grass palette to a `grass_palette` group, to avoid having to create a list of said nodes every time.

I also added one line of code to potted ferns, in preparation for when I get to adding biome coloured potted ferns, which currently use a fixed colour instead of the biome's colour.
2023-03-05 12:45:44 +00:00
FossFanatic
169019096e Change the waterlily code
Waterlilies now use a brownish grey texture with a coded hex colour.
2023-02-09 09:46:18 +00:00
FossFanatic
a0c5a04d26 Rename _mcl_palette_index to _mcl_grass_palette_index 2022-12-28 19:32:42 +00:00
cora
dec207368c Add wither rose 2022-11-01 04:52:17 +01:00
kabou
ed8995acec Fix add_large_plant() argument mismatch.
* In commit 86b2cd70f9 an extra argument
  was added to the `add_large_plant()` function in order to handle silk
  touch.  For some reason, the callers for "double_grass" and
  "double_fern" were updated with two new arguments.  Because of this,
  silk touch likely never worked on these nodes.  This commit removes
  the unused `nil` argument from both callers.
* This commit fixes #2155.
2022-05-01 10:31:01 +00:00
kabou
de16eb3c5a Add compostability to node definition group.
* mcl_cake/init.lua (cake);
* mcl_core/craftitems.lua (apple);
* mcl_core/nodes_base.lua (dirt with grass);
* mcl_core/nodes_cactuscane.lua (cactus, sugarcane);
* mcl_core/nodes_climb.lua (vines);
* mcl_core/nodes_trees.lua (leaves, saplings);
* mcl_dye/init.lua (cocoa beans);
* mcl_farming/beetroot.lua (beetroot, & seeds);
* mcl_farming/carrots.lua (carrot);
* mcl_farming/melon.lua (melon, & slice, & seeds);
* mcl_farming/potatoes.lua (potato, baked potato);
* mcl_farming/pumpkin.lua (pumpkin, carved &, & seeds, & pie);
* mcl_farming/wheat.lua (wheat, cookie, bread, hay block);
* mcl_flowers/init.lua (flowers, ferns, grass, & tall variants);
* mcl_mushrooms/small.lua (red and brown mushrooms);
* mcl_mushrooms/huge.lua (red and brown huge mushrooms);
* mcl_nether/init.lua (nether wart block);
* mcl_nether/nether_wart.lua (nether wart);
* mcl_ocean/kelp.lua (kelp, dried &, & block);
* mcl_ocean/sea_pickle.lua (sea pickle);
* mcl_ocean/seagrass.lua (seagrass).
2022-04-02 03:32:56 +02:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
45ab5c8e25 [mcl_flowers] fix warnings 2021-05-22 23:29:51 +02:00
AFCMS
a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
AFCMS
ad87169120 fix warnings 2021-03-12 10:03:57 +01:00
AFCMS
81167b4431 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-03-12 10:02:03 +01:00
AFCMS
8c87014a01 fix fern texture 2021-03-12 00:47:34 +01:00
epCode
19337489f6 Fix crash with mcl_flowers 2021-03-11 14:31:36 -08:00
AFCMS
3b7b055e2c add saplings to mcl_flowerpots 2021-03-11 22:42:42 +01:00
AFCMS
7b5d67cdbe add flowerpots API 2021-03-11 22:13:43 +01:00
AFCMS
134005180c add global table of registered flowers (to be used with mcl_flowerpots and other mods) 2021-03-11 17:49:16 +00:00
AFCMS
5124a97add move flowers registering to separate file 2021-03-11 17:36:02 +00:00
AFCMS
9a910e033b Add basic API to register flowers (#53) 2021-03-11 17:31:29 +00:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
e66d66caf9 Fix #399 2021-01-28 19:02:44 +01:00
MysticTempest
cbd3a491f6 Add support for mcimported worlds by clearing out singlenode mapgen, and adding a toggleable fix for converted double_plants. 2021-01-25 20:23:38 -06:00
Elias Fleckenstein
86b2cd70f9 Fortune 2020-11-06 13:46:52 +01:00
Wuzzy
d230543567 Fix incorrect peony/rosebush descriptions 2020-07-11 11:53:08 +02:00
Wuzzy
c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy
e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Wuzzy
a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
44c95084ab Simplify lilypad rotation 2019-12-14 22:13:54 +01:00
Wuzzy
b3829eaf9b Fix tallgrass/fern placement color 2019-12-14 01:15:37 +01:00
Wuzzy
6002cd0af5 Fix tallgrass, fern, bonemeal for new grass color 2019-12-13 15:32:57 +01:00
Wuzzy
77ab44217a German transl.: mcl_fishing to mcl_maps + fixes 2019-03-15 06:12:03 +01:00
Wuzzy
47c817d75a New translation system, part 8: Items, part 4 2019-03-08 00:22:28 +01:00
Wuzzy
a7d429a017 Fix several "undeclared global" errors 2019-02-08 22:44:26 +01:00
Wuzzy
07219b96b1 Fix shears not wear off if dig tallgrass etc. 2017-11-20 09:35:08 +01:00
Wuzzy
cbd3061d1b Change allium texture 2017-11-17 23:51:50 +01:00
Wuzzy
cf1b999ab6 Generalize grass color check 2017-11-16 07:48:55 +01:00
Wuzzy
a9d95dea23 Use hardware coloring for tallgrass and friends 2017-11-16 03:13:19 +01:00
Wuzzy
06d109e86b Fix can place flower podzol and coarse dirt
Also fix help entries
2017-11-15 05:02:37 +01:00
Wuzzy
192a440745 Tweak selection boxes of plantlike nodes 2017-11-15 04:40:29 +01:00
Wuzzy
6b2c06934a Autom. make grass/fern dry if placed on dry grass 2017-11-15 01:29:17 +01:00
Wuzzy
72f5591400 Add dry-colored grass/fern variants 2017-11-14 23:44:53 +01:00
Wuzzy
f1bbb1237b Enable waving small plants and leaves
Caveats: Double plants do not wave
2017-09-13 06:50:54 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
27988ecf84 Less redundant drop values in mcl_flowers 2017-08-03 04:06:57 +02:00
Wuzzy
ffd9945f31 Fix flower "top" part appearing after dig 2017-08-03 04:00:01 +02:00
Wuzzy
c36d19508b Special drop when dig double grass/fern w/ shears 2017-08-03 03:12:06 +02:00
Wuzzy
54fb702c8f Shears selfdrop dead bush, tall grass, fern, vine, leaves 2017-08-03 02:27:55 +02:00
Wuzzy
04593eca08 Localize a couple of accidental global variables 2017-08-02 01:34:12 +02:00
Wuzzy
cd355befdf Add placement sound for lily pad 2017-07-24 21:26:49 +02:00
Wuzzy
ca01259b59 Set list of nodes which can be taken by endermen 2017-07-05 20:14:37 +02:00