Commit Graph

434 Commits

Author SHA1 Message Date
the-real-herowl
d1ca0f23f0 Resolved merge conflict 2024-05-22 21:02:24 +02:00
the-real-herowl
5750284e8f 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-05-22 21:02:24 +02:00
the-real-herowl
8477d13c79 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-05-22 21:02:24 +02:00
the-real-herowl
753545d714 Merge pull request 'Rover and Stalker' (#4282) from rover_stalker into master
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4282
2024-05-22 19:01:14 +00:00
teknomunk
aabd80d54b Change MineClone 2 to VoxeLibre 2024-05-07 11:38:00 +00:00
teknomunk
d2a49799ae Change over internal name so that /spawn_mob works 2024-05-05 16:22:19 +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
Brandon
5637701c4b Correct indentation 2020-08-08 17:51:39 -04:00
Brandon
d6c7c9dcd0 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-08 17:51:09 -04:00
Brandon
9024c8084d Update how "on_use" is defined for potions. 2020-08-08 17:48:03 -04:00
Wuzzy
db1cc2e012 Effect command: Swap arguments 2020-08-08 10:25:23 +02:00
Wuzzy
aaa13878c1 Clean up the effect test command a little 2020-08-08 10:14:37 +02:00
Wuzzy
a472c30163 Fix indentations in mcl_potions/mcl_brewing 2020-08-08 10:00:16 +02:00
Wuzzy
7104bbd2df Remove tt strings for WIP potions for now 2020-08-08 09:32:38 +02:00
Brandon
48fae05040 Fix problem with charging double potion effect when hit by a tipped_arrow 2020-08-06 17:44:16 -04:00
Brandon
0cfd16fb17 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-06 17:31:21 -04:00
Brandon
128e98ca4d Delete dead code 2020-08-06 17:30:49 -04:00
Brandon
0e462ef883 Update potions to not break on contact with liquid nodes. 2020-08-06 17:30:28 -04:00
kay27
6ba7ba981d Russian translation of mcl_potions, mcl_brewing 2020-08-06 19:15:59 +04:00
Brandon
49a5f765bd Save player effects on server shutdown. 2020-08-05 20:18:18 -04:00
Brandon
cfcaa4fa12 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-08-05 20:03:56 -04:00
Wuzzy
fd724f4c1c Lingering heal/harm potions change at least 1 HP 2020-08-05 20:59:16 +02:00
Wuzzy
3deac5a1c6 Add crafting recipe for dragon's breath 2020-08-05 20:55:07 +02:00
Wuzzy
92591b37dc Make throwable potion entities non-pointable 2020-08-05 20:38:51 +02:00
Wuzzy
f5032503d0 Remove dead code in mcl_potions 2020-08-05 20:04:12 +02:00
Wuzzy
53c83a3479 Fix German translation mistake 2020-08-05 19:58:04 +02:00
Wuzzy
1834be9e46 Lingering potion: Reduce timer by constant value 2020-08-05 19:53:14 +02:00
Wuzzy
50bd1b9d5e Update water bottle translate 2020-08-05 19:47:13 +02:00
Wuzzy
ff476c29b6 Better lingering for lingering water bottle 2020-08-05 19:44:19 +02:00
Wuzzy
9c304105e9 Add special particles for throwable water bottles 2020-08-05 19:29:21 +02:00
Wuzzy
20455a259f Tweak splash potion particles 2020-08-05 19:06:32 +02:00
Wuzzy
1f8488aba5 Make throwable water bottles useful 2020-08-05 19:00:08 +02:00
Wuzzy
f1616e522a Fix another German typo 2020-08-05 15:26:35 +02:00
Wuzzy
41cf1a4362 Fix some translation typos in German 2020-08-05 15:24:15 +02:00
Wuzzy
cbf545ee12 Update mcl_potions translation template and German 2020-08-05 15:18:36 +02:00
Wuzzy
e519c62c8b Clean up more potion-related strings 2020-08-05 15:18:30 +02:00
Wuzzy
87bf6c12b2 Add German potion translation 2020-08-05 14:49:23 +02:00
Wuzzy
e20a630a19 mcl_brewing, mcl_potions: Update transl. templates 2020-08-05 14:24:21 +02:00
Wuzzy
431cd63865 Add mod.conf to mcl_potions 2020-08-05 14:21:48 +02:00
Wuzzy
fe40936065 Remove redundant arrow help string definition 2020-08-05 14:20:53 +02:00
Brandon
b9a9b1b814 Add pretty weak version of chat commands to give oneself potion effects - for testing 2020-08-03 12:47:42 -04:00
Brandon
67e4e814f4 move hudbar stuff outside initial statement. 2020-08-02 20:50:29 -04:00
Brandon
af1ab424fc Allow potion effects to remain after player logs off. 2020-08-02 20:44:18 -04:00
Brandon
0a5cb628c5 make lowercase to conform to Wuzzy's previous commit. 2020-08-01 08:42:31 -04:00
Brandon
5e26cfcf3d Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-08-01 08:40:41 -04:00
Brandon
2ca2f25e58 Correct tooltip for healing/harming potions 2020-08-01 08:39:50 -04:00
Wuzzy
c63028801b Write potion help texts 2020-08-01 03:20:52 +02:00
Wuzzy
5af124d732 Tweak potion tooltips 2020-07-31 10:43:42 +02:00
Wuzzy
3b95498092 Clean up potion/arrow names 2020-07-31 10:41:44 +02:00
Brandon
78bee21a82 Allow dragon's breath to stack to 64 2020-07-28 17:02:43 -04:00
Brandon
fd6028e451 Cleanup HUD bar mechanics 2020-07-27 19:41:07 -04:00
Brandon
9a32bdc967 Update HUD for poison/regen. 2020-07-27 19:17:04 -04:00
Brandon
bdd92c6cdb update poison to swap hudbar icons and remove old dead functions 2020-07-27 17:32:48 -04:00
Brandon
6eb810339b Cleanup potion functions - check for player effects at login to ensure no holdovers exist 2020-07-26 17:42:38 -04:00
Brandon
9ef57692ba A little more code cleanup 2020-07-26 07:48:40 -04:00
Brandon
9dce5581be Code cleanup 2020-07-25 20:59:26 -04:00
Brandon
d22805cecd Clean up potion functions. Correct fault where it's possible to index a nil value. 2020-07-25 20:40:13 -04:00
Brandon
834ce1f611 Correct issue where awkward splash wouldn't brew 2020-07-25 15:27:04 -04:00
Brandon
e5f0370c17 Correct arrow naming convention 2020-07-25 15:26:42 -04:00
Brandon
e603a08f3c Correct potion color scheme 2020-07-25 15:26:22 -04:00