kno10
0631319a00
Fix crash with crossbow rockets ( #4771 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4771
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-12-30 19:13:00 +01:00
the-real-herowl
93a6ce6824
Renamed mcl_fireworks to vl_fireworks
2024-12-29 08:08:52 +01:00
the-real-herowl
3291786c1f
Moved particle explosion to mcl_fireworks API
...
- crossbow rockets use the API
- fireworks use it obviously
- fireworks fly a bit faster too
2024-12-29 08:08:52 +01:00
teknomunk
5db55dde3c
Update { ... } to {...}
2024-12-25 11:52:24 +01:00
teknomunk
0d8f7515c6
Update minetest->Luanti in affected documentation, update minetest. -> core. in affected code, factor out common subexpressions in mods/ITEMS/vl_projectile/init.lua
2024-12-25 11:52:24 +01:00
teknomunk
aa8cec9911
Implement mcl_util.remove_entity() and convert projectile code to use it
2024-12-25 11:52:24 +01:00
teknomunk
cf71d2981a
Fix crash when firing rocket arrows
2024-12-25 11:52:24 +01:00
teknomunk
c3275eb0b7
Resolve luacheck findings
2024-12-25 11:52:24 +01:00
the-real-herowl
a1c7bb55a1
Rockets and piercing arrows fixed
...
They both work properly now.
2024-12-25 11:52:24 +01:00
teknomunk
b821f3d72f
Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage
2024-12-25 11:52:24 +01:00
teknomunk
b4b83782e8
Remove debug print
2024-12-25 11:52:24 +01:00
teknomunk
7317981134
Convert rocket to use vl_projectile API using mcl_bows:arrow as a template, remove some dead code
2024-12-25 11:52:24 +01:00
teknomunk
d2a49799ae
Change over internal name so that /spawn_mob works
2024-05-05 16:22:19 +00:00
the-real-herowl
4b6d63739c
Fix a crash with rocket explosion
...
Defensive check
2024-03-20 19:13:44 -05:00
cora
c6fc388597
Add _harmless option for rocket arrows
...
so event fireworks dont grief things
2022-11-26 17:06:04 +01:00
cora
0d354cca73
Fix crash when shooting crystals with rocket arrow
2022-09-13 17:08:57 +00: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
cora
b7f8a75d04
Add PVP check for rocket arrows
2022-07-16 12:12:28 +00:00
epCode
6bc5e76b8f
fix tipped arrows and rocket
2022-06-10 19:40:12 -07:00
cora
ef093d0c00
Be more careful with possibly expired objects
2022-06-04 20:26:00 +02:00
Elias Fleckenstein
e0f70b54ec
Remove _cmi_is_mob
2022-05-25 23:13:33 +02:00
AFCMS
5a7b1cc382
make all arrow types activate target (+ depends and code fixes)
2022-02-26 23:52:03 +01:00
epCode
1c458a2e72
Add crossbows
2021-10-15 12:00:37 -07:00