Commit Graph

195 Commits

Author SHA1 Message Date
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
Brandon 1d5a04acb3 Update to reset player_physics on log out or death. Fix mobs die with potions. 2020-06-25 19:21:16 -04:00
Brandon fceffa6f1c Smooth out FOV changes, add specificity to potion effects to avoid overlap 2020-06-23 21:36:55 -04:00
Brandon b75075a135 Correct ability to kill players with harm potions. 2020-06-23 17:57:11 -04:00
Brandon 266713631a Correct sounds heard at distance and blast resistance for brewing stand. 2020-06-21 08:39:08 -04:00
Brandon 44536dd75d put some rudementary night vision together 2020-06-20 21:30:26 -04:00
Brandon 9836d631f9 Cleaning up old files and using a night-vision lite method. 2020-06-20 21:17:45 -04:00
Brandon 162faa7e60 Add fire resistance groundwork. 2020-06-20 21:00:57 -04:00
Brandon 7827e0019f Add check for player properties to ensure entity/player didn't die or leave. 2020-06-20 18:11:35 -04:00
Brandon 12d0c3019e Move timing functions out to globalstep 2020-06-20 15:50:58 -04:00
Brandon 3dbaac7549 Update invisibility potions and poisons to utilize globalstep. Seems smoother. 2020-06-20 13:30:35 -04:00
Brandon a8beeb9f9b Minor formatting. 2020-06-20 12:02:42 -04:00
Brandon ec2d700c95 Prevent compound regeneration 2020-06-20 10:16:00 -04:00
Brandon d929ca19a8 Add persistent particle spawner. 2020-06-20 09:00:53 -04:00
Brandon a5e3b259fa Keep poisons from killing the player and prevent compounding poison effects. 2020-06-19 20:22:32 -04:00
Brandon bd9fd780eb Add potion sprite effects when drinking 2020-06-18 21:04:31 -04:00
Brandon 70fd9db0c3 Fix crash with non-player objects when adding player_physics attributes to object. 2020-06-18 20:22:44 -04:00
Brandon 7dc36368b0 Add poison. Update times/potency. 2020-06-18 20:08:00 -04:00
Brandon 38a4e6ed89 Correct regeneration amount - 1/2 heart per cycle 2020-06-18 19:44:29 -04:00
Brandon 3ab5035312 Add regeneration 2020-06-18 18:14:51 -04:00
Brandon d9e78e8ad9 Add water breathing. 2020-06-18 17:59:36 -04:00
Brandon 58cde1c9e9 Correct super zombie. 2020-06-18 17:17:56 -04:00
Brandon 4b23c2a15c Update potions for mob effects. Healing harms zombies, harming heals zombies. 2020-06-18 16:56:19 -04:00
Brandon 9f5bce29cb Add more lingering options. Adjust lingering cloud size. 2020-06-18 12:27:09 -04:00
Brandon 64cd19218f Cleanup brewing stand code. Add lingering base structure add splash river water and water. 2020-06-18 07:43:50 -04:00
Brandon 56a8940510 Correct for splash invisibility. Add weakness + and splash potions. 2020-06-17 22:17:16 -04:00
Brandon 2c6f62354b pull potions out of init.lua to better organize 2020-06-17 17:50:18 -04:00
Brandon 7c0996b03c Correct issue with drinking potion not resulting in an empty bottle 2020-06-17 17:44:03 -04:00
Brandon 454a9c231e Correct issues with splash potions disappearing immediately when thrown. 2020-06-17 17:36:15 -04:00
Brandon b8256cd447 remove redundant code and add lingering potions -TODO: Add lingering effect 2020-06-17 17:05:44 -04:00
Brandon 021492994a Update the available perturbations of brewing. Include splash enhancement. 2020-06-17 16:49:52 -04:00
Brandon 9fe15c7e12 Add invisibility II brewing and correct inversion table (no such thing as slowness +). Add poison to harming inversion. Reduced splash stack max. 2020-06-16 22:29:35 -04:00
bzoss 54c1be724d Increase collision box to fix issues with splash potions not breaking at feet. 2020-06-16 08:25:42 -04:00
bzoss 724ff56bbf Fix a missed call to mcl_potions:invisible. 2020-06-16 08:13:10 -04:00