kabou
2190080832
Add bonemealing callback for tall grass.
...
* Adds a _mcl_on_bonemealing callback to tall grass.
2024-11-09 20:24:02 -06:00
kabou
ea1d52baab
Add bonemealing callback for double flowers.
...
* Adds a _mcl_on_bonemealing callback to the double flowers.
2024-11-09 20:24:02 -06:00
kabou
fdc7f4634d
Add bonemealing callback for dirt with grass.
...
* Add new file mcl_flowers/bonemeal.lua, containing the bonemealing
callback for "mcl_core:dirt_with_grass".
* Override "mcl_core:dirt_with_grass" with a _mcl_on_bonemealing handler
calling a function defined in mcl_flowers. This sidesteps the problem
that bonemealing a node from mcl_core needs knowledge of mcl_flowers,
which would create a circular dependency. H/t to cora for suggesting
this solution. H/t to wsor for suggesting a solution that also works.
2024-11-09 20:24:02 -06:00
the-real-herowl
9e9507efeb
Plant placement and drop fixes
2024-05-22 21:03:43 +02:00
JoseDouglas26
2430953a81
Set use_texture_alpha for some nodes ( #4262 )
...
* Tall flowers with mesh drawtype (sunflower)
* Clovers
* End rod and its colored variants
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4262
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: JoseDouglas26 <josedouglas20002014@gmail.com>
Co-committed-by: JoseDouglas26 <josedouglas20002014@gmail.com>
2024-04-30 10:41:23 +00:00
the-real-herowl
ade2a1a6a2
Add clovers and four-leaf clovers
2024-03-20 22:18:47 +01:00
the-real-herowl
92ee9c0557
Remove the wrong separate sunflower definition
2023-12-22 23:06:08 +01:00
JoseDouglas26
4d5d595310
changes requested in sunflower definitions
2023-12-22 22:55:09 +01:00
JoseDouglas26
f9972aef01
new lower mesh and selection box
2023-12-22 22:53:55 +01:00
JoseDouglas26
e6a64cfc69
Sound and mining sunflower bug fixes
2023-12-22 22:53:31 +01:00
JoseDouglas26
113f07581b
new sunflower mesh
2023-12-22 22:52:50 +01:00
seventeenthShulker
0637182697
Tallgrass and dead bush added to dig_by_piston
2023-11-04 16:01:46 +00:00
seventeenthShulker
5d8688dbeb
Change tall flowers to buildable_to = false
2023-11-04 16:01:46 +00:00
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