Commit graph

148 commits

Author SHA1 Message Date
teknomunk
6824ce0428 Give snowballs, eggs and ender pearls a collision box 2025-01-05 16:05:28 +01:00
teknomunk
bd31808bed Fix ender pearl crash 2025-01-05 16:05:28 +01:00
kno10
25a832c4b6 rerun mod_translation_updater 2025-01-03 11:56:04 +01:00
ninjum
b407cc9628 Squashed: Galician translation 2025-01-03 11:56:04 +01:00
kno10
b39cee7c5c rerun translation updater 2024-12-31 02:39:28 +01:00
teknomunk
6ff0bb5614 Fix snowmen throwing snowballs and fix mcl_throwing when player throws things 2024-12-26 12:31:05 -06:00
teknomunk
0d82c8f725 Replace magic numbers with named constants, add missing 'local' 2024-12-25 11:52:24 +01:00
teknomunk
5db55dde3c Update { ... } to {...} 2024-12-25 11:52:24 +01:00
teknomunk
0d8f7515c6 Update minetest->Luanti in affected documentation, update minetest. -> core. in affected code, factor out common subexpressions in mods/ITEMS/vl_projectile/init.lua 2024-12-25 11:52:24 +01:00
teknomunk
7c8da2eba7 Rework self.timer and _owner collision conditions 2024-12-25 11:52:24 +01:00
teknomunk
2d56deacf6 Replace _puncher with _owner, rework projectile code to make _owner a string, copy mcl_util.gen_uuid() from minecart branch, add mcl_util.get_entity_id(), fix crash 2024-12-25 11:52:24 +01:00
teknomunk
4b73839346 Fix crashes in mcl_throwing 2024-12-25 11:52:24 +01:00
the-real-herowl
992de3d06e Fix throwables' punch allow check 2024-12-25 11:52:24 +01:00
teknomunk
1ce4b00702 Fix chick spawning in the presence of a functional has_room() check 2024-12-25 11:52:24 +01:00
teknomunk
db8bceebf3 Fix dispenser arrows so they hit players and entities, minetest.register_entity -> vl_projectile.register for mcl_throwing:egg 2024-12-25 11:52:24 +01:00
teknomunk
c960b00b37 Make egg and snowball stack count match master 2024-12-25 11:52:24 +01:00
teknomunk
2c15ac3563 Fix player-mcl_throwing collisions, fix chick spawning on egg collisions, luacheck fixes 2024-12-25 11:52:24 +01:00
teknomunk
b821f3d72f Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage 2024-12-25 11:52:24 +01:00
teknomunk
f0a3f9fe18 Make snowballs have the same collision conditions as before 2024-12-25 11:52:24 +01:00
teknomunk
960476bb24 Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field 2024-12-25 11:52:24 +01:00
teknomunk
4e3e8aafc8 Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound 2024-12-25 11:52:24 +01:00
teknomunk
d71d9f5bf2 Address more review comments 2024-12-25 11:52:24 +01:00
teknomunk
ebdc5a5914 Remove logging in tipped_arrows, prevent crash when spawning chicks, add extra safety check in vl_projectile.collides_with_solids 2024-12-25 11:52:24 +01:00
teknomunk
5ced87dc26 Fix typos documentation, add ignore_gravity and liquid_drag options, use vl_projectile.register() for enter pearl, move projectile physics to vl_projectile add hook for future vl_physics support 2024-12-25 11:52:24 +01:00
teknomunk
fdfefd2af8 Resolve more review comments, fix crash 2024-12-25 11:52:24 +01:00
teknomunk
34b9fe88e5 Start mcl_bows:arrow_entity refactor 2024-12-25 11:52:24 +01:00
teknomunk
7ad30c0f4f Remove _thrower from vl_projectile (uses self._vl_projectile.owner instead), reorder some code 2024-12-25 11:52:24 +01:00
teknomunk
2d75a21c10 Finish reworking all items in mcl_throwing 2024-12-25 11:52:24 +01:00
teknomunk
ace1643872 Create vl_projectile and refactor snowball and partially refactor ender pearl 2024-12-25 11:52:24 +01:00
kno10
3ecda2e70d auto-update translation files 2024-12-16 01:16:32 +01:00
ethan
4db34098d9 Contributed simplified Chinese translations 2024-12-16 01:16:32 +01:00
Bloodaxe
7856f97f8e Added all my localization files for Norwegian Bokmål 2024-12-16 01:16:32 +01:00
WillConker
ff21d1eab1 Make eggs spawn chicks when hitting entities (#4484)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4484
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: WillConker <willconker@noreply.git.minetest.land>
Co-committed-by: WillConker <willconker@noreply.git.minetest.land>
2024-07-31 02:57:20 +02:00
JoseDouglas26
067ad7b78b Change stack size for snowballs and eggs (#4312)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4312
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: JoseDouglas26 <josedouglas20002014@gmail.com>
Co-committed-by: JoseDouglas26 <josedouglas20002014@gmail.com>
2024-05-30 08:31:15 +00:00
teknomunk
aabd80d54b Change MineClone 2 to VoxeLibre 2024-05-07 11:38:00 +00:00
JoseDouglas26
8816e9fc61 mcl_throwing pt_BR translation 2023-12-22 23:45:07 +01:00
Sab Pyrope
5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
Michieal
6265148727 Move textures all into one centralized directory. 2023-01-30 22:55:53 -05:00
Riu Sakura
2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
cora
69c64a2c24 Fix wrong self ref with mcl_mobs.spawn_child 2022-11-28 03:26:51 +01:00
Johannes Fritz
19c0851003 Add big head support to all babies 2022-09-29 12:03:50 -05:00
MysticTempest
45ec876167 Knockback fixes:
This PR enables knockback for snowballs, and eggs.
And disables knockback for the following mobs: Shulkers, Iron Golems,
and Ender Dragons.
2022-06-07 02:55:19 -05:00
Elias Fleckenstein
e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
AFCMS
d89687984b
make ender pearls activate target 2022-02-26 22:16:10 +01:00
AFCMS
c6f72c473f
make eggs activate target 2022-02-26 22:12:26 +01:00
AFCMS
9e7a525a0a
make snowballs activate target 2022-02-26 19:12:01 +01:00
Emojigit
7e5a9bd8b6 mcl_throwing 2022-02-23 23:58:05 +01:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
02f393998f fix many warnings (644 remaining) 2021-04-17 09:26:37 +02:00