1
0
Fork 0
Commit Graph

11894 Commits

Author SHA1 Message Date
the-real-herowl 7354f20805 Added darkness 2024-01-22 04:45:19 +01:00
the-real-herowl 6215d52e5f Added nausea 2024-01-22 02:13:08 +01:00
the-real-herowl 48f8e7ae44 Fixed graphical features of some effects
* loading fixed (by adding on_load)
* absorption bar never reaching end fixed
2024-01-20 05:18:49 +00:00
the-real-herowl 7128d407f5 Added blindness effect
(also improved TT descriptions of some effects)
2024-01-20 05:18:49 +00:00
the-real-herowl be2033c8d6 Added frost effect 2024-01-20 05:18:49 +00:00
the-real-herowl 445e196dac Added HP hudbar look modifier API
(for now in mcl_potions)
2024-01-20 05:18:49 +00:00
the-real-herowl 439028aaa7 Add hero of the village effect 2024-01-20 05:18:49 +00:00
the-real-herowl 6c6de16907 Added food poisoning and saturation effects 2024-01-20 05:18:49 +00:00
the-real-herowl f4355ae9f0 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-01-20 05:18:49 +00:00
the-real-herowl 57fc19e655 Improved damage mods in effects, resistance effect 2024-01-20 05:18:49 +00:00
the-real-herowl 84704a01f5 New effect icons 2024-01-20 05:18:49 +00:00
the-real-herowl 1c6c1c5480 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-01-20 05:18:49 +00:00
the-real-herowl 1ecf9cf082 Improved /effect command return messages
Also improved the name of a variable
2024-01-20 05:18:49 +00:00
the-real-herowl 1c104a3413 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-01-20 05:18:49 +00:00
the-real-herowl d92f517d38 Re-registered potions under new API 2024-01-20 05:18:49 +00:00
the-real-herowl 137efb906c Added a constant to the API 2024-01-20 05:18:49 +00:00
the-real-herowl 95683cdf9b Fixed tipped arrow descriptions 2024-01-20 05:18:49 +00:00
the-real-herowl ffba5824a0 Added missing effect descriptions 2024-01-20 05:18:49 +00:00
the-real-herowl e26a35cf51 Fixed splash and lingering potions
* descriptions
* scaling
2024-01-20 05:18:49 +00:00
the-real-herowl 53369188fe Added support for varied descriptions 2024-01-20 05:18:49 +00:00
the-real-herowl 2c84fa7e19 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-01-20 05:18:49 +00:00
the-real-herowl 6fe6e21bd7 Improved potion descriptions
* added support for effect descriptions
* added descriptions for some effects
* fixed a crash
2024-01-20 05:18:49 +00:00
the-real-herowl 26e3ff76df Potions registering API fully works with creative 2024-01-20 05:18:49 +00:00
the-real-herowl d585e990ff Fixed variable definitions ("undeclared global") 2024-01-20 05:18:49 +00:00
the-real-herowl c1e49d3564 Creative inventory using new potions API
-creative inventory utilizes the new potions API
-the new fancy tooltips are used there
2024-01-20 05:18:49 +00:00
the-real-herowl f4b4b3d443 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-01-20 05:18:49 +00:00
the-real-herowl 3981ae2f64 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-01-20 05:18:49 +00:00
the-real-herowl 4d54d6c903 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-01-20 05:18:49 +00:00
the-real-herowl bee4f86b3e Arabic-to-Roman converter redo
-rewrote the Arabic-to-Roman number converter
-moved it to mcl_util
2024-01-20 05:18:49 +00:00
the-real-herowl b24508a2f5 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-01-20 05:18:49 +00:00
the-real-herowl f17ab7dd28 Resolved merge conflict 2024-01-20 05:18:49 +00:00
the-real-herowl 436ece535e 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-01-20 05:18:49 +00:00
the-real-herowl 5587afeba2 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-01-20 05:18:49 +00:00
the-real-herowl ac8ff800ec Merge pull request 'Farming fortune drop bug fix' (#4121) from JoseDouglas26/MineClone2:mcl_farming_fortune into master
Reviewed-on: MineClone2/MineClone2#4121
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-20 04:46:02 +00:00
JoseDouglas26 3b60a8eb18 Farming fortune drop bug fix 2024-01-20 04:03:25 +00:00
the-real-herowl 681175c463 Merge pull request 'Show elytra animation when using elytra' (#4108) from elytra into master
Reviewed-on: MineClone2/MineClone2#4108
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-20 04:02:44 +00:00
the-real-herowl 3dafeb7505 Merge pull request 'Set all mob spawn chance weights according to mc now that weights are actually taken into account' (#4035) from Bakawun/MineClone2:mob_chance into master
Reviewed-on: MineClone2/MineClone2#4035
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-20 04:00:13 +00:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 4c0bad754e Show elytra animation when using elytra 2024-01-20 03:41:38 +00:00
PrWalterB 899c45534f Adding occitan translation for CORE and ENTITIES 2024-01-20 04:28:46 +01:00
the-real-herowl cfd41d458a Merge pull request 'Add capes' (#4046) from capes into master
Reviewed-on: MineClone2/MineClone2#4046
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-20 03:26:10 +00:00
the-real-herowl 41c6773fd4 Merge pull request 'Spawning: fix random weighted choice' (#4025) from Bakawun/MineClone2:random_select into master
Reviewed-on: MineClone2/MineClone2#4025
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-20 03:15:24 +00:00
the-real-herowl 27c3760da1 Merge pull request 'Ghast: align attributes with mc' (#4014) from Bakawun/MineClone2:ghast into master
Reviewed-on: MineClone2/MineClone2#4014
2024-01-20 03:14:16 +00:00
James Clarke aa4d5738c7 Fix Survival Inventory Tab API (#4147)
* restored some old code that had gone missing
* fixed the survival inventory tab API not working
* fixed some grammar

Reviewed-on: MineClone2/MineClone2#4147
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: James David Clarke <james@jamesdavidclarke.com>
Co-committed-by: James David Clarke <james@jamesdavidclarke.com>
2024-01-20 00:42:56 +00:00
the-real-herowl 59ad110e6b Merge pull request 'Fix mcl_shields is_blocking crash when object not found under player' (#4134) from Impulse/MineClone2:mcl-shields-crash-fix into master
Reviewed-on: MineClone2/MineClone2#4134
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-01-15 14:22:33 +00:00
James Clarke ee24b24c68 Fix indentation 2024-01-15 14:19:51 +00:00
James Clarke f94e7fc52f Fix mcl_shields is_blocking crash when object not found under player 2024-01-15 14:19:51 +00:00
chmodsayshello 45c84b1f1d fix formspec 2024-01-13 19:50:09 +01:00
chmodsayshello 96dbcc45d0 fix cape being registered twice 2024-01-13 19:50:09 +01:00
chmodsayshello bfe333ef60 fix cape rendering conflicts
The elytra and the normal cape were able to render at the same time while wearing an elytra.
2024-01-13 19:50:09 +01:00
chmodsayshello 89eb0f9b3e remove test selector_func 2024-01-13 19:50:09 +01:00