1
0
Fork 0
Commit Graph

364 Commits (b4e229dac2d5e6f4ed200f9dec152e3b91170f25)

Author SHA1 Message Date
the-real-herowl b4e229dac2 Added haste and fatigue 2024-04-28 15:07:16 +00:00
the-real-herowl c68edd9e25 Added dolphin's grace 2024-04-28 15:07:16 +00:00
the-real-herowl 663724674e Added strength and weakness effects
* also highest effect level displayed in HUD set to 3000
* also improved indicating effects with strange factors in HUD
2024-04-28 15:07:16 +00:00
the-real-herowl ae06803482 Renamed some functions and variables
* changed names referring to player where it does support mobs
* also added an is_player() check in one function
2024-04-28 15:07:16 +00:00
the-real-herowl 74d03e70c2 Improved descriptions 2024-04-28 15:07:16 +00:00
the-real-herowl 8b2de1e33f Improved nausea 2024-04-28 15:07:16 +00:00
the-real-herowl 80d09918bf Improved the darkness effect 2024-04-28 15:07:16 +00:00
the-real-herowl 8d4f1575f1 Added darkness 2024-04-28 15:07:16 +00:00
the-real-herowl d73231ab4a Added nausea 2024-04-28 15:07:16 +00:00
the-real-herowl 6ff6db3627 Fixed graphical features of some effects
* loading fixed (by adding on_load)
* absorption bar never reaching end fixed
2024-04-28 15:07:16 +00:00
the-real-herowl 489e798714 Added blindness effect
(also improved TT descriptions of some effects)
2024-04-28 15:07:16 +00:00
the-real-herowl ee6dbe776e Added frost effect 2024-04-28 15:07:16 +00:00
the-real-herowl 1214d85edc Added HP hudbar look modifier API
(for now in mcl_potions)
2024-04-28 15:07:16 +00:00
the-real-herowl 05312e611c Add hero of the village effect 2024-04-28 15:07:16 +00:00
the-real-herowl c45b0baa61 Added food poisoning and saturation effects 2024-04-28 15:07:16 +00:00
the-real-herowl b17fdf01e8 Added some missing effects and improved API
* added a way to have a damage modifier relying on type instead of flag
* added Slow Falling
* added Levitation
* added Health Boost
* added Absorption
2024-04-28 15:07:16 +00:00
the-real-herowl c67efdafb0 Improved damage mods in effects, resistance effect 2024-04-28 15:07:16 +00:00
the-real-herowl df5590d148 Improved effects HUD and fixes
* Fixed some effects not being replaced correctly with higher levels
* Implemented an old FIXME (MTE 5.3.0 fixed underlying bug)
* Added a way to obtain an approximate level of effect from factor
* Added effect level to HUD under the icon
* Added effect timer to HUD under the icon
2024-04-28 15:07:16 +00:00
the-real-herowl 5bcabd217a Improved /effect command return messages
Also improved the name of a 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 eb86bfd272 Added a constant to the API 2024-04-28 15:07:16 +00:00
the-real-herowl 72b0bfcdad Fixed tipped arrow descriptions 2024-04-28 15:07:16 +00:00
the-real-herowl a2107cc429 Added missing effect descriptions 2024-04-28 15:07:16 +00:00
the-real-herowl 552b71add1 Fixed splash and lingering potions
* descriptions
* scaling
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 2caf6bed1d Improved potion descriptions
* added support for effect descriptions
* added descriptions for some effects
* fixed a crash
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 c1ee1fdf16 Fixed variable definitions ("undeclared global") 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 d0b3a7b49b Translatable effect names and cleanup
-added translatable effect names to the API
-made /effect utilize those descriptions
-cleaned up variables/constants to go with further API changes
2024-04-28 15:07:16 +00:00
the-real-herowl 040c590707 Reimplemented /effect heal and fixed bugs
-heal subcommand to the /effect reimplemented
-healing_func() from old API standardized, included in new API
-(the last point is due to it being substantially different from others)
-fixed a few bugs, potential crashes
-fixed incorrect withering effect progression
-standardized variable naming
2024-04-28 15:07:16 +00:00
the-real-herowl e25bffe040 Resolved merge conflict 2024-04-28 15:07:16 +00:00
the-real-herowl 1df39ab13d Improved /effect command and fixes
-improved the /effect command, allowing to use effect levels
-fixed a bug in level-to-factor conversions
-renamed effect icons to follow the new convention
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
syl 21dbc25f13 Improve french translation (#4194)
Made a few improvements in the french translation.
Revert a change (oeil->œil) which make harder to search items by typing theirs names. Because "œ" is not in the AZERTY keyboard.

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4194
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: syl <syl@gresille.org>
Co-committed-by: syl <syl@gresille.org>
2024-03-07 20:04:02 +00:00
Eliy21 a78b308a75 Make potions handle delayed eating 2024-01-21 09:03:27 +00:00
José M dc4c559ad9 Escape equals sign in translation 2023-12-20 19:04:46 -06: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 645072507f Wither melee attack and bug fixes 2023-10-11 00:54:31 +00:00
the-real-herowl 966712f4ff Optimisation and cleanup
-optimised and cleaned up wither rose withering effect code
-removed unused code
2023-10-11 00:54:31 +00: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
the-real-herowl 17c8f220e6 A few more wither fixes 2023-10-11 00:54:31 +00:00
the-real-herowl c9dc12b081 Further wither adjustments 2023-10-11 00:54:31 +00: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
PrairieWind 23d6c3d17b Update campfire rightclick and smothering 2023-09-04 22:05:38 +00:00
Sab Pyrope 5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
syl 96b2f6a01d Improve French translation 2023-03-10 22:48:46 +01:00
Michieal 6265148727 Move textures all into one centralized directory. 2023-01-30 22:55:53 -05:00