1
0
Fork 0
Commit Graph

387 Commits (33bd9c34c6e8edd8de48875b584a1f948afbaa39)

Author SHA1 Message Date
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
Riu Sakura 2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
cora c3455de604 Clear bad omen when raid complete 2022-11-26 17:06:04 +01:00
cora dc017864fd raids: properly integrate potions api
supports "level" now, bad omen > 1 means extra wave additionally
the playername is saved in the event object now for later access
and events can be made exclusive to a certain radius now.
2022-11-26 17:06:04 +01:00
cora 2159edba05 Remove dependency on mcl_potions 2022-11-26 17:06:04 +01:00
PrairieWind 1b6d778dd1 Add Village Checks 2022-11-26 17:06:03 +01:00
PrairieWind 96ac31bec3 Add Bad Omen Effect 2022-11-26 17:06:03 +01:00
talamh 695fab5f06 Fix status effects scaling issue with non 16x texture packs 2022-10-11 21:53:48 +01:00
Johannes Fritz 18f8768909 Fix invisibility potion when changing skin 2022-09-15 12:04:20 -05:00
Johannes Fritz 3695ee2425 Fix invisibility potion crash 2022-09-08 16:45:53 -05:00
cora 0b157c953f fix wrong argument to sound_play 2022-07-16 12:12:28 +00:00
cora bf23c61e34 skip damage completely when player & pvp disabled 2022-07-16 12:12:28 +00:00
cora 77d834ac5e Add PVP check to tipped arrows 2022-07-16 12:12:28 +00:00
TheRandomLegoBrick cbe0f80d68 Move redundant water bottle code to functions 2022-07-07 16:50:51 -07:00
TheRandomLegoBrick be1427205e Move progress to separate mod and add packed mud 2022-07-06 13:14:29 -07:00
TheRandomLegoBrick 0142b58edc Allow dispensers to convert dirt to mud 2022-07-06 12:43:54 -07:00
TheRandomLegoBrick 973dc7fa41 Add mud 2022-07-06 12:14:21 -07:00
TheRandomLegoBrick 24ab7ff825 Add mud block 2022-07-06 11:33:25 -07:00
epCode 6bc5e76b8f fix tipped arrows and rocket 2022-06-10 19:40:12 -07:00
Elias Fleckenstein e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
MysticTempest 44b1d583a7 Potion Fixes:
Ensure all potion icons disappear after their effect is gone.
Stop Breath bar from flashing when water_breathing is in effect.
2022-05-09 05:18:59 -05:00
AFCMS 5a7b1cc382
make all arrow types activate target (+ depends and code fixes) 2022-02-26 23:52:03 +01:00
AFCMS 210a0d8ee1
make lingering potions activate target (+ indentation fix) 2022-02-26 22:44:50 +01:00
AFCMS eae8effd57
make splash potions activate target 2022-02-26 22:42:27 +01:00
epCode 1c458a2e72 Add crossbows 2021-10-15 12:00:37 -07:00
NO11 4aabd7d9e7 Make size/position of potion HUD more MC like 2021-08-01 12:10:00 +00:00
NO11 f3322fd7cb Fix #1779 (potion arrows are invisible) 2021-06-05 13:17:03 +00:00
marcin-serwin cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS a71a0e9161 fix even more warnings (nether portals and potions) 2021-05-22 23:04:18 +02:00
NO11 be9fb5be47 Fix #1718 (Give potion particles the same color as in mc) part2 2021-05-14 10:07:58 +00:00
NO11 f4c302e582 Fix #1718 (Give potion particles the same color as in mc) part1 2021-05-14 10:07:42 +00:00
Elias Fleckenstein 8cccbd7caa Fix harming potion crash 2021-04-30 16:38:53 +02:00
Elias Fleckenstein db78c19880 Remove legacy mcl_potions translations 2021-04-29 12:42:08 +02:00
Elias Fleckenstein edc89898bb Integrate fire resistance 2021-04-25 20:51:13 +02:00
Elias Fleckenstein 53b0ad7347 Implement magic damage 2021-04-18 20:21:11 +02:00
Elias Fleckenstein ca75a893db Merge branch 'master' into damage 2021-04-17 12:58:19 +02:00
AFCMS 02f393998f fix many warnings (644 remaining) 2021-04-17 09:26:37 +02:00
Elias Fleckenstein d0ddd38d4e Merge branch 'master' into damage 2021-04-14 16:14:00 +02:00
Elias Fleckenstein ce0148d9a8 Rewrite armor; new damage system 2021-04-14 15:46:52 +02:00
Code-Sploit cd0d2d2296 Fix #1548 2021-04-13 13:57:45 +00:00
Marcin Serwin 9472f86025 Fix spellchecking errors 2021-04-12 17:58:04 +02:00
Marcin Serwin 9e41d5874a Add polish translation of mcl_potions 2021-04-12 15:08:57 +02:00
AFCMS 8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
epCode 90a0858495 Make new arrow mesh work with tipped arrows 2021-03-12 15:36:43 -08:00
epCode eeb1f88e08 Fix invisibility to be more MC-like 2021-03-11 19:14:23 -08:00
AFCMS 3635b848d5 add API for mcl_wip 2021-03-07 00:42:34 +01:00
Elias Fleckenstein 2d4b8a8232 Replace usages of get_node_group by get_item_group 2021-02-23 10:25:17 +01:00
Elias Fleckenstein aeb7078c05 Update use_texture_alpha to the minetest 5.4 conventions 2021-02-18 14:00:17 +01:00
Rocher Laurent 529f799cc2 Translate French - Small fixes 2021-02-16 22:30:26 +01:00
Laurent Rocher 303d286603 Update French translation 2021-02-13 00:09:59 +01:00
Elias Fleckenstein 6e6f994a43 Make dragon breath use the dragon breath texture 2021-01-17 12:07:49 +01:00
Wuzzy 5bd3ebda17 Add throwing sound 2020-12-07 00:02:32 +01:00
kay27 2958d96967 Fix Russian translation 2020-11-26 23:34:56 +04:00
Wuzzy 9365493696 Fix fire resistance bad protect against magmablock 2020-11-12 16:43:12 +01:00
Wuzzy 124274053d Effect: Bigger init timer 2020-11-12 16:28:52 +01:00
Wuzzy c3861bad85 Fix effect icons not initing correctly after join 2020-11-12 16:25:17 +01:00
Wuzzy c5a27ee47a Add status effect icons 2020-11-12 15:46:57 +01:00
kay27 a511152cdf Fix glass bottles remained empty on take water from cauldrons, https://github.com/kay27/MineClone2/issues/1 2020-09-27 22:56:39 +04:00
kay27 28f19fdbb4 Fix potion names, https://git.minetest.land/Wuzzy/MineClone2/issues/829 2020-09-08 07:21:29 +04:00
Wuzzy 09ee912096 Fix crash when mob dies after poison/regen 2020-08-29 10:53:44 +02:00
MysticTempest 2f6afe34ba Fix crash when night_vision tries to apply to a mob. 2020-08-26 00:46:07 -05:00
Wuzzy 3a57a5800b Smoother lingering potion particles in 1st second 2020-08-22 11:18:45 +02:00
kay27 82c3142913 fix a typo in mcl_potions.ru.tr 2020-08-22 05:13:17 +04:00
kay27 a672d901f8 Translate new line in mcl_potions.ru.tr 2020-08-21 22:22:55 +04:00
Wuzzy 7c0c0d4d0c Change particle for instant effects 2020-08-19 17:37:41 +02:00
Wuzzy 91d174b437 Fix incorrect particle name in mcl_potions 2020-08-19 17:07:53 +02:00
Wuzzy fa9ce11ddd Move potion particles to mcl_particles 2020-08-19 14:12:51 +02:00
Wuzzy 3bdd95fe47 Change night vision description 2020-08-19 10:40:07 +02:00
Wuzzy b2ad6b79bd Fix night vision conflicting with weather skycolor 2020-08-19 10:39:44 +02:00
Wuzzy cef20edd53 Fix drinking a potion never depleting it 2020-08-13 18:16:53 +02:00
Wuzzy 12ca804488 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-13 18:08:33 +02:00
kay27 b8caa2581f Update Russian translation of Brewing 2020-08-11 01:59:58 +04:00
Wuzzy 89b294f8c1 Fix typo in translation 2020-08-10 10:50:48 +02:00
Wuzzy 8573dd69b7 Update mcl_potion translation templates 2020-08-10 10:47:42 +02:00
Wuzzy 578fbf999e Change word in command help 2020-08-10 10:44:57 +02:00
Wuzzy 2a7edbde49 mcl_potions: Move command to own file 2020-08-10 10:40:10 +02:00
Wuzzy f4f976a7a5 Fix potions ignoring on_rightclick of node/objects 2020-08-10 10:30:00 +02:00