1
0
Fork 0
Commit Graph

439 Commits

Author SHA1 Message Date
Elias Åström 2e79f1f0ed Check if there is room for tree to grow
Previously tree saplings would grow regardless of the blocks above it.
This could be abused to destroy bedrock and other nodes.

To solve this, checks are added for nodes around the trees.  The volume
checked depends on the tree type.  The volume for each tree has been set
so reject trees where branches would grow into other nodes.  Some nodes
types like torches, plants and wood are ignored in the checks.

Saplings in a 2x2 formation will grow into normal trees if there is no
room for a huge tree.  Oak trees has separate checks for balloon oak
trees and normal oak trees, if there is no room for a balloon oak, it
becomes a normal oak tree.
2020-05-23 19:37:02 +02:00
Wuzzy c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Rocher Laurent e058ee8487 Fix some template.txt 2020-05-05 21:02:48 +02:00
Rocher Laurent c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy 3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Wuzzy eea07f0ce7 Fix incomplete dry grass replacement LBM 2020-04-27 14:05:09 +02:00
Wuzzy e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Elias Åström 063595ac3c Change blast resistance of nodes in mcl_core
The new blast resistance values are copied from the Minecraft wiki.

https://minecraft.gamepedia.com/Explosion
2020-04-17 20:47:12 +02:00
Wuzzy d9cff3ef82 Make bark nodes usable as fuel 2020-04-08 13:15:22 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
wuniversales 3772dd51cc Update Spanish translation 2020-03-15 08:32:00 +01:00
Wuzzy 28b2085492 Bump golden apple hunger points to 20 2020-03-12 02:35:02 +01:00
Wuzzy 6b529e1204 Colorize some item tooltips 2020-03-12 02:29:30 +01:00
Wuzzy feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy 070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy cbda2ef326 Add _tt_help to many more items 2020-03-08 03:30:40 +01:00
wuniversales f93d3a897e Update Spanish translation 2020-02-23 16:26:21 +01:00
Wuzzy ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy 834c8cbc3a Disable jump in cobweb 2020-01-30 16:36:28 +01:00
Wuzzy bc7b86b61a Fix incorrect liquid backface culling 2020-01-19 22:56:37 +01:00
Wuzzy f2b7392a30 Use "minetest" instead of "core" table 2020-01-06 13:02:30 +01:00
Wuzzy 87449b5719 Make ice texture opaque by default
Because of glitchy translucency in Minetest
2019-12-19 17:55:43 +01:00
Wuzzy 085e6f306a Use fallback grass color for unknown values 2019-12-17 02:01:34 +01:00
Wuzzy a5b4a261dc Dry grass replacement: Use fallback param2 2019-12-16 23:59:49 +01:00
Wuzzy 92ef7c3b9a Simplify rotation of pillar-like nodes 2019-12-14 23:42:17 +01:00
Wuzzy 101c9b7322 Use minetest.LIGHT_MAX 2019-12-14 18:57:17 +01:00
Wuzzy 741b32e8d0 Tweak grass palette 2019-12-14 03:10:16 +01:00
Wuzzy aaedf6517a Update grass block param2 when placing snow nodes 2019-12-14 01:52:01 +01:00
Wuzzy 5f2cc506f0 Fix broken legacy dry grass LBM 2019-12-14 01:41:49 +01:00
Wuzzy c90f693c06 Smoother dirt texture from PP 2019-12-14 01:03:44 +01:00
Wuzzy c149f5ca3c Update PP grass textures 2019-12-14 00:45:57 +01:00
Wuzzy 40453d597b Add LBM to kill old drygrass nodes 2019-12-14 00:03:43 +01:00
Wuzzy 3e3ed630e5 Add per-biome grass coloring 2019-12-13 23:48:13 +01:00
Wuzzy 6002cd0af5 Fix tallgrass, fern, bonemeal for new grass color 2019-12-13 15:32:57 +01:00
Wuzzy 9c55b6c9c9 Update grass color after placing grass block 2019-12-13 14:18:35 +01:00
Wuzzy 325801efd7 First step towards param2-based grass color 2019-12-13 14:03:12 +01:00
Wuzzy 2e09febaae Rename Moss Stone to Mossy Cobblestone 2019-12-11 04:24:32 +01:00
Wuzzy f91619cae1 New PP cobblestone and brick block textures 2019-12-11 04:17:38 +01:00
Wuzzy 753acdf272 Update sand, sandstone, TNT, iron nugget textures 2019-12-11 03:37:53 +01:00
Wuzzy a177d3cbba More saturated grass color 2019-12-11 02:02:16 +01:00
Wuzzy bbcab7275e Make ladders rotatable 2019-12-09 17:51:35 +01:00
Wuzzy 748b5d4a4b Localize a variable 2019-09-19 00:35:28 +02:00
Wuzzy 6e9d712c5e Fix ice not melting properly by non-Sun light 2019-06-02 10:12:36 +02:00
Wuzzy ab81dfb4b4 Stop fire spread if enable_fire=false 2019-04-09 15:25:27 +02:00
Wuzzy 967905264d Make many help texts translatable and fix bugs 2019-03-25 12:05:57 +01:00
Wuzzy c5db9987c3 Fix various typos in German translation 2019-03-25 11:01:52 +01:00
Wuzzy 435ae85d68 Fix grass block crash in v6 2019-03-25 09:38:39 +01:00
Wuzzy 1b7c41fc81 Grass block: Change grass color depending on biome 2019-03-25 09:25:52 +01:00
Wuzzy 2f346cfc1d Change stained glass canonical color 2019-03-24 10:51:45 +01:00
Wuzzy 5c1717971b Squash help entries for stained glass and panes 2019-03-24 10:31:58 +01:00
Wuzzy 2582350504 mcl_core: Rename locale template 2019-03-24 09:37:48 +01:00
Wuzzy 7604b77dd6 Add generic strings for stained glass 2019-03-24 09:37:15 +01:00
Wuzzy a54abc7de9 Add translation for water/lava interactions 2019-03-24 08:03:50 +01:00
Wuzzy 9385458632 German translation: mcl_signs to xpanes 2019-03-16 00:07:44 +01:00
Wuzzy 1c27cbe4f6 German translation: mcl_mobitems to mcl_potions 2019-03-15 09:50:32 +01:00
Wuzzy 661e10e992 Fix crash when dying cuz fire, lava or magmablock 2019-03-15 07:10:18 +01:00
Wuzzy e764851775 German translation: Dunkeleiche → Schwarzeiche 2019-03-15 03:47:16 +01:00
Wuzzy 7935e64637 Cleanup ambigious sandstone groups, change meaning
- Change meaning of "sandstone" group to include sandstone of any color
- Add "normal_sandstone" group
- Rename "redsandstone" group to "red_sandstone"
2019-03-12 01:50:42 +01:00
Wuzzy 5dd650e921 Change wording: “decorational” → “decorative” 2019-03-09 17:01:36 +01:00
Wuzzy 79a3eb23a7 Add German translation of mcl_core 2019-03-09 04:45:43 +01:00
Wuzzy a15c58a2dc Fix typos in mcl_core 2019-03-09 03:58:41 +01:00
Wuzzy 049c632276 Generalize node damage death message 2019-03-08 21:59:16 +01:00
Wuzzy daed3059bf Predict water when digging ice 2019-03-08 04:42:24 +01:00
Wuzzy f40eeb4477 Make barrier particles glow in the dark 2019-03-08 03:47:14 +01:00
Wuzzy e4fbbeddb2 New translation system, part 6: Items, part 2 2019-03-07 23:40:57 +01:00
Wuzzy 03c6beb971 Remove mcl_imitation_mode 2019-03-01 18:04:43 +01:00
Wuzzy 1556e6cb3e Ice: Use after_dig_node instead of after_destruct 2019-02-22 06:13:31 +01:00
Wuzzy 6e8be2a2c3 Fix vine not dropping all vines when dug w/ shears 2019-02-22 06:08:48 +01:00
Wuzzy aa3739528b Fix weird arguments given to is_protected 2019-02-11 21:27:17 +01:00
Wuzzy 9e57828958 Add tileable_vertical to covered dirt nodes 2019-02-09 21:28:53 +01:00
Wuzzy 27fa2c2e66 Clean up item categorization in creative inv. 2019-02-06 11:15:53 +01:00
Wuzzy b6c21ee841 Make in-water color less opaque 2019-02-06 08:08:51 +01:00
Wuzzy 4f2cd559da Rename textures that clash with MTG
cactus, hotbar, some wools
2019-02-04 12:21:58 +01:00
Wuzzy 1f1361d179 Add paramtype="light" to lava ... 2019-02-01 06:23:12 +01:00
Wuzzy 626f7f6e97 Delete senseless argument in minetest.remove_node 2019-01-31 05:32:10 +01:00
Wuzzy 7465d7a107 Fix stained glass not propagating sunlight 2019-01-30 04:54:30 +01:00
Wuzzy e38fadd863 Remove packed ice crafting recipe for now
Ice cannot be obtained legally yet (missing silk touch).
2018-12-07 21:37:52 +01:00
Wuzzy 5b6ae370e2 Make smooth stone cookable 2018-12-03 16:47:11 +01:00
Wuzzy ec8d43b4a3 Make packed ice craftable 2018-12-03 16:06:22 +01:00
Wuzzy d0cdb0f390 Add fake_liquid group to cobweb 2018-05-29 20:11:27 +02:00
Wuzzy 6894721e8d Fix trunk of balloon oak 1 not being force-placed 2018-05-13 18:53:42 +02:00
Wuzzy d5d65f4a84 Tweaking of the new tree schematics 2018-05-13 18:39:47 +02:00
Wuzzy b992100106 More variations of mega spruces and large oaks 2018-05-13 18:03:57 +02:00
Wuzzy 7821a69226 Make saplings break when pushed by piston 2018-03-13 02:47:54 +01:00
Wuzzy 3e7ad08db0 Set is_ground_content=false for some nodes 2018-01-31 19:36:27 +01:00
Wuzzy 7196485294 Remove sunlight propagation for various nodes 2018-01-28 20:21:02 +01:00
Wuzzy 16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy c9812c5acf Minor vines help change 2018-01-23 06:42:46 +01:00
Wuzzy 647524f503 Rework the overly weird vine growth algorithm 2018-01-23 06:40:07 +01:00
Wuzzy 0405b2aa2c Fix some Lua warnings 2018-01-23 05:19:05 +01:00
Wuzzy 064858ff59 “Still <Liquid>” → “<Liquid> Source” 2018-01-23 04:12:44 +01:00
Wuzzy 6f8b524d07 Update emerald help text 2018-01-12 17:56:02 +01:00
Wuzzy 30517ecb98 Add lava place sound 2018-01-12 02:26:12 +01:00
Wuzzy 71e663efe6 Merge branch 'lever' 2018-01-08 21:00:36 +01:00
Wuzzy d4d03526db Cocoas now use attached_node_facedir
This fixes some annoying bugs when removing jungle trees nearby
2018-01-08 20:19:33 +01:00
Wuzzy dff88c70b3 Optimize top snow level 8 rendering 2018-01-07 23:43:23 +01:00
Wuzzy c26c6e012b Update top snow and ice help 2018-01-07 23:37:02 +01:00
Wuzzy 86c24532f9 Implement 8 top snow layers 2018-01-07 23:21:47 +01:00