teknomunk
81dd1c6656
Address more review comments
2024-11-12 01:00:42 +01:00
teknomunk
99ecbc096f
Fix crash with splash potions of harming, make splash particles match potion color
2024-11-12 01:00:42 +01:00
teknomunk
5afa702542
Fix splash potions, fix crash when projectiles hit unknown nodes
2024-11-12 01:00:42 +01:00
teknomunk
349337042d
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-11-12 01:00:42 +01:00
teknomunk
c4f4e7b6fc
Fix crash that occurs when lingering or splash potions are used from a dispenser ( #4335 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4335
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-05-30 08:02:59 +00: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
0b1cc6ad57
Fixed splash and lingering potions
...
* descriptions
* scaling
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
Kostinatyn Tsiupa
1da7bb0bdc
hopper reimplementation
...
Reimplemented hoppers and all (blast_furnace, furnace, smoker, composters, double chaets, shulker_boxes, droppers, bookshelvs and brewing_stands) connected nodes
2023-11-27 14:33:01 +02:00
the-real-herowl
e4102e6124
Implemented wither defensive measures
...
Added block breaking when hit, or a safe_boom when hit and mobs_griefing
is disabled. Removed dubious anti-troll measures.
2023-10-11 00:54:31 +00:00
Elias Fleckenstein
e0f70b54ec
Remove _cmi_is_mob
2022-05-25 23:13:33 +02:00
AFCMS
eae8effd57
make splash potions activate target
2022-02-26 22:42:27 +01: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
Elias Fleckenstein
2d4b8a8232
Replace usages of get_node_group by get_item_group
2021-02-23 10:25:17 +01:00
Wuzzy
5bd3ebda17
Add throwing sound
2020-12-07 00:02:32 +01:00
Wuzzy
7c0c0d4d0c
Change particle for instant effects
2020-08-19 17:37:41 +02:00
Wuzzy
fa9ce11ddd
Move potion particles to mcl_particles
2020-08-19 14:12:51 +02:00
Wuzzy
a472c30163
Fix indentations in mcl_potions/mcl_brewing
2020-08-08 10:00:16 +02:00
Brandon
128e98ca4d
Delete dead code
2020-08-06 17:30:49 -04:00
Brandon
0e462ef883
Update potions to not break on contact with liquid nodes.
2020-08-06 17:30:28 -04:00
Wuzzy
92591b37dc
Make throwable potion entities non-pointable
2020-08-05 20:38:51 +02:00
Wuzzy
9c304105e9
Add special particles for throwable water bottles
2020-08-05 19:29:21 +02:00
Wuzzy
20455a259f
Tweak splash potion particles
2020-08-05 19:06:32 +02:00
Wuzzy
1f8488aba5
Make throwable water bottles useful
2020-08-05 19:00:08 +02:00
Wuzzy
c63028801b
Write potion help texts
2020-08-01 03:20:52 +02:00
Brandon
4a654fccc4
Correct potions hitting thrower.
2020-07-12 12:16:26 -04:00
Brandon
25d092a95e
Update potions to not hit player feet when thrown.
2020-07-12 08:50:48 -04:00
Brandon
e3becf443e
Correct Splash registration of "+" variant
2020-07-12 07:35:11 -04:00
Brandon
8f079d11be
Move Splash potion generation into single call
2020-07-12 07:18:54 -04:00
Brandon
922a42756e
update function definitions without effect to nil
2020-07-11 20:34:19 -04:00
Brandon
d7f204def6
tabs
2020-07-11 14:19:38 -04:00
Brandon
64046d2c5f
update for dispenser compatibility
2020-07-11 09:07:27 -04:00
Brandon
ac13dd2a71
Comment weakness/strength potions
2020-07-10 19:25:34 -04:00
Wuzzy
c106a62979
Use minetest.is_creative_enabled
2020-07-10 16:45:40 +02:00
Wuzzy
83d3aa2108
Fix color of throwable river water bottles
2020-07-10 13:03:07 +02:00
Wuzzy
f904142ca5
Mark potion names for translation
2020-07-10 13:01:21 +02:00
Wuzzy
374ab1194d
Tweak potion tooltips
2020-07-10 12:50:08 +02:00
Brandon
596d4ddc47
Correct poison effect duration
2020-07-06 20:52:24 -04:00
Brandon
78768c3dab
Correct splash harming, remove double damage to entity, and add harming to armor bypass
2020-07-06 20:23:59 -04:00
Brandon
408735ba06
Update tooltip for splash potions
2020-07-05 18:15:52 -04:00
Brandon
c91dc25052
Fixed throwing potions through portals
2020-07-05 08:16:11 -04:00
Brandon
b188fb4e95
Fixed minetest.env:add_entity ==> remove .env
2020-06-30 18:43:05 -04:00
Brandon
05d28af9e1
Add fire resistance splash/lingering potions
2020-06-29 17:57:53 -04:00
Brandon
2c1b4e518c
Add strength potions
2020-06-28 20:31:08 -04:00
Brandon
34867bb481
Groundwork for weakness.
2020-06-28 18:28:23 -04:00
Brandon
44ee9cde86
Add potions/brewing to creative inventory
2020-06-28 09:38:06 -04:00
Brandon
0337d0f911
Another replace all mistake
2020-06-27 08:17:26 -04:00
Brandon
c1321ce575
Fix wierd copy/paste
2020-06-27 08:15:53 -04:00