Commit graph

540 commits

Author SHA1 Message Date
Elias Åström
fb6f5eae7a Rewrite mcl_autogroup
These changes are primarly made to make mcl_autogroup more efficient.
Previously enchanted tools required storing around 21 kB of metadata due
to the way the previous version of the mod was implemented.  This caused
a lot of lag and a huge amount of network traffic.  With the changes
enchanted tools won't require more than 1 kB of metadata.

The mod is also rewritten to use an API to register digging groups and
compute the groupcaps for tools.  This will make it easier for modders
to register custom digging groups.

The mod is now split up into two parts.  One part called "mcl_autogroup"
to implement the API for registering custom digging groups, and the
other part called "_mcl_autogroup" which contains most of the code which
has to be loaded after most mods.
2021-03-18 11:32:18 +01:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
AFCMS
7b5d67cdbe add flowerpots API 2021-03-11 22:13:43 +01:00
pitchum
390f877230 Fix French translations 2021-02-27 10:35:46 +01:00
Elias Fleckenstein
360436cf19 Fix #1183 2021-02-25 10:24:26 +01:00
Elias Fleckenstein
30b1d58e67 Revert "Merge pull request 'Change Diamond and Emerald textures to more Minecraft-looking ones' (#1100) from TechDudie/MineClone2:master into master"
This reverts commit 2f206a0640, reversing
changes made to 0bde0aabf6.
2021-02-20 10:46:52 +01:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Elias Fleckenstein
82e113f0fc Update usages of alpha to the 5.4 convention 2021-02-18 10:58:50 +01:00
Elias Fleckenstein
bec5339fc6 Update existing occurences of use_texture_alpha to the Minetest 5.4 convention if the feature is detected 2021-02-18 10:39:19 +01:00
Elias Fleckenstein
9b349a1684 More flexible wield rotation determination 2021-02-18 09:28:12 +01:00
TechDudie
10d3c62690 Upload files to 'mods/ITEMS/mcl_core/textures' 2021-02-12 17:54:49 +00:00
TechDudie
a1e8685faf Delete 'mods/ITEMS/mcl_core/textures/mcl_core_emerald.png' 2021-02-12 17:53:21 +00:00
TechDudie
b2d53e9e39 Upload files to 'mods/ITEMS/mcl_core/textures' 2021-02-12 17:52:30 +00:00
TechDudie
1022449ace Delete 'mods/ITEMS/mcl_core/textures/default_diamond.png' 2021-02-12 17:51:23 +00:00
Elias Fleckenstein
18dd3ac9bd Add 'ice' group 2021-02-03 17:08:04 +01:00
kay27
b0f151147c Fix the trees, https://git.minetest.land/Wuzzy/MineClone2/issues/1031 2021-01-30 05:23:34 +04:00
kay27
948265fd6b Fix https://git.minetest.land/Wuzzy/MineClone2/issues/1028 - Make tree saplings grow in inactive areas (approx. time calc.) 2021-01-30 04:42:53 +04:00
Elias Fleckenstein
e9f9d96eb1 Fix #1012 2021-01-26 17:42:45 +01:00
Elias Fleckenstein
fdfcf9ca70 Fix #1001 2021-01-24 16:29:24 +01:00
Elias Fleckenstein
a92273b930 Gold apples give the player effects; Added Enchanted Golden Apples (Swiftnes & Leaping instead of Absorbtion and Resistance) 2021-01-22 19:08:01 +01:00
Elias Fleckenstein
96ca23419a Fix #944 2021-01-05 15:40:03 +01:00
Elias Fleckenstein
14551edcd2 Remove debugging message from last commit 2021-01-05 15:23:42 +01:00
Elias Fleckenstein
f253d49a8d Fix #901 2021-01-05 15:19:31 +01:00
Elias Fleckenstein
269ebc2718 Fix Silk Touch drop of Top Snow 2021-01-04 13:34:57 +01:00
Elias Fleckenstein
c36dc16527 Fix #948 2021-01-04 10:15:28 +01:00
Elias Fleckenstein
abdb76c2a0 Fix #942 2021-01-04 10:09:44 +01:00
Elias Fleckenstein
071ba77bb0 mcl_burning fully working 2021-01-01 19:25:47 +01:00
kay27
5da02bb8cc Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 2020-12-13 03:00:04 +04:00
Wuzzy
9324c43d8d Reduce grass sound volume 2020-12-08 16:56:27 +01:00
Wuzzy
d60a0a0949 Fix ice melt not cause surrounding nodes to update 2020-12-03 12:36:58 +01:00
kay27
2b1d21a5b5 Merge branch 'kay27_mechanics' as a squash 2020-11-14 01:59:03 +04:00
Wuzzy
bd2d0f717a Sugarcane: No place inside liquid 2020-11-12 21:12:25 +01:00
Wuzzy
132db02011 Sugarcane less strict w/ water check on place 2020-11-11 21:00:37 +01:00
Elias Fleckenstein
86b2cd70f9 Fortune 2020-11-06 13:46:52 +01:00
Elias Fleckenstein
7c28bf8507 Silk Touch 2020-11-02 19:09:23 +01:00
kay27
1965696829 Merge kay27_textures branch: more recongizable obsidian texture; better NP texture; Nether particles 2020-10-24 21:49:11 +04:00
kay27
30d9e54803 Implement leftovers of https://git.minetest.land/Wuzzy/MineClone2/issues/841#issuecomment-11440 2020-10-24 02:46:45 +04:00
kay27
a127136c60 Add Enchanting from Crafter-minetest by Oil_boi 2020-10-19 16:38:21 +04:00
kay27
a78c613322 Fix slimeblock/piston behavior, https://github.com/kay27/MineClone2/issues/4 2020-10-07 23:28:21 +04:00
Wuzzy
c2afc82754 Disable some demanding particles by default
Fire smoke, lava droplets
2020-08-19 20:39:05 +02:00
Wuzzy
c0aeb2f15f Add lava particles 2020-08-19 20:17:04 +02:00
Wuzzy
de8183f07a Fix German translation mistake 2020-08-19 14:48:14 +02:00
Wuzzy
f91ae540c2 Add leafdecay and anvil damage particles 2020-08-19 13:22:40 +02:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Elias Åström
fe648a9287 Fix blast resistance value for polished andesite 2020-07-10 23:21:11 +02:00
Wuzzy
ec660d73c9 Teach endermen how to take mycelium 2020-07-10 18:03:46 +02:00
Brandon
f0e9727b85 Add all brewitems to creative inventory 2020-07-04 21:28:02 -04:00
Brandon
eee75f8988 Reduce alpha on post color effect for lava to allow some viewing range - similar to MC 2020-06-30 18:56:27 -04:00
kay27
528c19302f Russian translation: mcl_core, mcl_craftguide 2020-06-13 18:58:59 +02:00
Wuzzy
e14fe15d26 Add is_ground_content=false to all liquids 2020-06-07 21:32:55 +02:00
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