the-real-herowl
6ac6637cf5
Tooltip and color fixes
2024-04-28 15:07:16 +00:00
the-real-herowl
028c3e74f5
Added potions for new effects
...
* also added some new brewing recipes
2024-04-28 15:07:16 +00:00
the-real-herowl
9d1fd7cecc
Added strength and weakness potions
...
Also fixed potent slowness potion level
Also fixed slowness and swiftness effect descriptions
2024-04-28 15:07:16 +00:00
the-real-herowl
09f6b50fff
Brewing fully works with the new system
2024-04-28 15:07:16 +00:00
the-real-herowl
4f0bb675d4
Brewing somewhat works with the new API
2024-04-28 15:07:16 +00:00
the-real-herowl
2ccd988a6a
Improved haste and fatigue effects
...
* fixed a few crashes related to unusual effect levels
* added haste and fatigue combat functionality
* added some cleanup to avoid hangover unstackable items
* capped the slowdown from fatigue at 5 minutes digging time
* (despite the above, if a tool has a longer time set in definition,
that still works)
* removed an unused "global" variable
2024-04-28 15:07:16 +00:00
the-real-herowl
c471aa2428
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-04-28 15:07:16 +00:00
the-real-herowl
7c143f6e36
Re-registered potions under new API
2024-04-28 15:07:16 +00:00
the-real-herowl
fb16569766
Added support for varied descriptions
2024-04-28 15:07:16 +00:00
the-real-herowl
c93581cd0c
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-04-28 15:07:16 +00:00
the-real-herowl
c032ada006
Potions registering API fully works with creative
2024-04-28 15:07:16 +00:00
the-real-herowl
5fb5e9121e
Added new potions registering API
...
-added comprehensive potions registering API
-new API registers only drinkable potions for now
-new API is compatible with very complex tooltips
-new API can have multiple effects per potion
-no hardcoding for specific potions in the new API
2024-04-28 15:07:16 +00:00
the-real-herowl
d8ec5e4b51
General effects API overhaul
...
- added a `register_effect()` function
- added the withering effect
- registered all the old effects under the new API
- unified effect names
- updated the main effect checker to use the new API
- changed some hardcoded values to support the unified effect naming
- added new namespaced metadata effects strings
- added support for legacy effect player metadata
- potions are still using the old effects API
- added glue between old API calls and the new API
- renamed the effect icons to support the unified effect naming
2024-04-28 15:07:16 +00:00
Eliy21
a78b308a75
Make potions handle delayed eating
2024-01-21 09:03:27 +00: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
Nauta Turbidus
a1b6819756
Withering effect and effect immunities
...
Added withering effect and immunities to effects.
Signed-off-by: Nauta Turbidus <88062389+nauta-turbidus@users.noreply.github.com>
2023-10-11 00:54:31 +00:00
AFCMS
cd33d406b2
fix many codestyle issues (functions, strings, modpaths)
2021-05-29 16:12:33 +02:00
NO11
f4c302e582
Fix #1718 (Give potion particles the same color as in mc) part1
2021-05-14 10:07:42 +00:00
AFCMS
02f393998f
fix many warnings (644 remaining)
2021-04-17 09:26:37 +02:00
Elias Fleckenstein
6e6f994a43
Make dragon breath use the dragon breath texture
2021-01-17 12:07:49 +01:00
Wuzzy
7c0c0d4d0c
Change particle for instant effects
2020-08-19 17:37:41 +02:00
Wuzzy
3bdd95fe47
Change night vision description
2020-08-19 10:40:07 +02:00
Wuzzy
cef20edd53
Fix drinking a potion never depleting it
2020-08-13 18:16:53 +02:00
Wuzzy
f4f976a7a5
Fix potions ignoring on_rightclick of node/objects
2020-08-10 10:30:00 +02:00
Brandon
5637701c4b
Correct indentation
2020-08-08 17:51:39 -04:00
Brandon
d6c7c9dcd0
Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master
2020-08-08 17:51:09 -04:00
Brandon
9024c8084d
Update how "on_use" is defined for potions.
2020-08-08 17:48:03 -04:00
Wuzzy
a472c30163
Fix indentations in mcl_potions/mcl_brewing
2020-08-08 10:00:16 +02:00
Wuzzy
7104bbd2df
Remove tt strings for WIP potions for now
2020-08-08 09:32:38 +02:00
Wuzzy
e519c62c8b
Clean up more potion-related strings
2020-08-05 15:18:30 +02:00
Brandon
0a5cb628c5
make lowercase to conform to Wuzzy's previous commit.
2020-08-01 08:42:31 -04:00
Brandon
5e26cfcf3d
Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2
2020-08-01 08:40:41 -04:00
Brandon
2ca2f25e58
Correct tooltip for healing/harming potions
2020-08-01 08:39:50 -04:00
Wuzzy
c63028801b
Write potion help texts
2020-08-01 03:20:52 +02:00
Wuzzy
5af124d732
Tweak potion tooltips
2020-07-31 10:43:42 +02:00
Wuzzy
3b95498092
Clean up potion/arrow names
2020-07-31 10:41:44 +02:00
Brandon
78bee21a82
Allow dragon's breath to stack to 64
2020-07-28 17:02:43 -04:00
Brandon
e5f0370c17
Correct arrow naming convention
2020-07-25 15:26:42 -04:00
Brandon
d228da1da7
allow stackable dragon breath
2020-07-24 19:02:54 -04:00
Brandon
dc3a991705
Correct crash from on_use = nil
2020-07-22 17:57:02 -04:00
Brandon
8ac54febba
Adjust dragon's breath color and don't splash it
2020-07-22 17:52:47 -04:00
Brandon
f2906bee3a
Add really cool header text
2020-07-22 17:46:49 -04:00
Brandon
927ba10c34
Update dragon breath image.
2020-07-22 17:46:34 -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
Brandon
2b4b37a439
Update longdesc for mundane and thick potions
2020-07-17 17:09:51 -04:00
Brandon
5e77c90bb7
adjust tooltip generation - use even numbers of 5
2020-07-16 21:02:21 -04:00
Brandon
850edb564d
Scale down leaping potion effect, cleanup tooltip generation.
2020-07-16 20:56:00 -04:00
Brandon
b9ba1300f9
Correct missing declaration of local param
2020-07-12 21:15:54 -04:00
Brandon
10f2dcb53a
Correct splash potions with no executable function
2020-07-12 12:32:54 -04:00