Commit graph

65 commits

Author SHA1 Message Date
teknomunk
9b9c370caa Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound 2024-11-12 01:00:42 +01:00
teknomunk
e0ce96f802 Lingering potions should not collide with liquids, change behaviors assersion loop to catch nil members 2024-11-12 01:00:42 +01:00
teknomunk
01b543bbd4 Convert lingering potion to 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
Elias Fleckenstein
e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
AFCMS
210a0d8ee1
make lingering potions activate target (+ indentation fix) 2022-02-26 22:44:50 +01:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +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
3a57a5800b Smoother lingering potion particles in 1st second 2020-08-22 11:18:45 +02: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
1834be9e46 Lingering potion: Reduce timer by constant value 2020-08-05 19:53:14 +02:00
Wuzzy
ff476c29b6 Better lingering for lingering water bottle 2020-08-05 19:44:19 +02:00
Wuzzy
9c304105e9 Add special particles for throwable water bottles 2020-08-05 19:29:21 +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
a6dac52797 Move Lingering potion generation into single call 2020-07-12 07:59:29 -04:00
Brandon
922a42756e update function definitions without effect to nil 2020-07-11 20:34:19 -04:00
Brandon
926d842cdb reduce redundant code in potion definitions 2020-07-11 20:26:45 -04:00
Brandon
64046d2c5f update for dispenser compatibility 2020-07-11 09:07:27 -04:00
Brandon
0422a6410e Comment strength/weakness 2020-07-10 19:26:30 -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
939f8a859f Add lingering night vision 2020-07-09 21:17:20 -04:00
Brandon
16d9ee47b6 Fix fire resistance times for lingering potions. 2020-07-05 18:23:17 -04:00
Brandon
476e7f538e Update Lingering Tooltip 2020-07-05 18:04:16 -04:00
Brandon
b3e67d61b6 Update Lingering bottle image. 2020-07-05 17:36:18 -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
c14b5a974b Correct splash call 2020-06-29 17:58:48 -04:00
Brandon
05d28af9e1 Add fire resistance splash/lingering potions 2020-06-29 17:57:53 -04:00
Brandon
04a96e42ed Correct capitalize "L" in lingering 2020-06-28 20:32:32 -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