1
0
Fork 0
Commit Graph

5672 Commits

Author SHA1 Message Date
Elias Åström 5b5a254b1a Fix tool uses not being set in _mcl_autogroups 2021-03-18 11:34:26 +01:00
Elias Åström 0c90dda04c Rename register_digtime_group to register_diggroup 2021-03-18 11:34:26 +01:00
Elias Åström fa86d4e5eb Change comments for mcl_autogroup 2021-03-18 11:34:20 +01:00
Elias Åström f8461d5e90 Remove mcl_autogroups.get_groupcaps
Requiring tool definitions to call a function in _mcl_autogroup means
that they need to be loaded after _mcl_autogroup.  This can cause
problems because _mcl_autogroup needs to be loaded after all tool and
node definitions are completed.

Because of this the API is changed so tool definitions instead put the
data used to generate groupcaps in the custom field
_mcl_autogroup_groupcaps.  _mcl_autogroup will then go through all
registered tools and update the groupcaps for every tool where this
field is present.  This means that no mod ever has to depend on
_mcl_autogroup.
2021-03-18 11:33:18 +01:00
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
Lizzy Fleckenstein e9182a9506 Update version and credits 2021-03-01 18:32:03 +01:00
Lizzy Fleckenstein 9dbde4ce33 New MineClone2 logo 2021-03-01 18:22:08 +01:00
Elias Åström 97bd3777e1 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-01 16:10:55 +01:00
Elias Åström 1b9857219d Lower drop rate of TNT to 25 %
So it becomes consistent with Minecraft 1.12.
2021-03-01 16:08:52 +01:00
Lizzy Fleckenstein f5b590901e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2021-03-01 10:52:07 +01:00
Lizzy Fleckenstein 95b0a495bc Fix #1152 2021-03-01 10:51:57 +01:00
kay27 8af76f835d Slightly tweak minecarts to be more MC-like 2021-03-01 01:43:00 +04:00
Elias Åström 53041a0d62 Add setting to bypass protection in mcl_explosions 2021-02-28 16:06:48 +01:00
Elias Fleckenstein 961e5a249f Merge pull request 'Depth Strider enchantment' (#1214) from Code-Sploit/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#1214
2021-02-28 14:09:37 +00:00
Code-Sploit 83ade6fadd Merge branch 'master' into master 2021-02-28 14:04:10 +00:00
Code-Sploit 6ab0e0fa86 Do some calculating 2021-02-28 14:02:48 +00:00
kay27 05a3b4e60c Wrap https://github.com/minetest/minetest/issues/10995 around, thanks @SmallJoker 2021-02-28 16:35:21 +04:00
epCode 9f66238aaa Transform mcl_meshhand_female.b3d to correct rotation 2021-02-27 11:36:18 -08:00
kay27 6f2f427777 fix a typo 2021-02-27 23:31:01 +04:00
kay27 abc0bb9e8e Fix dir_to_rotation() 2021-02-27 23:20:57 +04:00
kay27 21e6c5ad1f Fix MineClone2/MineClone2#1216 2021-02-27 22:44:34 +04:00
kay27 bf81bb7f07 Translatable archievement chat messages 2021-02-27 22:16:29 +04:00
Code-Sploit 99b5dff849 Fix another bug 2021-02-27 16:13:05 +00:00
Code-Sploit de9d838642 Fix a bug and improve some things
Bugs:
1) When player is in liquid and takes off his/her boots, he/her still has increased speed.

Improve:
1) Check for liquid group instead of node names
2021-02-27 16:10:11 +00:00
Code-Sploit 828c1110b1 Implement Depth Strider enchantment 2021-02-27 15:37:25 +00:00
Code-Sploit 578709c93e Add Depth Strider enchantment 2021-02-27 15:35:59 +00:00
Lizzy Fleckenstein e5263d854e Localize player_vel_yaw 2021-02-27 15:10:25 +01:00
Lizzy Fleckenstein a923b61ac8 Merge branch 'master' of https://git.minetest.land/MineClone2/MineClone2 2021-02-27 15:07:18 +01:00
Lizzy Fleckenstein 5a0b7bc131 Fix usages of player:get_velocity(), closes #1203 2021-02-27 15:07:10 +01:00
Lizzy Fleckenstein 68ac84da83 Proper archievement chat messages 2021-02-27 14:51:50 +01:00
Elias Fleckenstein 311e1b74a3 Merge pull request 'Fix French translations' (#1211) from pitchum/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#1211
2021-02-27 13:44:32 +00:00
Lizzy Fleckenstein ba1e42a638 Remove debug chat_send_all xD 2021-02-27 14:42:39 +01:00
Lizzy Fleckenstein 8d5b2ff714 Make boats less annoying on ice 2021-02-27 14:38:53 +01:00
pitchum d0e789daf2 More fixes in French translations 2021-02-27 13:43:57 +01:00
pitchum b0f389eb9f Fix French translations for 'Achievement gotten' 2021-02-27 12:15:33 +01:00
pitchum 390f877230 Fix French translations 2021-02-27 10:35:46 +01:00
kay27 2ce5c5415a Fix village initialization: MineClone2/MineClone2#1206 MineClone2/MineClone2#1207 MineClone2/MineClone2#1209 2021-02-27 03:33:51 +04:00
epCode 2b513aa592 Change mcl_meshand depending on skin metadata 2021-02-26 15:01:30 -08:00
kay27 3a2300382b Translate mcl_enchanting to Russian 2021-02-27 01:48:22 +04:00
Elias Fleckenstein d859d94a63 Merge pull request 'Fix #1204' (#1208) from AFCMS/MineClone2:afcms-patch-1 into master
Reviewed-on: MineClone2/MineClone2#1208
2021-02-26 16:26:46 +00:00
AFCMS 41e715ef39 Fix #1204 2021-02-26 15:57:44 +00:00
Lizzy Fleckenstein 37ef792c9d Fix #1192 2021-02-26 09:38:02 +01:00
Lizzy Fleckenstein 524b3343bd Fix #1200 2021-02-26 09:19:11 +01:00
MysticTempest 2ace4ccc68 Fix endermen teleporting in the rain in the end per issue #1169. 2021-02-25 21:48:37 -06:00
epCode 73616453a4 Fix #1188 2021-02-25 19:01:22 -08:00
kay27 c1880d26c8 Fix awards logging 2021-02-26 02:58:53 +04:00
kay27 23a023d87d Fix MineClone2/MineClone2#183 2021-02-26 02:56:46 +04:00
kay27 0e37188ad1 Fix MineClone2/MineClone2#1108 2021-02-26 02:48:22 +04:00
epCode 3406342ed0 remove unessesary Message every time skin is changed 2021-02-25 13:38:02 -08:00
epCode 8f2a588059 Fix #1156 2021-02-25 12:27:14 -08:00