the-real-herowl
588db6b0dc
Improved compat alias visual
2024-05-02 02:57:18 +02:00
the-real-herowl
77857397a3
Fix a crash
2024-05-02 02:57:18 +02:00
the-real-herowl
764aa14f21
Fixed mob drops not having proper description
2024-05-02 02:57:18 +02:00
the-real-herowl
8f07f70da4
Legacy potion conversion extended
2024-05-02 02:57:18 +02:00
the-real-herowl
15d75fb73e
Legacy potions converter
2024-05-02 02:57:18 +02:00
the-real-herowl
057ae6fceb
Guardian fixes
2024-05-02 02:57:18 +02:00
the-real-herowl
ec97707412
Add more sus stew effects
2024-05-02 02:57:18 +02:00
the-real-herowl
31d0631b7d
Migrated mobs to the new effects API
2024-05-02 02:57:18 +02:00
the-real-herowl
ef920c1cde
Migrated beacons to the new API
...
Also added more effects to them
2024-05-02 02:57:18 +02:00
the-real-herowl
188ff88e07
Strays now use frost arrows
2024-05-02 02:57:18 +02:00
the-real-herowl
a331925f9d
Move most of the game to the new API
2024-05-02 02:57:18 +02:00
the-real-herowl
10de2aed63
Documentation update
2024-05-02 02:57:18 +02:00
the-real-herowl
dee4a14167
Support delayed drinking with new potions API
2024-05-02 02:57:18 +02:00
the-real-herowl
d6cbbdb861
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-02 02:57:18 +02:00
the-real-herowl
c839ba4144
Plant placement and drop fixes
2024-05-02 02:57:07 +02:00
the-real-herowl
8fcb48fbf3
Added on_save_effect support for mobs
2024-05-02 02:55:41 +02:00
the-real-herowl
28b3d479ba
Fixed effects still being handled after mob death
2024-05-02 02:55:41 +02:00
the-real-herowl
f2116a1a05
Effects persist on loads for mobs too
2024-05-02 02:55:41 +02:00
the-real-herowl
1bcbf72cf0
Remove unused function in mcl_hunger
2024-05-02 02:55:40 +02:00
the-real-herowl
0ffa195f93
Added some potion recipes
...
Also:
* changed the duration of saturation and food poisoning potions
* minor code changes
2024-05-02 02:55:40 +02:00
the-real-herowl
cb00027944
Added the ominous potion
2024-05-02 02:55:40 +02:00
the-real-herowl
76c05e5a1e
Improved API mob support
...
* various API functions now work with mobs properly
* the following effects don't work with mobs at all:
water breathing, dolphin's grace, leaping, swiftness,
slowness, slow falling, night vision, darkness, frost,
health boost, absorption, fire resistance, resistance,
luck, bad luck, blindness, nausea, hunger, saturation,
haste, fatigue, conduit power
* the following effects should work with mobs:
invisibility, regeneration, poison, withering,
strength, weakness, levitation, glowing
* the following effects have no effect on mobs
(but can be applied with the API):
bad omen, hero of the village
2024-05-02 02:55:40 +02:00
the-real-herowl
858d7f6c16
Allowed infinite effect duration
2024-05-02 02:55:40 +02:00
the-real-herowl
1349945fdc
Added the option to remove and clear effects...
...
...with the /effect command.
Also made the API for clearing effects more robust.
2024-05-02 02:55:40 +02:00
the-real-herowl
11b3cfe68a
Allowed giving effect without particles
...
...both with API and the /effect command
2024-05-02 02:55:40 +02:00
the-real-herowl
e42d423113
Typos fixed
2024-05-02 02:55:40 +02:00
the-real-herowl
f5fe19960e
Tooltip and color fixes
2024-05-02 02:55:40 +02:00
the-real-herowl
16ebc17090
Expanded brewing recipe API
...
Added recipes using thick or mundane potion
2024-05-02 02:55:40 +02:00
the-real-herowl
6d7cabbad9
Added potions for new effects
...
* also added some new brewing recipes
2024-05-02 02:55:40 +02:00
the-real-herowl
df8cca6148
Added strength and weakness potions
...
Also fixed potent slowness potion level
Also fixed slowness and swiftness effect descriptions
2024-05-02 02:55:40 +02:00
the-real-herowl
6768bf06c6
New brewing recipes registering API
...
Also migrated all recipes to the new system
2024-05-02 02:55:40 +02:00
the-real-herowl
0ee99277f1
Brewing fully works with the new system
2024-05-02 02:55:40 +02:00
the-real-herowl
0f1a2d4910
Brewing somewhat works with the new API
2024-05-02 02:55:40 +02:00
the-real-herowl
6848944d5e
Added glowing effect
...
Also added on_save_effect callback to run cleanup
2024-05-02 02:55:40 +02:00
the-real-herowl
a0ff75e995
Fixed running on_end for effects that aren't ending
2024-05-02 02:55:40 +02:00
the-real-herowl
c7348e6697
Reserve some more keywords in register_effect()
2024-05-02 02:55:40 +02:00
the-real-herowl
fd96a52631
Further (mcl_)luck functionality
...
* XP from mob breeding impacted by luck
* eye of ender explosion chance impacted by luck
* fishing loot impacted by luck
* melee critical damage impacted by luck
* also fixed 2 scripts marked as "executable"
2024-05-02 02:55:40 +02:00
the-real-herowl
a9f255a893
Made some random rolls affected by mcl_luck
...
* xp bottle
* bow and crossbow crits
* megacrits added for mcl_bows, achievable only by (mcl_)luck
2024-05-02 02:55:40 +02:00
the-real-herowl
2d7a1e34be
Added mcl_luck API
...
Luck and Bad Luck effects use the mcl_luck API now
The API is unused for now
2024-05-02 02:55:40 +02:00
the-real-herowl
157c03e4ab
Added luck and bad luck effects
...
They're no-op for now
2024-05-02 02:55:40 +02:00
the-real-herowl
8ebe983877
Added some effect descriptions
2024-05-02 02:55:40 +02:00
the-real-herowl
a64d6ba62b
Added conduit power
2024-05-02 02:55:40 +02:00
the-real-herowl
140affe36e
Haste and fatigue expanded and improved
...
* abstracted and refactored some parts of haste and fatigue
* added and exposed new mcl_potions API functions
* fixed haste and fatigue not altering the hand
* mcl_meshhand now calls into mcl_potions when resetting the hand
2024-05-02 02:55:40 +02:00
the-real-herowl
5c2ed0b0a9
Capped fatigue effect on punching
...
This fixes a crash, too
Also updates toolcaps on gamemode change
2024-05-02 02:55:40 +02:00
the-real-herowl
3e308da1e5
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-05-02 02:55:40 +02:00
the-real-herowl
3ac9bbcb49
Added haste and fatigue
2024-05-02 02:55:40 +02:00
the-real-herowl
b00c5076cf
Added dolphin's grace
2024-05-02 02:55:40 +02:00
the-real-herowl
4c47d78d58
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-05-02 02:55:40 +02:00
the-real-herowl
6730b613c1
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-05-02 02:55:40 +02:00
the-real-herowl
aab5619c3c
Improved descriptions
2024-05-02 02:55:40 +02:00