Commit Graph

328 Commits

Author SHA1 Message Date
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
Brandon bf38131520 Corrected poison and other damage functions 2020-07-24 19:39:23 -04:00
Brandon a53a98fff6 updated arrow color scheme. 2020-07-24 19:22:57 -04:00
Brandon 8c5943b34c Correct other issues in inverting swiftness. 2020-07-24 19:15:00 -04:00
Brandon ebfe9674e1 Correct issue with inverting swiftness to slowness. 2020-07-24 19:12:03 -04:00
Brandon c37e43df4e Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-07-24 19:05:14 -04:00
Brandon d228da1da7 allow stackable dragon breath 2020-07-24 19:02:54 -04:00
Wuzzy ac518fa548 Merge branch 'master' of https://git.minetest.land/kay2777/MineClone2 into ru 2020-07-23 22:33:10 +02:00
Brandon dc3a991705 Correct crash from on_use = nil 2020-07-22 17:57:02 -04:00
Brandon 8ac54febba Adjust dragon's breath color and don't splash it 2020-07-22 17:52:47 -04:00
Brandon f2906bee3a Add really cool header text 2020-07-22 17:46:49 -04:00
Brandon 927ba10c34 Update dragon breath image. 2020-07-22 17:46:34 -04:00
Brandon b45b4a44e5 Add brewable dragons breath with chorus flower 2020-07-22 17:42:10 -04:00
Brandon 623f60ab79 correct elseif statement 2020-07-20 19:50:17 -04:00
Brandon 843f2d2a80 Correct issue where player/entities dies before effect is given 2020-07-20 19:48:58 -04:00
Brandon 43c4b355ce Fix issue with objects/players dying before the effect runs, which won't be applied... 2020-07-20 19:07:10 -04:00
Brandon bb5aa33bad Remove splash potion arrow recipe 2020-07-20 18:36:37 -04:00
kay27 0b05431285 Merge remote-tracking branch 'upstream/master' 2020-07-20 19:44:06 +00:00
Brandon 26315d44cf Add the ability to give use lingering potions to tip arrows.
Corrected issue with bow not finding potion arrows in inventory.
2020-07-19 21:08:50 -04:00
kay27 ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Brandon 0f5b6b7ce0 Initial commit to potion tipped arrows. 2020-07-19 18:56:18 -04:00
Brandon fa86a09fd5 Add splash/lingering water 2020-07-17 17:25:49 -04:00
Brandon 2b4b37a439 Update longdesc for mundane and thick potions 2020-07-17 17:09:51 -04:00
Brandon 787769cb92 Fix brewing thick potions and splash water potions 2020-07-17 17:05:40 -04:00
Brandon 5e77c90bb7 adjust tooltip generation - use even numbers of 5 2020-07-16 21:02:21 -04:00
Brandon 850edb564d Scale down leaping potion effect, cleanup tooltip generation. 2020-07-16 20:56:00 -04:00
Brandon 64a2a6bb53 Move variable declaration out of loops to increase performance. 2020-07-16 20:20:13 -04:00
Brandon b9ba1300f9 Correct missing declaration of local param 2020-07-12 21:15:54 -04:00
Brandon ad5759a5ad Update method for harming by heal to mob attributes 2020-07-12 16:56:41 -04:00
Brandon 10f2dcb53a Correct splash potions with no executable function 2020-07-12 12:32:54 -04:00
Brandon 4a654fccc4 Correct potions hitting thrower. 2020-07-12 12:16:26 -04:00
Brandon 9602e0d8af add "use" to useage help 2020-07-12 11:58:34 -04:00
Brandon d6e72a9c98 add "use" to translations 2020-07-12 11:58:06 -04:00
Brandon 982c976a83 Reduce player particles on effect 2020-07-12 09:44:45 -04:00
Brandon fae5c8284e Add speckled melon to the craft guide. 2020-07-12 08:58:22 -04:00
Brandon 25d092a95e Update potions to not hit player feet when thrown. 2020-07-12 08:50:48 -04:00
Brandon 323223e5a1 Correct missing "use" 2020-07-12 08:28:18 -04:00
Brandon 51c311a258 Update definition for healing/harming potions 2020-07-12 08:20:56 -04:00
Brandon a6dac52797 Move Lingering potion generation into single call 2020-07-12 07:59:29 -04:00
Brandon e3becf443e Correct Splash registration of "+" variant 2020-07-12 07:35:11 -04:00
Brandon 8f079d11be Move Splash potion generation into single call 2020-07-12 07:18:54 -04:00
Brandon 922a42756e update function definitions without effect to nil 2020-07-11 20:34:19 -04:00
Brandon 926d842cdb reduce redundant code in potion definitions 2020-07-11 20:26:45 -04:00
Brandon 7670c9ba5c Update some tooltips 2020-07-11 14:27:37 -04:00
Brandon d7f204def6 tabs 2020-07-11 14:19:38 -04:00
Brandon 5981c0756b work on chaning how potions are created 2020-07-11 13:40:48 -04:00
Brandon 64046d2c5f update for dispenser compatibility 2020-07-11 09:07:27 -04:00
Brandon 0422a6410e Comment strength/weakness 2020-07-10 19:26:30 -04:00
Brandon ac13dd2a71 Comment weakness/strength potions 2020-07-10 19:25:34 -04:00
Brandon d1b7184e7d Comment weakness/strength 2020-07-10 19:22:11 -04:00
Brandon 1fda285102 Fix reset for night vision on drink milk 2020-07-10 19:16:23 -04:00
Brandon 16c886f0ec Update Night Vision to allow full day brightness - only active at night. 2020-07-10 19:10:38 -04:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy 83d3aa2108 Fix color of throwable river water bottles 2020-07-10 13:03:07 +02:00
Wuzzy f904142ca5 Mark potion names for translation 2020-07-10 13:01:21 +02:00
Wuzzy 374ab1194d Tweak potion tooltips 2020-07-10 12:50:08 +02:00
Brandon 939f8a859f Add lingering night vision 2020-07-09 21:17:20 -04:00
Brandon abb5941616 Update drowning logic for lava and fireproof (still commented out) 2020-07-08 17:31:08 -04:00
Brandon 3a3caf3885 Remove old/incorrect code. 2020-07-07 17:56:44 -04:00
Brandon 596d4ddc47 Correct poison effect duration 2020-07-06 20:52:24 -04:00
Brandon a88c5b65de update list of zombie mobs 2020-07-06 20:36:05 -04:00
Brandon 78768c3dab Correct splash harming, remove double damage to entity, and add harming to armor bypass 2020-07-06 20:23:59 -04:00
Brandon cf8f6956f7 Merge branch 'bzoss_brew' of https://git.minetest.land/Wuzzy/MineClone2 into bzoss_brew 2020-07-06 19:00:21 -04:00
Brandon 5baa1b0275 Allow damage to armor players with poison 2020-07-06 18:57:00 -04:00
Brandon 3be2ff1977 Update to allow poison damage with armor. 2020-07-06 18:41:09 -04:00
Brandon 16d9ee47b6 Fix fire resistance times for lingering potions. 2020-07-05 18:23:17 -04:00
Brandon 408735ba06 Update tooltip for splash potions 2020-07-05 18:15:52 -04:00
Brandon 476e7f538e Update Lingering Tooltip 2020-07-05 18:04:16 -04:00
Brandon b3e67d61b6 Update Lingering bottle image. 2020-07-05 17:36:18 -04:00
Brandon c91dc25052 Fixed throwing potions through portals 2020-07-05 08:16:11 -04:00
Brandon 6cefec8cbf Fix allow drowning for lava... 2020-07-03 20:38:35 -04:00
Brandon 31aa880e85 fix local declaration 2020-07-03 20:31:53 -04:00
Brandon 860317168b Remove reduntant empty bottle images 2020-07-03 18:33:24 -04:00
Brandon d131cbadef Allow drowning in lava.... 2020-07-03 18:12:02 -04:00
Brandon b2d634acb8 Correct drowning damage 2020-07-02 18:05:46 -04:00
Brandon b4c658904b Fix drowning damage 2020-07-02 18:04:39 -04:00
Brandon 5db80b3ec5 Allow drowning damage when drowning in lava. 2020-07-02 17:52:09 -04:00
Brandon e1b428dbd1 Add fire resistance + recipe. 2020-06-30 20:56:47 -04:00
Brandon d3c9006e6e Correct splash potions to hit players 2020-06-30 20:54:07 -04:00
Brandon 9301e03b52 Update fire resistance to allow damage if "drowning" in lava 2020-06-30 20:05:08 -04:00
Brandon b188fb4e95 Fixed minetest.env:add_entity ==> remove .env 2020-06-30 18:43:05 -04:00
Brandon 0ed66727be Add nether fire nodes to fire resistance 2020-06-30 18:40:04 -04:00
Brandon c14b5a974b Correct splash call 2020-06-29 17:58:48 -04:00
Brandon 05d28af9e1 Add fire resistance splash/lingering potions 2020-06-29 17:57:53 -04:00
Brandon 04a96e42ed Correct capitalize "L" in lingering 2020-06-28 20:32:32 -04:00
Brandon 2c1b4e518c Add strength potions 2020-06-28 20:31:08 -04:00
Brandon decf0ec624 Correct magma blocks not having fire protection. Make player not invisible when milk is drank. 2020-06-28 18:47:04 -04:00
Brandon 34867bb481 Groundwork for weakness. 2020-06-28 18:28:23 -04:00
Brandon 34631dd32e Get fire resistance working. 2020-06-28 16:45:49 -04:00
Brandon 46dca32ce9 Add potion effect subtext. 2020-06-28 12:44:43 -04:00
Brandon 1d471c52df Remove potion effects by drinking milk. 2020-06-28 12:16:07 -04:00
Brandon 44ee9cde86 Add potions/brewing to creative inventory 2020-06-28 09:38:06 -04:00
Brandon abd1b682cb more sprites! 2020-06-27 19:00:58 -04:00
Brandon 79e7f6849f Fix lingering potion timer. 2020-06-27 18:50:08 -04:00
Brandon f2e9b501b8 small correction to initial lingering cloud 2020-06-27 09:07:56 -04:00
Brandon 78fe436c91 Correct potion durations 2020-06-27 08:24:32 -04:00
Brandon 0337d0f911 Another replace all mistake 2020-06-27 08:17:26 -04:00
Brandon c1321ce575 Fix wierd copy/paste 2020-06-27 08:15:53 -04:00
Brandon 0369d931a3 Correct Splash effect times 2020-06-27 08:15:01 -04:00
Brandon e50aa40bea Add slowness IV 2020-06-27 07:57:51 -04:00
Brandon d1c2ce1bb6 Correct Lingering effect durations. 2020-06-27 07:56:27 -04:00
Brandon 5d5c96455d re-fix... 2020-06-26 21:31:23 -04:00
Brandon bd9b15466b Correct splash issue with mob-detection 2020-06-26 21:30:35 -04:00
Brandon 4f259dec71 Adjust lingering affect (1 per second) 2020-06-26 21:27:17 -04:00
Brandon 487909e8eb Generate lingering functions. 2020-06-26 20:32:03 -04:00
Brandon 8a08d27ee5 Fix potions to hit mobs. 2020-06-26 19:08:41 -04:00
Brandon 4a35ad3fd1 Correct issue where all items are replaced with drinking potions in creative 2020-06-26 16:55:22 -04:00