Commit Graph

135 Commits

Author SHA1 Message Date
teknomunk
5185c043bb 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-30 18:42:12 -06:00
teknomunk
e53bb82a3c Fix crashes in mcl_throwing 2024-11-30 18:42:12 -06:00
the-real-herowl
f4a99027f6 Fix throwables' punch allow check 2024-11-30 18:42:12 -06:00
teknomunk
b7a82f4884 Fix chick spawning in the presence of a functional has_room() check 2024-11-30 18:42:12 -06:00
teknomunk
5cfb8cc79c Fix dispenser arrows so they hit players and entities, minetest.register_entity -> vl_projectile.register for mcl_throwing:egg 2024-11-30 18:42:12 -06:00
teknomunk
5774241f82 Make egg and snowball stack count match master 2024-11-30 18:42:12 -06:00
teknomunk
6cd900f78f Fix player-mcl_throwing collisions, fix chick spawning on egg collisions, luacheck fixes 2024-11-30 18:42:12 -06:00
teknomunk
fc14373962 Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage 2024-11-30 18:42:12 -06:00
teknomunk
19bfbe9253 Make snowballs have the same collision conditions as before 2024-11-30 18:42:12 -06:00
teknomunk
e8853d5d55 Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field 2024-11-30 18:42:12 -06:00
teknomunk
18e7aacb44 Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound 2024-11-30 18:34:02 -06:00
teknomunk
69614c95dc Address more review comments 2024-11-30 18:34:01 -06:00
teknomunk
2a1c8e6ea0 Remove logging in tipped_arrows, prevent crash when spawning chicks, add extra safety check in vl_projectile.collides_with_solids 2024-11-30 18:34:01 -06:00
teknomunk
956abf96c6 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-30 18:34:01 -06:00
teknomunk
91e362329f Resolve more review comments, fix crash 2024-11-30 18:34:01 -06:00
teknomunk
d64564c4d7 Start mcl_bows:arrow_entity refactor 2024-11-30 18:34:00 -06:00
teknomunk
c438f7e939 Remove _thrower from vl_projectile (uses self._vl_projectile.owner instead), reorder some code 2024-11-30 18:34:00 -06:00
teknomunk
f930c6c55c Finish reworking all items in mcl_throwing 2024-11-30 18:34:00 -06:00
teknomunk
ed0a1c4275 Create vl_projectile and refactor snowball and partially refactor ender pearl 2024-11-30 18:34:00 -06: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
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
Elias 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
Elias Fleckenstein
21c6815839 Added End Crystal 2020-07-25 13:32:35 +02:00