teknomunk
0e19367cee
Fix dispenser arrows so they hit players and entities, minetest.register_entity -> vl_projectile.register for mcl_throwing:egg
2024-09-23 21:36:50 -05:00
teknomunk
0aec616cef
Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage
2024-09-21 19:21:25 -05:00
teknomunk
f13ef1cc88
Small optimization for calculating _allow_punch
2024-09-22 00:13:03 +02:00
teknomunk
b2a7f02151
Stop minimum draw arrows from hitting player that shot them
2024-09-22 00:13:03 +02:00
teknomunk
c0ab6830fc
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-09-22 00:13:03 +02:00
teknomunk
6abb3a2d36
Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound
2024-09-22 00:13:03 +02:00
teknomunk
eae62ca427
Address more review comments
2024-09-22 00:13:03 +02:00
teknomunk
ea671cef73
Make arrows damage players, update API documentation, fix several crashes that occurred when arrows hit a player
2024-09-22 00:13:03 +02:00
teknomunk
40457d2283
Fix picking up tipped arrows
2024-09-22 00:13:03 +02:00
teknomunk
758d8c5545
Fix crash related to nil _time_in_air
2024-09-22 00:13:03 +02:00
teknomunk
e167bc7f09
Fix typo in api.md, add TODO, change entity -> object
2024-09-22 00:13:03 +02:00
teknomunk
8c55d13a29
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-09-22 00:13:03 +02:00
teknomunk
7d4b342d4d
Resolve more review comments, fix crash
2024-09-22 00:13:03 +02:00
teknomunk
37d88038f1
Resolve review comments
2024-09-22 00:13:03 +02:00
teknomunk
4f25f6f58a
Give arrows a maximum lifetime to prevent them from getting stuck in mid-air forever
2024-09-22 00:13:03 +02:00
teknomunk
394a08d506
Add API documentation, minor API cleanup
2024-09-22 00:13:03 +02:00
teknomunk
1665541a10
Convert rocket to use vl_projectile API using mcl_bows:arrow as a template, remove some dead code
2024-09-22 00:13:03 +02:00
teknomunk
51644ce1c8
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-09-22 00:13:03 +02:00
teknomunk
027b5cda00
More refactoring to generalize arrow code into projectile
2024-09-22 00:13:03 +02:00
teknomunk
99c92fa5e5
Start mcl_bows:arrow_entity refactor
2024-09-22 00:13:03 +02:00
teknomunk
d2a49799ae
Change over internal name so that /spawn_mob works
2024-05-05 16:22:19 +00:00
PrairieWind
d3095fea57
Update ignition, smothering, and campfire inventory drops
...
Bonus fix for grass path creation sound traveling across the entire server
2023-09-04 22:05:38 +00:00
epCode
7e03f86b84
Give the arrows a far less laggy look with an attached particle spawner with critical shot.
2022-10-04 16:46:47 -07:00
iliekprogrammar
156aff21a1
[5.6][bows] fix unsafe entity handling for arrows
2022-08-07 12:48:09 +08:00
iliekprogrammar
221ee0fcf1
[5.6] mark places with unsafe set_hp entity handling
...
There might be other places i might be missing, but these are the obvious ones.
leftover entity handling i did not mark:
* everything that involves a apply()-like algorithm (e.g. callbacks) over the
same list of objects.
* in mcl_damage, it's not known whether mcl_damage.from_mt() would involve
entity handling or just player handling.
2022-08-07 00:13:03 +08:00
cora
bf23c61e34
skip damage completely when player & pvp disabled
2022-07-16 12:12:28 +00:00
GNU Hacker
454d7e8b04
arrow check if pvp is enable
2022-07-16 12:12:28 +00:00
epCode
6c804f44d5
add a small bit of doc
2022-06-06 18:43:50 -07:00
epCode
78940e109c
fix critical hit displaying in the wrong place
2022-06-06 14:38:18 -07:00
epCode
fdb7d5bfad
fixed Badly calculated arrow direction
2022-06-06 14:32:07 -07:00
epCode
f2c2f4106b
fix arrows not disapearing after mob hit, and self damaging
2022-06-06 13:55:28 -07:00
epCode
e1feec9a30
Add Raytracing arrows
2022-06-06 13:42:24 -07:00
Elias Fleckenstein
e0f70b54ec
Remove _cmi_is_mob
2022-05-25 23:13:33 +02:00
NO411
db68c0e26b
Add shield
2022-03-15 15:58:27 +01:00
AFCMS
5a7b1cc382
make all arrow types activate target (+ depends and code fixes)
2022-02-26 23:52:03 +01:00
NO11
7cc7fb1331
Make removing of arrow entities also work with mobs, remove arrows on respawn
2022-01-02 11:06:29 +00:00
NO11
7b46225176
Remove arrow entities when the player joins to prevent killing on startup (working fix)
2022-01-01 22:59:21 +00:00
NO411
7b47a15e34
Remove arrow entities when the player leaves to prevent killing on startup
2021-12-30 14:04:53 +01:00
epCode
1c458a2e72
Add crossbows
2021-10-15 12:00:37 -07:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
AFCMS
5f82e76862
fix many codestyle issues
2021-05-28 00:34:58 +02:00
AFCMS
b7bf566190
[mcl_bows] fix warnings
2021-05-23 01:06:34 +02:00
jordan4ibanez
052bb540ba
Remove unused parent data for arrows
2021-05-10 20:06:38 -04:00
Elias Fleckenstein
58d67aace6
Merge branch 'master' into damage
2021-04-25 13:29:07 +02:00
Elias Fleckenstein
9eba2add3f
Rewrite burning API
2021-04-25 13:09:20 +02:00
Elias Fleckenstein
ce0148d9a8
Rewrite armor; new damage system
2021-04-14 15:46:52 +02:00
Elias Fleckenstein
9a4d26c2ae
Fix all invalid usages of math.random in mcl_bows
2021-03-21 19:52:27 +01:00
Elias Fleckenstein
2d1ac1c7fa
Properly fix arrows crashing the server
2021-03-21 19:47:13 +01:00
Elias Fleckenstein
f0c2a0a1e9
Fix arrows crashing the server
2021-03-21 19:45:33 +01:00
Elias Fleckenstein
f3c37f49b9
Only extinguish flame arrow on removal
2021-03-19 11:37:12 +01:00