Commit Graph

135 Commits

Author SHA1 Message Date
teknomunk b8250e4dcc 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-11-12 01:00:42 +01:00
teknomunk c5ea7ff707 Fix crashes in mcl_throwing 2024-11-12 01:00:42 +01:00
the-real-herowl b81d5e1a31 Fix throwables' punch allow check 2024-11-12 01:00:42 +01:00
teknomunk c33048cbc9 Fix chick spawning in the presence of a functional has_room() check 2024-11-12 01:00:42 +01:00
teknomunk 38852badb1 Fix dispenser arrows so they hit players and entities, minetest.register_entity -> vl_projectile.register for mcl_throwing:egg 2024-11-12 01:00:42 +01:00
teknomunk e4e1c40dbb Make egg and snowball stack count match master 2024-11-12 01:00:42 +01:00
teknomunk 92f953ac53 Fix player-mcl_throwing collisions, fix chick spawning on egg collisions, luacheck fixes 2024-11-12 01:00:42 +01:00
teknomunk 76d654762a Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage 2024-11-12 01:00:42 +01:00
teknomunk 86a77284fa Make snowballs have the same collision conditions as before 2024-11-12 01:00:42 +01:00
teknomunk 65ccd551ae Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field 2024-11-12 01:00:42 +01:00
teknomunk 9b9c370caa Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound 2024-11-12 01:00:42 +01:00
teknomunk 81dd1c6656 Address more review comments 2024-11-12 01:00:42 +01:00
teknomunk b4831a681b Remove logging in tipped_arrows, prevent crash when spawning chicks, add extra safety check in vl_projectile.collides_with_solids 2024-11-12 01:00:42 +01:00
teknomunk 3f22887639 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-11-12 01:00:42 +01:00
teknomunk fd144466e4 Resolve more review comments, fix crash 2024-11-12 01:00:42 +01:00
teknomunk 3961a32fb4 Start mcl_bows:arrow_entity refactor 2024-11-12 01:00:42 +01:00
teknomunk 21465e4efc Remove _thrower from vl_projectile (uses self._vl_projectile.owner instead), reorder some code 2024-11-12 01:00:42 +01:00
teknomunk 152d200df2 Finish reworking all items in mcl_throwing 2024-11-12 01:00:42 +01:00
teknomunk f8d5ed2a7d Create vl_projectile and refactor snowball and partially refactor ender pearl 2024-11-12 01:00:42 +01:00
WillConker ff21d1eab1 Make eggs spawn chicks when hitting entities (#4484)
Reviewed-on: VoxeLibre/VoxeLibre#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: VoxeLibre/VoxeLibre#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
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 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
Lizzy 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
1F616EMO 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
AFCMS a602f64ea5 fix many warnings 2021-04-15 23:41:34 +02:00
Marcin Serwin 9472f86025 Fix spellchecking errors 2021-04-12 17:58:04 +02:00
Marcin Serwin a598d94afd Add polish translation of mcl_throwing 2021-04-12 12:59:24 +02:00
Lizzy Fleckenstein 598692cf8c Add nil check to prevent crashes with mcl_throwing 2021-04-04 12:10:21 +02:00
AFCMS 59d687c579 fix API.md 2021-04-02 14:30:46 +02:00
AFCMS ead33e3520 fix undeacleared vars in mcl_throwing 2021-04-02 14:27:35 +02:00
AFCMS e2adead700 use proper colors 2021-03-26 22:50:37 +01:00
AFCMS e11941c107 Add API documentation for mcl_throwing 2021-03-26 22:43:18 +01:00
AFCMS e3c99c5be2 add basic API to mcl_throwing
remove hard depends to mcl_fishing
2021-03-26 22:31:15 +01:00
Elias Åström ed30fa0868 Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.

This was done with a shell script :)
2021-03-18 17:37:12 +01:00
Wuzzy 5bd3ebda17 Add throwing sound 2020-12-07 00:02:32 +01:00
Wuzzy 4c39224e6f Merge https://git.minetest.land/EliasFleckenstein03/MineClone2 into master 2020-10-23 21:53:42 +02:00
Lizzy Fleckenstein 21c6815839 Added End Crystal 2020-07-25 13:32:35 +02:00