the-real-herowl
741d7e058b
New effect icons
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
0bb9d862e8
Creative inventory using new potions API
...
-creative inventory utilizes the new potions API
-the new fancy tooltips are used there
2024-04-28 15:07:16 +00:00
the-real-herowl
093341019d
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-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
6a09e5cf48
Arabic-to-Roman converter redo
...
-rewrote the Arabic-to-Roman number converter
-moved it to mcl_util
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
the-real-herowl
5f70189e08
Don't touch description if tt snippets did nothing ( #4264 )
...
This should prevent problems like the ones described in https://git.minetest.land/MineClone2/MineClone2/pulls/4196#issuecomment-77558 or https://git.minetest.land/MineClone2/MineClone2/pulls/4130#issuecomment-77571
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4264
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2024-04-28 15:04:39 +00:00
the-real-herowl
4e12c6747c
Merge pull request 'Fix #4189 - Make hoppers move items if there is space for one item' ( #4190 ) from teknomunk/MineClone2:hopper-changes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4190
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-04-27 13:51:34 +00:00
the-real-herowl
1d8fc7abac
Merge pull request 'Bed Fixes' ( #4253 ) from teknomunk/MineClone2:bed-fixes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4253
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-04-27 12:35:14 +00:00
teknomunk
09c595c363
Fix two hopper clocks
2024-04-27 08:41:09 +00:00
teknomunk
6fbe60f1ac
Fix crash with undefined nodes
2024-04-27 08:41:09 +00:00
teknomunk
3705be24d7
Fix 'Undeclared global variable' warning
2024-04-27 08:41:09 +00:00
teknomunk
681075df5a
Correct null -> nil
2024-04-27 08:41:09 +00:00
teknomunk
6ecb304946
make hoppers behave the same say regardless of the order the server processes the nodes by following a chain of hoppers to the end and processing back to the starting node and marking all those nodes as processed
2024-04-27 08:41:09 +00:00
teknomunk
034b0142c6
Make sure the inventory slot has at least the number of items requsted in it before selecting it
2024-04-27 08:41:09 +00:00
teknomunk
e02d1c0e27
Update to comply with coding guidelines
2024-04-27 08:41:09 +00:00
teknomunk
bdcd89e1bf
Modify mcl_util.select_stack to allow specifying the number of items that will be moved, modify hopper on_try_push functions to specify only 1 item will be moved at a time, general cleanup of touched code (reduce indent - 1 place, break filter functions out of function call parameter - 4 places)
2024-04-27 08:41:09 +00:00
teknomunk
62ab68637a
Stop beds from dropping as items when players in creative mode dig them
2024-04-27 07:17:24 +00:00
teknomunk
0839f35a12
Add additional bed placing attempts
2024-04-27 10:42:20 +00:00
teknomunk
84d6b593b2
Fix bed duplication bug when destroyed by TNT
2024-04-27 10:42:20 +00:00
the-real-herowl
3bcbb99878
Merge pull request 'The Pull Request that Fixed the Creative Inventory' ( #4237 ) from creative_inv_fixes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4237
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-04-27 06:19:11 +00:00
the-real-herowl
9e8661ae95
Merge pull request 'Added eating animation' ( #4169 ) from eating_animation into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4169
2024-04-22 01:18:11 +00:00
SOS-Games
4f37c1600f
Able to see all mobs in the lookup help menu ( #4186 )
...
added a Mobs category that has pages for all mobs
Co-authored-by: SOS-Games <101518564+SOS-Games@users.noreply.github.com>
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4186
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: SOS-Games <gruberscomplete@gmail.com>
Co-committed-by: SOS-Games <gruberscomplete@gmail.com>
2024-04-21 08:16:15 +00:00
Doods
bd4337a2dc
Make Editorconfig compliant with the spec. ( #4245 )
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4245
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Doods <yusufalishabaka@tutanota.com>
Co-committed-by: Doods <yusufalishabaka@tutanota.com>
2024-04-20 15:23:59 +00:00
MysticTempest
57409973b9
Fix creative inv tabs showing item tooltips.
2024-04-17 16:53:59 +07:00
Mikita Wiśniewski
312ad5b63b
Fix creative inventory search not working on Android ( fixes #3402 )
2024-04-17 16:53:59 +07:00
Mikita Wiśniewski
46ed6a6dda
Fix switching items in the creative inventory ( fixes #3941 )
2024-04-17 16:53:59 +07:00
the-real-herowl
0f20e18e53
Merge pull request 'fix_xp_reload_bug' ( #4226 ) from teknomunk/MineClone2:fix_xp_reload_bug into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4226
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-04-14 07:10:33 +00:00
the-real-herowl
69d3fa5f85
Merge pull request 'Added a check for the bone meal's applied position.' ( #4201 ) from CyberMango/MineClone2:dev/mango/add_bone_meal_protection_check into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4201
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-04-14 07:07:21 +00:00
the-real-herowl
5e673b8fee
Merge pull request 'Add partial item stack pickup' ( #4193 ) from teknomunk/MineClone2:grouped-item-pickup into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4193
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-04-14 06:53:37 +00:00
Araca
596c56d31f
Add possibility to edit a sign ( #4188 )
...
We can edit a sign by right-clicking in it. If in hand you have a color or a glow ink, the behaviour didn't change. Also some refactorization.
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4188
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Araca <araca.prod@gmail.com>
Co-committed-by: Araca <araca.prod@gmail.com>
2024-04-14 06:50:19 +00:00
the-real-herowl
e582c3bb97
Improved look on the mobile device
...
Now the food doesn't cover the full screen on mobile devices...
...at the cost of stretching at ultrawide or portrait aspect ratios.
2024-04-14 08:34:41 +02:00
the-real-herowl
b5b8d4f336
Merge pull request 'more piglin bartering items (and drop stack instead of single items)' ( #4181 ) from nixnoxus/MineClone2:piglin-bartering into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4181
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
2024-04-14 00:01:13 +00:00