Commit graph

490 commits

Author SHA1 Message Date
Wuzzy
a08152d8fb Localize some variables in mcl_core 2020-06-03 20:19:27 +02:00
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
Wuzzy
d19bfb3406 Implement snow placement restriction 2018-01-07 21:34:42 +01:00
Wuzzy
fc0516cb71 Melt ice and top snow @ light >= 12 2018-01-07 21:01:34 +01:00
Wuzzy
3f0bfa0aa8 Add maphack privilege for advanced blocks like command blocks 2017-12-13 00:30:23 +01:00
Wuzzy
aff2020731 Remove redundant code in mcl_core 2017-12-10 18:38:37 +01:00
Wuzzy
5851bf5a0e Increase in-water opacity 2017-12-06 01:01:58 +01:00
Wuzzy
83f7655f31 Don't rotate ladder and vine 2017-12-05 14:17:07 +01:00
Wuzzy
b221ca379c Make bark craftable 2017-11-24 04:55:02 +01:00
Wuzzy
b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy
f5de6db4aa Add grass path and farmland to creative inventory 2017-11-23 00:32:51 +01:00
Wuzzy
a66df6bc9a Add polished stone and smoother sandstone 2017-11-22 23:42:39 +01:00
Wuzzy
7cc6b9eada Add 6 bark blocks 2017-11-22 22:58:45 +01:00
Wuzzy
07219b96b1 Fix shears not wear off if dig tallgrass etc. 2017-11-20 09:35:08 +01:00
Wuzzy
a1e53fa129 Use dry grass blocks in the Nether 2017-11-20 05:37:04 +01:00
Wuzzy
a9d95dea23 Use hardware coloring for tallgrass and friends 2017-11-16 03:13:19 +01:00
Wuzzy
8db574d30e Clean up grass block group stuff 2017-11-15 20:27:29 +01:00
Wuzzy
192a440745 Tweak selection boxes of plantlike nodes 2017-11-15 04:40:29 +01:00
Wuzzy
9507aa6a90 Make grass block dry when placed next to dry grass 2017-11-15 03:47:08 +01:00
Wuzzy
72f5591400 Add dry-colored grass/fern variants 2017-11-14 23:44:53 +01:00
Wuzzy
aaef558909 Convert all sounds (except music) to mono 2017-11-13 01:24:24 +01:00
Wuzzy
b4f1d2c521 Move eternal fire ignition code to the actual node 2017-11-11 19:52:11 +01:00
Wuzzy
d66de5adfb Reduce frequency of vines ABM to reduce load 2017-11-02 23:52:09 +01:00
Wuzzy
2a8fcd119b Fix vines destruction not destoying hanging vines 2017-11-02 23:42:20 +01:00
Wuzzy
1e2343d649 Make floating vines decay
Also destroy them immediately with leafdecay and when try try to grow but notice they have been floating the whole time.
2017-11-02 23:21:04 +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
b357e927b4 Update jungle bush schematic and use oak leaves 2017-09-13 02:29:09 +02:00
Wuzzy
50bb82c20f Reduce jungle leaves decay distance back to 4 2017-09-12 05:39:55 +02:00
Wuzzy
427eb32448 Add a second huge jungle tree schematic, tweak the 1st one 2017-09-12 05:35:02 +02:00
Wuzzy
4d63d5b36d Add higher jungle tree schematic 2017-09-12 05:22:37 +02:00
Wuzzy
33e8d1dd99 Rename clay and block of clay 2017-09-11 02:26:43 +02:00
Wuzzy
452c720a18 Remove unused mushroom file 2017-09-10 06:48:27 +02:00
Wuzzy
b70b836efd Tweak Mesa Plateau F biome 2017-09-10 06:34:28 +02:00
Wuzzy
f64423e983 Redo acacia schematics completely 2017-09-09 08:06:02 +02:00
Wuzzy
01f5cc7515 Add mega spruces to sapling growth 2017-09-09 05:35:32 +02:00
Wuzzy
e433be1472 Add mega taiga spruces and more spruces 2017-09-09 05:04:39 +02:00
Wuzzy
fc2d9b3d32 Add swampland biome 2017-09-08 19:54:24 +02:00
Wuzzy
d55f83346e Fire on bedrock in the End is now eternal 2017-09-08 15:28:38 +02:00
Wuzzy
3db3193494 Disable grass spread functions for snowed dirtlike 2017-09-08 00:13:20 +02:00
Wuzzy
5c906f4af6 Update sounds of snowed dirtlike blocks 2017-09-07 06:57:55 +02:00
Wuzzy
196d5a35a7 Remove unused oak schematics 2017-09-07 03:27:22 +02:00
Wuzzy
661b586a64 Refactor snow cover code 2017-09-06 19:46:51 +02:00
Wuzzy
9fb148f8bf Make grass block and friends snowed if placed below snow cover 2017-09-06 19:33:39 +02:00
Wuzzy
576af661b1 Refactor code of snowed nodes 2017-09-06 19:19:25 +02:00
Wuzzy
a31da5efd5 Don't call minetest.add_item for empty itemstring 2017-09-05 15:15:00 +02:00
Wuzzy
d8f3a5ee7f Add large oak trees 2017-09-05 08:18:00 +02:00
Wuzzy
1d862ae019 Fix too low spruces 2017-09-05 06:47:30 +02:00
Wuzzy
86921c0968 Tweak many tree schematics
Trunks are now force_place.
More randomness.
2017-09-05 06:41:48 +02:00
Wuzzy
bc218b081a Update special spruce schematics 2017-09-05 04:17:35 +02:00
Wuzzy
594aebfa45 Add new spruce schematics 2017-09-05 03:51:13 +02:00
Wuzzy
92c162250b Simplify selection box for slime block 2017-09-01 20:55:33 +02:00