teknomunk
|
4f9faffcb3
|
Remove code with no effect other than emitting a warning
|
2024-10-11 14:07:37 -05:00 |
teknomunk
|
d878c57531
|
Resolve luacheck findings
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
d0dd880c51
|
Fix crashes in mcl_throwing
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
cf3354ef79
|
Fix crash when hit with an arrow that is not piercing
|
2024-10-11 11:24:02 +02:00 |
the-real-herowl
|
6af77081a7
|
Rockets and piercing arrows fixed
They both work properly now.
|
2024-10-11 11:24:02 +02:00 |
the-real-herowl
|
7bb60dfeeb
|
Fix throwables' punch allow check
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
a666739d80
|
Add hook to allow piercing enchantment to be implemented
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
08646b1d13
|
Fix chick spawning in the presence of a functional has_room() check
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1c4cf2f17c
|
Fix dispenser arrows so they hit players and entities, minetest.register_entity -> vl_projectile.register for mcl_throwing:egg
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
7bea6215d0
|
Make egg and snowball stack count match master
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
348b13764f
|
Prevent dereferencing nil in wither.lua, fix minor typo in debug statement
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
5f8c378002
|
Add workarround for random velocity change of particles on creation
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
65e25391db
|
Make sure a projectile sets on fire the thing it collided with
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
049306ecc6
|
Fix player-mcl_throwing collisions, fix chick spawning on egg collisions, luacheck fixes
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
7bdfcdc9dd
|
Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
aebafd7af0
|
Prevent projectiles from crashing server when removed when it punched something (wither skull hitting the wither will cause this), mark wither skull with _removed = true when death timer removes it
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
aa5a696341
|
Make snowballs have the same collision conditions as before
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
8d570958d4
|
Undo conversions to use mcl_bows:arrow_entity and use arrow_item.."_entity" like master
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
74882d2bbf
|
Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1cceb7378d
|
Correct behavior when ignore_gravity flag is true, fix mob projectile velocity calculation, add missing entity_def lookup
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
c8512d29bd
|
Convert mcl_mobs.register_arrow() to use vl_projectile, tested only with shulker bullet so far
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
39e93b7a54
|
Restore tipped arrow entity registration as near copy of mcl_bows:arrow_entity
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
d187b3bf55
|
Small optimization for calculating _allow_punch
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
9f9c590c8d
|
Make splash, lingering and othe projectiles hit players
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
ca63f1ce58
|
Stop minimum draw arrows from hitting player that shot them
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
52946b3a26
|
Prevent collisions with entities until projectile is at least one node from where it started (to prevent always hitting yourself), modify mcl_bows.shoot_arrow() and mcl_bows_s.shoot_arrow_crossbow() to use vl_projectile.create(), fix projectiles damaging players
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
6d838e7fbd
|
Inline dir_to_pitch() and use correct formula for pitch
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
36d20e6f48
|
Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
adb6e22ce5
|
Address more review comments
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
29bfd6ce21
|
Make arrows damage players, update API documentation, fix several crashes that occurred when arrows hit a player
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
e212f3dd08
|
Fix picking up tipped arrows
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
0b500462ab
|
Fix crash with splash potions of harming, make splash particles match potion color
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
55c8f4cb84
|
Fix splash potions, fix crash when projectiles hit unknown nodes
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
227bbebe3b
|
Remove logging in tipped_arrows, prevent crash when spawning chicks, add extra safety check in vl_projectile.collides_with_solids
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
26b858c463
|
Lingering potions should not collide with liquids, change behaviors assersion loop to catch nil members
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
ca8f7eb700
|
Convert lingering potion to vl_projectile
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
eca43272bb
|
Convert splash potion to vl_projectile, remove dead code, precompute several values in splash potion code, add check of behaviors array in vl_projectile
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
a7342eb024
|
Fix crash related to nil _time_in_air
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
5e024bf57f
|
Revert entity->object for three lines
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
05be7b0922
|
Fix typo _ -> .
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
436033eba7
|
Fix typo in api.md, add TODO, change entity -> object
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
52d2c4a26e
|
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-10-11 11:24:02 +02:00 |
teknomunk
|
16ddcf99eb
|
Resolve more review comments, fix crash
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
3b0690dcc3
|
Resolve review comments
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
52381a1f58
|
Remove debug print
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
149e69452e
|
Give arrows a maximum lifetime to prevent them from getting stuck in mid-air forever
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
f55f647f2e
|
Fix documentation for raycast_collides_with_entities
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1ee97a2e73
|
Add API documentation, minor API cleanup
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
6eab0433ab
|
Convert rocket to use vl_projectile API using mcl_bows:arrow as a template, remove some dead code
|
2024-10-11 11:24:02 +02:00 |
teknomunk
|
1d153f4f2a
|
Fold tipped arrows into standard arrows and handle effects via item definition callback, remove arrows when they collide with entities, update handling of removing projectiles
|
2024-10-11 11:24:02 +02:00 |