Commit Graph

11984 Commits

Author SHA1 Message Date
the-real-herowl ae58851ede Added darkness 2024-02-02 04:33:19 +00:00
the-real-herowl 8181db7952 Added nausea 2024-02-02 04:33:19 +00:00
the-real-herowl 6aa07a0258 Fixed graphical features of some effects
* loading fixed (by adding on_load)
* absorption bar never reaching end fixed
2024-02-02 04:33:19 +00:00
the-real-herowl 6d9bd67cf8 Added blindness effect
(also improved TT descriptions of some effects)
2024-02-02 04:33:19 +00:00
the-real-herowl 700a030a13 Added frost effect 2024-02-02 04:33:19 +00:00
the-real-herowl cd136f0a25 Added HP hudbar look modifier API
(for now in mcl_potions)
2024-02-02 04:33:19 +00:00
the-real-herowl aa9978a548 Add hero of the village effect 2024-02-02 04:33:19 +00:00
the-real-herowl 3a01dcee90 Added food poisoning and saturation effects 2024-02-02 04:33:19 +00:00
the-real-herowl 4e70ae1397 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-02-02 04:33:19 +00:00
the-real-herowl c8fd4ec3c2 Improved damage mods in effects, resistance effect 2024-02-02 04:33:19 +00:00
the-real-herowl 8d7cfe0925 New effect icons 2024-02-02 04:33:19 +00:00
the-real-herowl b00fe1e258 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-02-02 04:33:19 +00:00
the-real-herowl 647dd6fe13 Improved /effect command return messages
Also improved the name of a variable
2024-02-02 04:33:19 +00:00
the-real-herowl 1680b607b7 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-02-02 04:33:19 +00:00
the-real-herowl 3d72f56f19 Re-registered potions under new API 2024-02-02 04:33:19 +00:00
the-real-herowl 51d0d02af5 Added a constant to the API 2024-02-02 04:33:19 +00:00
the-real-herowl 3791e19ae8 Fixed tipped arrow descriptions 2024-02-02 04:33:19 +00:00
the-real-herowl b6429217f2 Added missing effect descriptions 2024-02-02 04:33:19 +00:00
the-real-herowl 4e5b802113 Fixed splash and lingering potions
* descriptions
* scaling
2024-02-02 04:33:19 +00:00
the-real-herowl 069969c10b Added support for varied descriptions 2024-02-02 04:33:19 +00:00
the-real-herowl d479f749f0 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-02-02 04:33:19 +00:00
the-real-herowl 3a81ce7733 Improved potion descriptions
* added support for effect descriptions
* added descriptions for some effects
* fixed a crash
2024-02-02 04:33:19 +00:00
the-real-herowl 9251cc1583 Potions registering API fully works with creative 2024-02-02 04:33:19 +00:00
the-real-herowl 2c63903e8e Fixed variable definitions ("undeclared global") 2024-02-02 04:33:19 +00:00
the-real-herowl c9b7b237cf Creative inventory using new potions API
-creative inventory utilizes the new potions API
-the new fancy tooltips are used there
2024-02-02 04:33:19 +00:00
the-real-herowl 53ea12ad10 Added new potion tooltip handling
-potion tooltips are now utilizing the power of the new API
-potion names change based on metadata
-nothing triggers loading the new tooltips beyond the names for now
2024-02-02 04:33:19 +00:00
the-real-herowl 62c1102f53 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-02-02 04:33:19 +00:00
the-real-herowl b2611314cf 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-02-02 04:33:19 +00:00
the-real-herowl ed566b3cfe Arabic-to-Roman converter redo
-rewrote the Arabic-to-Roman number converter
-moved it to mcl_util
2024-02-02 04:33:19 +00:00
the-real-herowl 0684901e2a 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-02-02 04:33:19 +00:00
the-real-herowl 6d055eba82 Resolved merge conflict 2024-02-02 04:33:19 +00:00
the-real-herowl 4501516bed 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-02-02 04:33:19 +00:00
the-real-herowl 1961a45813 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-02-02 04:33:19 +00:00
the-real-herowl 87abd0f4dc Merge pull request 'Colored Leather Armor' (#4024) from AFCMS/MineClone2:colored-leather-2 into master
Reviewed-on: MineClone2/MineClone2#4024
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-02-02 03:25:08 +00:00
the-real-herowl 03b8ad15e3 Privs for colorizing command and comment cleanup 2024-02-02 04:07:41 +01:00
the-real-herowl fc6fe3f1ed Crafting colorized leather armor 2024-02-02 03:05:57 +00:00
the-real-herowl 3fa4cf6d52 Cauldron leather armor washing 2024-02-02 03:05:57 +00:00
the-real-herowl 3d799266c3 Finished leather armor colorizing 2024-02-02 03:05:57 +00:00
AFCMS caa82c40c9 Colored Leather Armor 2024-02-02 03:05:57 +00:00
the-real-herowl 8c19d4b9b8 Merge pull request 'Add glazed terracotta pillars' (#4117) from Potiron/MineClone2:master into master
Reviewed-on: MineClone2/MineClone2#4117
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-02-02 02:50:36 +00:00
the-real-herowl c31226041f Merge pull request 'Fixed ghast hitbox' (#4156) from ghast_fix into master
Reviewed-on: MineClone2/MineClone2#4156
2024-01-28 12:56:06 +00:00
the-real-herowl b3bcd949b9 Merge pull request 'Change on scaffolding placement checking' (#4164) from JoseDouglas26/MineClone2:scaffolding_bug_fix into master
Reviewed-on: MineClone2/MineClone2#4164
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-25 13:30:41 +00:00
the-real-herowl a8ad631864 Added ghast achievement and nerfed ghast
* ghast now attacks less frequently
* killing ghast with a ghast fireball now awards an achievement
2024-01-25 14:29:08 +01:00
the-real-herowl 1478960b7f Improved ghast combat
* ghast fireballs can now hit the shooter (used to just fly through)
* improved ghast aim
* increased ghast fireball lifetime
* mob projectile lifetime is now counted in seconds (was in ticks)
* improved variable naming
* improved default mob projectile deflecting (applies to ghast fireball)
2024-01-25 02:51:36 +00:00
the-real-herowl f41990c1d0 Fixed ghast hitbox 2024-01-25 02:51:36 +00:00
José Douglas da Silva Souza 77a6ac1ef3 Protection check 2024-01-25 02:23:15 +00:00
José Douglas da Silva Souza 9b9271e5df Change on scaffolding placement checking 2024-01-25 02:23:15 +00:00
the-real-herowl 1175be45fb Merge pull request 'Add MC hold to eat delay' (#4144) from Eliy21/MineClone2:eating_delay into master
Reviewed-on: MineClone2/MineClone2#4144
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-25 02:06:14 +00:00
the-real-herowl f444efbb03 Merge pull request 'Make cactus be able to damage mobs' (#4149) from Eliy21/MineClone2:cactus_mob_damage into master
Reviewed-on: MineClone2/MineClone2#4149
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-25 01:57:22 +00:00
chmodsayshello a2a38b7b3d Merge pull request 'Fixed a crash' (#4154) from fix_capes_crash into master
Reviewed-on: MineClone2/MineClone2#4154
Reviewed-by: chmodsayshello <chmodsayshello@hotmail.com>
2024-01-22 20:20:31 +00:00