1
0
Fork 0
Commit Graph

68 Commits

Author SHA1 Message Date
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 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 bf38131520 Corrected poison and other damage functions 2020-07-24 19:39:23 -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 64a2a6bb53 Move variable declaration out of loops to increase performance. 2020-07-16 20:20:13 -04:00
Brandon ad5759a5ad Update method for harming by heal to mob attributes 2020-07-12 16:56:41 -04:00
Brandon 4a654fccc4 Correct potions hitting thrower. 2020-07-12 12:16:26 -04:00
Brandon 982c976a83 Reduce player particles on effect 2020-07-12 09:44:45 -04:00
Brandon 926d842cdb reduce redundant code in potion definitions 2020-07-11 20:26:45 -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
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 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 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 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 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 0ed66727be Add nether fire nodes to fire resistance 2020-06-30 18:40:04 -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 34631dd32e Get fire resistance working. 2020-06-28 16:45:49 -04:00
Brandon 1d471c52df Remove potion effects by drinking milk. 2020-06-28 12:16:07 -04:00
Brandon 4f259dec71 Adjust lingering affect (1 per second) 2020-06-26 21:27:17 -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