Milan
f3be63d874
merge upstream
2022-08-25 17:51:59 +02:00
tenplus1
642fde44f1
Use group for mushroom spread ABM ( #2863 )
...
Have mushroom spread abm use group:mushroom to spread not only default red and brown but all defined shrooms.
2021-05-08 14:42:34 +02:00
sfan5
08b13c9efb
Fix deprecated alpha / use_texture_alpha use
2021-02-07 11:48:05 +01:00
Maksim
e6aec880de
Use Minetest 5.3 'minetest.is_creative_enabled' API ( #2795 )
2020-12-13 18:59:19 +01:00
Milan Ihl
029ab5aa0c
resolve mergeconflicts
2020-08-17 22:07:15 +02:00
Yves Quemener
bb9279ccb8
Add support for MT 5 game translation (rebasing ) ( #2466 )
...
rebased #2368
2019-09-10 19:09:51 +02:00
t0ny2
54bb0afe7f
Make waterlily wave when placed on waving water
2019-06-16 22:09:36 +01:00
An0n3m0us
e19f42d648
Add groups for tools and mushrooms ( #2378 )
2019-06-01 21:10:30 +02:00
HybridDog
b20725026e
flowers: Light check optimisation in mushroom spread
2019-03-31 22:20:28 +01:00
acmgit
891f00e9db
Flowers: Remove stack max definition ( #2324 )
2019-03-05 11:59:23 +01:00
Milan
2e451bd11e
merge upstream
2019-02-07 13:17:18 +01:00
Paramat
bf3efa0bb7
Flora spread: Reduce maximum density
...
Previously, maximum flora density was chosen based on the extremely rare
occurrence of all 8 flowers being at high density at one location. This
caused flora everywhere to spread to an unacceptably high density.
Revert the threshold to 3, which in testing results in a more acceptable
maximum density of 7 flora per 9x9 area.
2018-07-17 05:04:46 +01:00
tenplus1
11b3407671
Add food_* groups to default edibles ( #2089 )
2018-04-04 10:59:15 +02:00
paramat
63ebdfd139
Waterlily: Place as Y-offset simple decoration
2018-02-27 01:16:48 +00:00
paramat
495fa32873
Flower spread: Only spread to the same surface node
2018-02-17 09:37:27 +00:00
paramat
a587972010
Flower spread ABM: Optimise
...
Match maximum spread density to maximum mapgen density for flowers.
Place 3 flora nodes at once instead of 1.
Change ABM chance value to 300 to match previous spread rate.
ABM becomes 3 times less intensive.
2018-02-04 02:34:36 +00:00
paramat
2c5670563a
Flowers: Add black tulip, green chrysanthemum
...
Adds a direct resource of green dye, and a flower resource of black dye.
Completes the colour sequence: red, orange, yellow, green, blue, violet.
Makes all base dyes cultivatable and sustainable, without the presence
of coal.
Add the new flowers to the world with the same density variation as the
others, but obviously with different noise seeds. Results in more flowers
in a world and more variety of flower combinations.
2017-11-27 01:51:33 +00:00
DTA7
a2d7678ffd
Add nil checks for placer
2017-11-15 23:16:28 +00:00
tenplus1
2d8207a924
Flowers: Add waterlily right-click checks
...
Check for on_rightclick functions of nodes when holding a waterlily.
2017-09-25 15:58:59 +01:00
tenplus1
bcf98df5fa
Mushroom spread: Optimise and make overridable
...
Move mushroom spread ABM action into a global and overridable function.
Optimise spread code.
Reduce spread range to reduce spread through walls.
2017-08-25 23:07:19 +01:00
Milan*
8a3f06a18f
fix mergeconflicts
2017-07-30 12:15:29 +02:00
Ezhh
40ed77185e
Improve node descriptions ( #1834 )
2017-07-23 10:26:10 +02:00
Ezhh
3d1fc42f66
Make sapling, leaves and fence descriptions consistent ( #1795 )
2017-06-25 11:19:12 +02:00
paramat
c714d43319
Flowers: New texture for yellow dandelion
...
Derived from the white dandelion texture.
Uses the flower head colours of the previous yellow dandelion.
2017-06-08 15:52:00 +01:00
Milan*
9052d3ae14
fix mergeconflicts
2017-05-22 09:30:34 +02:00
zaoqi
077316b4cd
Use creative.is_enabled_for for creative mode if possible ( #1558 )
2017-03-29 21:02:26 +02:00
paramat
08eec2beb7
Flora spread: Re-enable dry shrub replacing flora in desert sand
...
Flora is converted to dry shrub in desert sand and silver sand.
No conversion in sand to preserve sand dune grasses.
Dry shrubs do not spread so this conversion, used by players, is the
only way to generate them.
2017-03-26 03:06:37 +01:00
paramat
91182d6a9e
Flora spread: Do not replace flora with dry shrub, only 'return'
...
If there is no group:soil node found below, do not replace flora with
dry shrub, this was breaking flower pots and other mods.
Originally, flora would only turn to dry shrub if in desert sand.
2017-03-22 22:30:35 +00:00
paramat
86fd616f3c
Flora spread: Allow spread on rainforest litter. Other improvements
...
Use the soil group more instead of checking for multiple node names.
Remove 'neighbors' from ABM.
Turn any flora to dry shrub if on a non-soil, except when on default:sand
to avoid dune grasses being replaced.
Search for "group:soil" when searching for a position for the new flora
node, instead of searching for multiple node names, however do not spread
flora onto desert sand, which is in the soil group.
Remove default:dirt_with_snow from the soil group as it would be frozen
soil. It can be dug and placed to turn it into dirt (consider this some
extra work needed to make it cultivatable).
2017-03-20 00:14:56 +00:00
Milan*
464fee1dee
fix mergeconflicts
2017-03-15 11:30:00 +01:00
octacian
f6dfa4a1cb
Waterlily: Avoid z-fighting of base texture with water surface
...
Avoid z-fighting visible from below.
Raise the nodebox base 1/64th of a node.
2017-02-12 01:23:53 +00:00
Milan*
960a9de9d8
fix mergeconflicts
2016-12-15 18:03:31 +00:00
paramat
178db04526
Default, flowers: Improve plant selection boxes
...
Selection box width is limited to 14 / 16 node to visually
distinguish box from any neighbouring cubic nodes.
2016-11-05 09:14:10 +00:00
Fernando Carmona Varo
3c9d71e6f7
Make flammable: Flowers, grasses and several crafitems
2016-10-25 02:37:36 +01:00
tchncs
d2dcd64203
merge github.com/minetest/minetest_game
2016-09-01 14:07:55 +02:00
Megaf
3be2f12beb
Flowers: Add missing aliases for mushrooms from the mushroom mod
2016-08-22 00:43:04 +01:00
tenplus1
619ac52693
Add labels to ABMs
...
Useful for searches and the mod profiler.
2016-08-09 03:56:37 +01:00
paramat
db129f4ca0
Flowers: Fix waterlily on-place itemstack code
...
Add 'record_protection_violation()'
2016-07-23 04:56:49 +01:00
Tim
2052664a30
merge upstream commit: Always return the leftover ItemStack for on_place and on_rightclick
2016-07-16 14:11:20 +02:00
paramat
e6bda9c439
merge upstream commit: Flowers: Make waterlily floodable
2016-07-16 13:53:07 +02:00
Tim
71c7e21669
Always return the leftover ItemStack for on_place and on_rightclick
2016-07-09 16:32:41 +01:00
paramat
f4f9e58ef2
Flowers: Make waterlily floodable
...
When waterlilies are placed near river water source make flowing river
water remove waterlilies instead of flowing around them in an ugly way
2016-07-01 07:05:53 +01:00
tchncs
81bf163a59
Flowers: add mushroom group to mushrooms
2016-06-22 22:49:19 +02:00
Yutao Yuan
2de51ee96f
cherry-pick from github.com/minetest/minetest_game> Flowers: Fix misaligned waterlily texture
2016-06-22 15:43:33 +02:00
Yutao Yuan
e0bec501f2
Flowers: Fix misaligned waterlily texture
...
Previously waterlily has misaligned top and bottom textures and looks
different when viewed from below.
This also hides the flower in bottom texture.
2016-06-21 02:21:00 +01:00
kilbith
16fe1efcd8
Flowers: Fix waterlily node's duplication with stack of 1
2016-04-23 20:08:43 +01:00
paramat
ab7b7c7504
Flowers: Make flower spread a public function to enable override
...
Remove search for 'group:flora_block'
Enable flora spread on 'dirt with dry grass'
2016-04-19 02:58:03 +01:00
tenplus1
9ece86cc7a
Flowers: Tweak flower and mushroom spreading
...
Tidy up position numbers and code
Check for flora group aswell
Improve node light check for mushroom growth
Shrooms grow in 3 and below light
2016-04-16 19:27:41 +01:00
kilbith
7be008936e
Flowers: Fix itemstack when waterlily is placed
2016-04-12 01:28:16 +01:00
kilbith
47b197e4d5
Flowers: Cleaning of waterlily's placement
2016-04-08 01:13:14 +01:00