Commit Graph

12 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 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 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 fd144466e4 Resolve more review comments, fix crash 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