1
0
Fork 0
Commit Graph

137 Commits (b4e229dac2d5e6f4ed200f9dec152e3b91170f25)

Author SHA1 Message Date
AFCMS 8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
epCode eeb1f88e08 Fix invisibility to be more MC-like 2021-03-11 19:14:23 -08: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
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 91d174b437 Fix incorrect particle name in mcl_potions 2020-08-19 17:07:53 +02:00
Wuzzy b2ad6b79bd Fix night vision conflicting with weather skycolor 2020-08-19 10:39:44 +02:00
Wuzzy 2a7edbde49 mcl_potions: Move command to own file 2020-08-10 10:40:10 +02: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
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 ff476c29b6 Better lingering for lingering water bottle 2020-08-05 19:44:19 +02:00
Wuzzy 1f8488aba5 Make throwable water bottles useful 2020-08-05 19:00:08 +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 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
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 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 7c0996b03c Correct issue with drinking potion not resulting in an empty bottle 2020-06-17 17:44:03 -04:00
bzoss 724ff56bbf Fix a missed call to mcl_potions:invisible. 2020-06-16 08:13:10 -04:00
bzoss 7b4ded46f9 Rearrange the code structure. 2020-06-12 19:54:45 -04:00