Commit Graph

34 Commits

Author SHA1 Message Date
teknomunk
244b2345ee Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage 2024-11-28 14:00:59 -06:00
teknomunk
252684abed Restore tipped arrow entity registration as near copy of mcl_bows:arrow_entity 2024-11-28 14:00:59 -06:00
teknomunk
f166d17a75 Address more review comments 2024-11-28 14:00:58 -06:00
teknomunk
93d3d95856 Remove logging in tipped_arrows, prevent crash when spawning chicks, add extra safety check in vl_projectile.collides_with_solids 2024-11-28 14:00:58 -06:00
teknomunk
cdc0f01e67 Resolve more review comments, fix crash 2024-11-28 14:00:58 -06:00
teknomunk
722448c295 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-11-28 14:00:58 -06:00
the-real-herowl
53d640028e Added effect stacking option to the potions API
Also:
* Frost and Food Poisoning potion now stack their effects
* fixed a crash related to tipped arrows
2024-05-22 21:03:43 +02:00
the-real-herowl
b84d36b3ff Registered dragon breath and pruned code
* removed old registration code
* added to the API the `nocreative` field
* registered the bottled dragon's breath as an item
2024-05-22 21:02:24 +02:00
the-real-herowl
a429a462cd Fixed tipped arrow descriptions 2024-05-22 21:02:24 +02:00
the-real-herowl
7d3e2d3dbc Implemented missing potion registering functionality
* improved support for custom (non-status) effects
* added support for splash potions
* added support for lingering potions
* added support for tipped arrows
* removed the old registration
2024-05-22 21:02:24 +02:00
teknomunk
d2a49799ae Change over internal name so that /spawn_mob works 2024-05-05 16:22:19 +00:00
cora
0b157c953f fix wrong argument to sound_play 2022-07-16 12:12:28 +00:00
cora
bf23c61e34 skip damage completely when player & pvp disabled 2022-07-16 12:12:28 +00:00
cora
77d834ac5e Add PVP check to tipped arrows 2022-07-16 12:12:28 +00:00
epCode
6bc5e76b8f fix tipped arrows and rocket 2022-06-10 19:40:12 -07: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
NO11
f3322fd7cb Fix #1779 (potion arrows are invisible) 2021-06-05 13:17:03 +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
epCode
90a0858495 Make new arrow mesh work with tipped arrows 2021-03-12 15:36:43 -08:00
Elias Fleckenstein
aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Wuzzy
a472c30163 Fix indentations in mcl_potions/mcl_brewing 2020-08-08 10:00:16 +02:00
Brandon
48fae05040 Fix problem with charging double potion effect when hit by a tipped_arrow 2020-08-06 17:44:16 -04:00
Wuzzy
e519c62c8b Clean up more potion-related strings 2020-08-05 15:18:30 +02:00
Wuzzy
fe40936065 Remove redundant arrow help string definition 2020-08-05 14:20:53 +02:00
Wuzzy
c63028801b Write potion help texts 2020-08-01 03:20:52 +02:00
Brandon
e603a08f3c Correct potion color scheme 2020-07-25 15:26:22 -04:00
Brandon
a53a98fff6 updated arrow color scheme. 2020-07-24 19:22:57 -04:00
Brandon
43c4b355ce Fix issue with objects/players dying before the effect runs, which won't be applied... 2020-07-20 19:07:10 -04:00
Brandon
bb5aa33bad Remove splash potion arrow recipe 2020-07-20 18:36:37 -04:00
Brandon
26315d44cf Add the ability to give use lingering potions to tip arrows.
Corrected issue with bow not finding potion arrows in inventory.
2020-07-19 21:08:50 -04:00
Brandon
0f5b6b7ce0 Initial commit to potion tipped arrows. 2020-07-19 18:56:18 -04:00