Commit Graph

4969 Commits

Author SHA1 Message Date
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
Wuzzy c051a95dae Fix typo in mcl_brewing 2020-08-05 13:56:49 +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
MysticTempest 460d6e837a Fix farm mobs following players slowly, adjust animations to follow suit, increase pig view range slightly, and change the runaway animation from walk to run. 2020-08-03 08:37:58 -05:00
Brandon 4c05c2e70c Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-08-02 20:51:27 -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
kay27 125840c9e4 Fix bucket stacks Wuzzy/MineClone2#745 by removing leftovers of metadata usage 2020-08-02 19:46:09 +04:00
kay27 afc6a1bb0f Localize variable in mcl_beds 2020-08-02 05:05:02 +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
Brandon acea309564 Add poison effect for pufferfish, remove mcl_hunger control for pufferfish effect 2020-08-01 08:36:22 -04:00
Wuzzy 5345dc9eb1 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 into master 2020-08-01 03:22:03 +02:00
Wuzzy c63028801b Write potion help texts 2020-08-01 03:20:52 +02:00
Wuzzy fb3fade4eb Remove dead code in mcl_brewing 2020-08-01 02:15:48 +02:00
MysticTempest c63c92f597 Copy upstream's pathfinding out of water, then copy & rework the cliff check into a check for land mobs to avoid water. 2020-07-31 08:35:40 -05:00
Wuzzy eec9cd9012 Mark night vision arrows as WIP 2020-07-31 10:45:22 +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
kay27 64f9e39ebd slighty optimize the code 2020-07-31 09:58:28 +02:00
kay27 92385364e5 Fix beds #798 attempt 5 2020-07-31 09:58:28 +02:00
Wuzzy 50fa36aa2c Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-07-29 21:24:49 +02:00
Brandon 1563fc7b96 comment sections of mcl_hunger that "poison" player. This is handled in mcl_potions. 2020-07-28 17:13:54 -04: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
Elias Åström a8eca09822 Fix on_blast for chorus flower crashing 2020-07-27 19:44:55 +02:00
Elias Åström 91b6213e0b Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-07-27 19:28:46 +02:00
Elias Åström e85c00ea02 Show custom name in UI of Chest and Shulker Box 2020-07-27 19:26:01 +02:00
Wuzzy 0cc179acc6 Add warning about bed velocity 2020-07-27 07:49:54 +02:00
kay27 7d1f8ac314 Velocity check adjusted in mcl_beds 2020-07-27 07:49:54 +02:00
kay27 c78270e70b Bed occupation fix 2020-07-27 07:49:54 +02: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
Elias Åström 37c05cb840 Also save the name when a shulker is placed
Previously only the description was saved in the node meta.
2020-07-26 18:01:36 +02:00
Elias Åström 6095ae17b1 Merge remote-tracking branch 'dbeans/master' 2020-07-26 17:50:09 +02:00
Elias Åström 4827d2a83a Update anvil maximum name length to 35 2020-07-26 17:39:55 +02:00
Brandon 9ef57692ba A little more code cleanup 2020-07-26 07:48:40 -04:00
Lizzy Fleckenstein a31ed90a81 Proper model 2020-07-26 13:28:13 +02: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
Lizzy Fleckenstein 21c6815839 Added End Crystal 2020-07-25 13:32:35 +02:00
MysticTempest 56958ab0c9 Fix mobs getting stuck in water, fix mobs falling off cliffs, and lower spider speed so cliff_danger check is properly applied. 2020-07-24 21:15:40 -05: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
kay27 d76b1a9065 Russian translation: commandblock: advanced topics/usage 2020-07-24 19:10:58 +02:00
kay27 e19c00cd44 Russian translation: mcl_maps 2020-07-24 19:09:17 +02:00
dBeans f961a72c33 Make shulker boxes preserve name when placed 2020-07-24 12:44:21 +02:00
Wuzzy cd3e87bf57 Fix duplicate help entries for brewing stand 2020-07-23 23:23:03 +02:00
Wuzzy e3c22cb072 Move depends to mod.conf in mcl_brewing 2020-07-23 23:16:36 +02:00
Wuzzy fa76f81f92 Change mcl_brewing file permissions 2020-07-23 23:15:37 +02:00
Wuzzy 49d5e49999 Upgrade hudbars to 2.3.2 2020-07-23 23:06:10 +02:00
Wuzzy a430772c16 Fix incorrect string in mesecons_commandblock 2020-07-23 22:43:16 +02:00
Wuzzy ee52990db1 Remove empty Russian translation of mcl_maps 2020-07-23 22:36:25 +02:00
Wuzzy 7c93f3f9f7 Remove trailing spaces in Russian translation 2020-07-23 22:35:09 +02:00
Wuzzy ac518fa548 Merge branch 'master' of https://git.minetest.land/kay2777/MineClone2 into ru 2020-07-23 22:33:10 +02:00
Wuzzy a3d70e45d1 Fix incorrect dirt help 2020-07-23 22:29:16 +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 c4271cf13d Correct crash when no arrow is in the inventory and the bow is drawn. 2020-07-21 18:55:41 -04:00
Brandon 623f60ab79 correct elseif statement 2020-07-20 19:50:17 -04:00
Brandon 31f57a51e0 give bow a bit more power... 2020-07-20 19:49:10 -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 1eeb0511de Correct undeclared local obj in enderman line 318 2020-07-19 18:32:33 -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 1dda98fa4c Move variable declaration out of loops for better performance. Correct for dropping duplicate items on break. 2020-07-16 20:14:57 -04:00
Elias Åström ea1ad14f72 Fix sound/particle bug in mcl_explosions 2020-07-17 00:39:33 +02:00
Elias Åström ca9578d50c Make dried kelp craftable from dried kelp block 2020-07-17 00:17:18 +02:00
Wuzzy 90cc3b9659 Fix crash in mcl_mobs 2020-07-16 20:26:41 +02: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 555e122387 Merge branch 'bzoss_brew' 2020-07-11 08:06:08 -04:00
Wuzzy 0f1c369011 Fix broken French translation for mcl_mushrooms 2020-07-11 12:21:22 +02:00
Wuzzy 99f161ca80 Localize 2 endermen vars 2020-07-11 11:53:58 +02:00
Wuzzy d230543567 Fix incorrect peony/rosebush descriptions 2020-07-11 11:53:08 +02:00
Wuzzy 1ef4c63e03 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-07-11 11:44:48 +02:00
Wuzzy 5125f6d739 Merge branch 'rootyjr_enderman' 2020-07-11 11:32:50 +02:00
Wuzzy 7d91edf4e3 Merge branch 'rootyjr_enderman' of https://git.minetest.land/Wuzzy/MineClone2 into rootyjr_enderman 2020-07-11 11:31:23 +02:00
Brandon 4f6761948b Comment weakness/strength 2020-07-10 19:51:13 -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
Brandon 90b902a228 update formspec with translatable label 2020-07-10 18:29:41 -04:00
Elias Åström fe648a9287 Fix blast resistance value for polished andesite 2020-07-10 23:21:11 +02:00
Wuzzy 3c37d2874e Fix screwdriver duplication glitch 2020-07-10 19:23:06 +02:00
Wuzzy b7e4a1e9b5 Fix creative handling for itemframe 2020-07-10 18:07:21 +02:00
Wuzzy ec660d73c9 Teach endermen how to take mycelium 2020-07-10 18:03:46 +02:00
Wuzzy 255893707b Fix dispensers placing useless shulker boxes 2020-07-10 18:01:26 +02:00
Wuzzy 0a5294c0c8 Remove outdated creative mob check 2020-07-10 16:46:47 +02:00
Wuzzy c106a62979 Use minetest.is_creative_enabled 2020-07-10 16:45:40 +02:00
Wuzzy 47dd29c930 Sprint particle: Pick top node texture 2020-07-10 14:51:39 +02:00
Wuzzy 1bfd4ca490 Use node texture for sprint particles 2020-07-10 14:23:03 +02:00
Wuzzy 6ba537a096 Merge branch 'translated_creative_search' 2020-07-10 14:03:52 +02:00
Wuzzy ca7614b42d Mark night vision/weakness/strength potions as WIP 2020-07-10 13:15:08 +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 0f44086cd6 Update milk tooltip. 2020-07-05 18:18:49 -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 a34268f85d Remove fall damage from brewing stand 2020-07-05 17:30:49 -04:00
Brandon 28bf70b583 Merge branch 'bzoss_brew' of https://git.minetest.land/Wuzzy/MineClone2 into bzoss_brew 2020-07-05 08:26:52 -04:00
Brandon c91dc25052 Fixed throwing potions through portals 2020-07-05 08:16:11 -04:00
Wuzzy ea004b2904 Fix giant text appearing when using jukebox 2020-07-05 13:51:21 +02:00
Brandon f0e9727b85 Add all brewitems to creative inventory 2020-07-04 21:28:02 -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 eee75f8988 Reduce alpha on post color effect for lava to allow some viewing range - similar to MC 2020-06-30 18:56:27 -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 2a29ec7827 Add sprite effects during brew. 2020-06-27 11:27:57 -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 d632cf289c Add smooth FOV transition when sprinting 2020-06-23 18:17:30 -04:00
Brandon b75075a135 Correct ability to kill players with harm potions. 2020-06-23 17:57:11 -04:00
Brandon 6d774acb53 Merge branch 'bzoss_brew' of https://git.minetest.land/Wuzzy/MineClone2 into bzoss_brew 2020-06-22 20:52:26 -04:00
Brandon d55be9fa02 Fix on_destruct to actually drop items. 2020-06-22 15:56:43 -04:00
Brandon f969bef0ea Swap on_blast to on_destruct 2020-06-22 15:52:20 -04:00
Booglejr 5472b0403f Fix violent enderman when not in creative mode. 2020-06-21 18:17:59 -05:00
Brandon 2cf0ea664b Fix on_blast method to drop items. 2020-06-21 17:41:48 -04:00
kay27 80fcffcd38 Fix Enderman's teleport by getting less nodes to pass PseudoRandom:next 2020-06-21 13:10:10 -05:00
Brandon a233977b35 Fix stand not dropping when mined with pickaxe. 2020-06-21 08:57:44 -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 95e4934c80 Update brewing stand recipe - it can be built with cobble. 2020-06-20 17:26:42 -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 e882dfc3c5 Drop ghast tear and rabbit foot 2020-06-20 10:51:36 -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
Wuzzy 156a0c9cb0 Fix possible nil bug in wieldview mod 2020-06-19 19:17:01 +02: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 5db4adb58f fix readme - I don't want my e-mail plastered on the internet... 2020-06-17 22:29:34 -04:00
Brandon 69d93d362d Merge branch 'bzoss_brew' of https://git.minetest.land/Wuzzy/MineClone2 into bzoss_brew 2020-06-17 22:24:18 -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
Booglejr 7b9a79658d
Attempt to fix more crash errors. 2020-06-16 23:59:16 -05: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
Wuzzy d0678d33f8 Use dungeons flag in mg_dungeons for MCL2 dungeons 2020-06-16 02:33:51 +02:00
Wuzzy 2394809649 Respect player's choice of mg_flags 2020-06-16 01:46:07 +02:00
Wuzzy dded403409 Mapgen: Set biomes flag explicitly 2020-06-16 00:20:13 +02:00
Wuzzy 4524aee758 Fix controls mod crashing in 5.3.0-dev 2020-06-15 23:32:32 +02:00
bzoss 7766368f64 Change splash effect with distance. 2020-06-13 17:50:33 -04:00
Booglejr d19bedc6d2
I think this addresses the crash and also makes enderman more passive during the day. 2020-06-13 14:51:27 -05:00
Wuzzy 34645d290b Merge branch 'rootyjr_enderman' of https://git.minetest.land/Wuzzy/MineClone2 into rootyjr_enderman 2020-06-13 19:32:41 +02:00
kay27 528c19302f Russian translation: mcl_core, mcl_craftguide 2020-06-13 18:58:59 +02:00
bzoss 7b4ded46f9 Rearrange the code structure. 2020-06-12 19:54:45 -04:00
bzoss 2c322977a6 Add invisibility potion - includes splash and plus 2020-06-12 19:11:06 -04:00
Wuzzy 8ecc96fff2 Fix crash when spawning firey explosion 2020-06-12 12:30:45 +02:00
Booglejr a7b9107d31
Fix enderman griefing in protected areas. 2020-06-12 01:22:01 -05:00
bzoss b674e74387 Correct redstone alias and Add poison and regeneration potions - THESE DON'T CURRENTLY WORK 2020-06-09 20:09:32 -04:00
bzoss eea6f6aee9 Correct alias issue. 2020-06-09 19:05:51 -04:00
Wuzzy cb2a16e7a3 Update jukebox translation files after typo fix 2020-06-10 00:04:06 +02:00
Li0n 4af5b90030 Fix typo in music disc description 2020-06-10 00:01:09 +02:00
bzoss a5dc19cd7c Initial commit to correct branch... 2020-06-08 17:47:53 -04:00
Wuzzy 7ff7b64ad0 Fix air holes in desert temple 2020-06-08 17:18:19 +02:00
rootyjr 046bca1080
implemented ability to detect when seen / break eye contact and aggressive response / implemented teleport to avoid arrows. / implemented teleport to avoid rain. / implemented teleport to chase. / added enderman particles. / drew particles 1 through 5 / added rain damage. / fixed the grass_with_dirt issue. 2020-06-08 00:51:48 -05:00
Wuzzy e14fe15d26 Add is_ground_content=false to all liquids 2020-06-07 21:32:55 +02:00
Wuzzy 6a6e294c19 Fix blast not removing chorus plant 2020-06-07 21:31:52 +02:00
Elias Åström 455f490b4e Remove TNT node when it is ignited by an explosion
After 6f12adcb TNT nodes would not be removed when ignited by
explosions, this fixes that.
2020-06-07 20:44:17 +02:00
Wuzzy 6f12adcb03 Fix broken blast handling for chest/shulkerbox 2020-06-06 16:57:19 +02:00
Wuzzy 83055d18e2 Mark paintings as WIP 2020-06-06 16:22:07 +02:00
Wuzzy 505f853e54 Fix bucket not being able to pick up liquids 2020-06-06 16:16:39 +02:00
Wuzzy 2d6e0a99af Check more nodes for falling after explosion 2020-06-04 23:43:17 +02:00
Wuzzy 56d49e08b8 Delay before calling get_connected_players 2020-06-04 16:36:53 +02:00
Wuzzy 28710bb819 Add label to observer ABM 2020-06-04 16:04:46 +02:00
Wuzzy 546ee09e6f Check for falling after explosion 2020-06-04 14:17:04 +02:00
Wuzzy 2f9e5d302e Fix explosion API not calling on_[con|de]struct 2020-06-04 14:02:18 +02:00
Wuzzy a08152d8fb Localize some variables in mcl_core 2020-06-03 20:19:27 +02:00
Wuzzy 5dab09c874 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-06-03 19:57:42 +02:00
Wuzzy 15f2960e34 Remove legacy village schematic 2020-06-03 19:57:04 +02:00
Wuzzy a25f7652f6 New desert temple schematic 2020-06-03 19:30:29 +02:00
Elias Åström 13b941fdbf Merge branch 'treecheck' 2020-06-02 20:13:30 +02:00
Wuzzy 828473c205 Remove useless playerphysics file 2020-06-02 15:51:50 +02:00
Wuzzy f184c84241 Fix flowlib README header 2020-05-30 20:17:04 +02:00
Wuzzy 02540a5193 Blaze powder is no fuel 2020-05-29 02:50:14 +02:00
Wuzzy f6ccf1fe41 Mark brewing stuff as WIP 2020-05-29 02:49:39 +02:00
Wuzzy ffb67966bc Remove dead code in mcl_brewing 2020-05-29 02:28:44 +02:00
Wuzzy 014f15b643 Clean up mcl_brewing file formats 2020-05-29 02:27:55 +02:00
Wuzzy f759699d34 Merge https://git.minetest.land/bzoss/MineClone2_brewing_stand into bzoss_brew 2020-05-29 02:15:00 +02:00
bzoss bcdb37800d Shift to table lookup for brewing combinations. Fix issue with brewing only if all slots filled. 2020-05-27 21:15:46 -04:00
bzoss 861aedbfa3 Updated potion offering - moved alchemy matrix to mcl_potions 2020-05-27 18:36:10 -04:00
bzoss 2ad28f1fac Update with sounds, and turn on some potion items. 2020-05-26 21:16:52 -04:00
bzoss 36ce478361 Comment some broken bits. 2020-05-26 21:07:07 -04:00
bzoss c9ff19d02a Some small doc string updates. 2020-05-26 18:15:50 -04:00
bzoss cae4940e70 Updated a few simple potions. TODO: Stop fuel burn once the potion is complete. 2020-05-26 18:10:20 -04:00
bzoss b5b0020997 Laid the framework to brew potions...TODO make it actually swap for the potion. 2020-05-25 15:31:35 -04:00
bzoss 0df8bb94f9 Remove "active" stand node definition 2020-05-25 09:29:23 -04:00
bzoss 190eb32ac2 Update brew timer...will reset if any bottle is changed 2020-05-25 09:28:23 -04:00
bzoss 5c4cc99621 Fixed for burning only blaze powder. 2020-05-25 09:08:37 -04:00
bzoss 4eb1bf05d3 Updated Formspec background. Established initial brewing timer framework. 2020-05-23 16:39:55 -04:00
Elias Åström 2e79f1f0ed Check if there is room for tree to grow
Previously tree saplings would grow regardless of the blocks above it.
This could be abused to destroy bedrock and other nodes.

To solve this, checks are added for nodes around the trees.  The volume
checked depends on the tree type.  The volume for each tree has been set
so reject trees where branches would grow into other nodes.  Some nodes
types like torches, plants and wood are ignored in the checks.

Saplings in a 2x2 formation will grow into normal trees if there is no
room for a huge tree.  Oak trees has separate checks for balloon oak
trees and normal oak trees, if there is no room for a balloon oak, it
becomes a normal oak tree.
2020-05-23 19:37:02 +02:00
Wuzzy d2cacf285d Paintings: Tweak selectionboxes 2020-05-21 04:45:54 +02:00
Wuzzy 3bd160f414 Check protection when placing painting 2020-05-21 04:22:10 +02:00
Wuzzy f0d511bd4a Paintings: Move closer to wall 2020-05-21 02:16:12 +02:00
Wuzzy 95b3b4a172 Add empty smoke_puff.png 2020-05-21 01:54:55 +02:00
Wuzzy bfd2f0ebc7 Add paintings 2020-05-21 01:51:52 +02:00
Wuzzy d1d7c026e1 Buckets are no longer liquids_pointable 2020-05-20 21:59:37 +02:00
bzoss 228fc4b6ea Updated node to add bottles. TODO: Update node for bottle placement. 2020-05-19 17:31:07 -04:00
bzoss 572b43e93c Updated brewing stand node -- needs work. 2020-05-16 19:15:34 -04:00
bzoss 971e666d3e Initial commit to brewing formspec. 2020-05-16 18:22:09 -04:00
Wuzzy 7cfef25dfe Fix undeclared global in mcl_minecarts 2020-05-16 20:13:22 +02:00
Wuzzy 547080bd98 Add a delay before mobs start to suffocate 2020-05-13 22:15:46 +02:00
MysticTempest a20637f68c Fix redstone dust climbing up doors, and fix redstone dust not turning off when redstone torch is destroyed through the destruction of an attached block 2020-05-13 21:11:17 +02:00
Wuzzy 1a0e979b0c Update incomplete license information and credits 2020-05-11 17:18:04 +02:00
Wuzzy 26b5b45595 Fix crash when creeper explodes 2020-05-10 14:54:43 +02:00
Wuzzy c156398fb5 Merge branch 'translate-fr' of https://git.minetest.land/lrocher/MineClone2 into translate_fr 2020-05-09 18:57:40 +02:00
Wuzzy 728db50baf Fire doesn't destroy flammable=-1 nodes 2020-05-09 18:55:50 +02:00
Wuzzy 621946546b Ignite TNT by fire 2020-05-09 18:52:03 +02:00
Wuzzy ffcad31871 Update falling nodes when fire replaces a block 2020-05-09 17:53:32 +02:00
Wuzzy bfb1e3e447 Add age to of fire to greatly limit fire spread 2020-05-09 17:44:23 +02:00
Wuzzy d13498e6f9 Rain now also extinguishes neighbor tiles 2020-05-09 16:03:07 +02:00
Wuzzy 0c96e512d7 Remove bogus saddle recipe 2020-05-09 00:40:54 +02:00
Wuzzy 5108f398bb Fix all explosions spawning fire 2020-05-08 18:04:04 +02:00
Wuzzy 2ec66fc61b Fix leaking global in mcl_explosions 2020-05-08 18:01:33 +02:00
Wuzzy aeb7a6cb8b Disable guardian spawning 2020-05-08 17:44:27 +02:00
Wuzzy 131051b1df Fix code typo in mcl_playerplus 2020-05-08 17:41:09 +02:00
Alexander Minges ad70a71f8c Fix crash when triggering explosion (type check error) 2020-05-08 17:31:41 +02:00
Wuzzy fb55d33bfe Fix villager crash when trading w/o inited inv 2020-05-08 17:27:22 +02:00
Wuzzy 94c4256451 Fix crash when standing on unknown node 2020-05-08 17:23:39 +02:00
Rocher Laurent e058ee8487 Fix some template.txt 2020-05-05 21:02:48 +02:00
Rocher Laurent c9a37d0dbc Translate In French 2020-05-05 21:02:21 +02:00
Wuzzy 2b4a4f8c60 Merge branch 'master' of https://git.minetest.land/Wuzzy/MineClone2 2020-05-05 02:11:52 +02:00
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Alexander Minges beace10136 prevent water mobs to classify solid blocks below them as dangerous 2020-05-03 17:43:44 +02:00
Wuzzy 02b2ff7460 Fix mcl_weather crash 2020-05-02 19:08:55 +02:00
Wuzzy bc740efafe Add fire explosions 2020-05-02 19:05:56 +02:00
Wuzzy 00acbf8a2a Remove unused TNT functions 2020-05-02 18:51:59 +02:00
Wuzzy 56d484f69b Make mobs and bed use mcl_explosions 2020-05-02 18:50:25 +02:00
Wuzzy 6a576c50a0 Add puncher to tnt_explosions 2020-05-02 18:24:53 +02:00
Wuzzy d4bc7a2f88 Add back the explosion death msg 2020-05-02 18:09:25 +02:00
Wuzzy 7fa8828bd5 Explosions: Use minetest.get_position_from_hash 2020-04-30 21:13:10 +02:00
Wuzzy 026d406d4b Fix indents in mcl_explosions 2020-04-30 21:12:30 +02:00
Wuzzy 679e2b1b70 Explosions: Reduce repeated code 2020-04-30 21:08:42 +02:00
Wuzzy 772ea01aff Explosions: Fix syntax error 2020-04-30 21:00:13 +02:00
Wuzzy 2b5ddbd62d Explosions: Change item drop handler 2020-04-30 20:58:58 +02:00
Wuzzy 9ee0ef5a8d Explosions: Replace some API calls 2020-04-30 20:57:38 +02:00
Wuzzy 58458b2bca mcl_explosions: Rename description.txt 2020-04-30 20:55:49 +02:00
Wuzzy 3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Wuzzy ef20ac54c3 Fix crash when fueling furnace minecart 2020-04-30 18:13:05 +02:00
Wuzzy eea07f0ce7 Fix incomplete dry grass replacement LBM 2020-04-27 14:05:09 +02:00
Wuzzy 98988b1636 Fix creative search not take transl. into account 2020-04-25 14:31:01 +02:00
Wuzzy c81a18ac1a Refactor mcl_void_damage 2020-04-22 01:38:41 +02:00
Wuzzy 0929ce4f20 Remove fire below air 2020-04-22 01:31:30 +02:00
Elias Åström a10dff8421 Use walkable for entity exposure
This makes TNT do full damage under water.
2020-04-19 13:08:36 +02:00
Elias Åström a62a75c799 Do not drop items in creative mode
It works like this in Minecraft.  This will also reduce lag when playing
with TNT in creative.
2020-04-19 13:08:36 +02:00
Elias Åström 64c767ad8c Make TNT behave like Minecraft
TNT entities are now knocked back by explosions.  When a TNT block
becomes triggered by an explosion, its fuse time is set to a random
value between 0.5 and 1.5 seconds.
2020-04-19 13:08:36 +02:00
Elias Åström b4ea2afe77 Add tnt_knockback flag for entities
When set to true, entities will be knocked back when affected by TNT
explosions.  Also ignore '__builtin:item' entities to reduce lag, and
replace tabs with spaces in 'mcl_explosions/init.lua'.
2020-04-19 13:08:36 +02:00
Elias Åström cdea2eeabf Change mcl_mobs to enable knockback in y direction 2020-04-19 13:08:36 +02:00
Elias Åström 92ab90fd1b Add knockback for mobs 2020-04-19 13:08:36 +02:00
Elias Åström 6315490b14 Update the rest of the blast resistance values
The values have been updated according to this list:

https://minecraft.gamepedia.com/Module:Blast_resistance_values
2020-04-19 13:08:36 +02:00
Elias Åström fd05259202 Make TNT and TNT Minecart use the explosions API
The old api from mcl_tnt is still left in the code, and used by the
mobs.
2020-04-19 13:08:36 +02:00
Elias Åström ca7c8c23c7 Add entity damage and player knockback
Could not find a way to add knockback to entities.  After adding a
velocity to them they will just slide around indefinitely.  Because of
this, knockback is only enabled on players for now.
2020-04-19 13:08:36 +02:00
Elias Åström 77c95fe8c3 Add particles and sounds from explosions 2020-04-19 13:08:36 +02:00
Wuzzy e268370452 Add fire metadata to many nodes (unused for now) 2020-04-18 23:24:42 +02:00
Wuzzy 6a77a54034 Increase z_index values to match new convention 2020-04-17 21:27:45 +02:00
Elias Åström 1d5c11f683 Add mcl_explosions for ray traced explosions
Code has been adapted from the Minetest explosions API mod to have
Minecraft-like explosion mechanics and work with MineClone 2.
2020-04-17 20:47:12 +02:00
Elias Åström 063595ac3c Change blast resistance of nodes in mcl_core
The new blast resistance values are copied from the Minecraft wiki.

https://minecraft.gamepedia.com/Explosion
2020-04-17 20:47:12 +02:00
Wuzzy 3803dba233 Fix invalid portal node names in spawn code 2020-04-16 12:39:18 +02:00
Wuzzy 24ab3e8f84 Fix LBM typos 2020-04-16 12:22:50 +02:00
Wuzzy 1db34821a0 Mobs: Fix crash when mob dies to fall or light dmg 2020-04-12 23:11:18 +02:00
Wuzzy 081366855d Tweak appearance of snowflakes 2020-04-11 04:06:37 +02:00
Wuzzy ab56d592ae Add snow particles on snowball impact 2020-04-11 04:06:24 +02:00
Wuzzy a2785041dd Remove mod startup debug messages 2020-04-11 02:56:46 +02:00
Wuzzy 47cda09073 Implement per-class mob cap 2020-04-11 02:46:03 +02:00
Wuzzy 8e06e4e8b2 Reduce mob_specific mob caps 2020-04-11 01:35:44 +02:00
Wuzzy a33bd015f5 Reduce max_object_per_block default to 64 2020-04-11 01:14:14 +02:00
Wuzzy 0c271a2af9 Randomize initial moon phase 2020-04-08 22:07:05 +02:00
Wuzzy 32ae6b3140 Add moon phases 2020-04-08 21:32:37 +02:00
Wuzzy 88927c8a6b Remove furnace craftguide btn cuz MT weirdness 2020-04-08 17:23:12 +02:00
Wuzzy 5fe8717fca Fix another crash in Mobs mod 2020-04-08 15:03:03 +02:00
Wuzzy 3bd1cded03 Furnace: Fix output slot image being misplaced 2020-04-08 13:29:27 +02:00
Wuzzy d9cff3ef82 Make bark nodes usable as fuel 2020-04-08 13:15:22 +02:00
Wuzzy 20eba63b94 Fix bark stairs+slabs being not flammable 2020-04-08 13:08:33 +02:00
Wuzzy 8664a5c484 Make mobs vulnerable to TNT explosions 2020-04-08 12:41:52 +02:00
Wuzzy 71c9d20fff Use larger wield scale for tools 2020-04-08 04:07:16 +02:00
Wuzzy a1ea41e760 Lava: Don't ignite 2 blocks above if 1 layer above is blocked 2020-04-08 03:17:34 +02:00
Wuzzy 21d5b93baa Remove explicit stepheight from most mobs 2020-04-08 02:35:20 +02:00
Wuzzy 31b367eb83 Fix horse-related crash 2020-04-08 02:29:12 +02:00
Wuzzy f27615d77e Add z_index to HUD elements 2020-04-07 13:03:10 +02:00
Wuzzy 17f611567c Spawn rain and snow particles higher 2020-04-07 02:41:40 +02:00
Wuzzy c9cc3651df Fix bad sky color definitions 2020-04-07 01:51:53 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy b2c75acd68 Use new set_sky API 2020-04-07 00:39:19 +02:00
Wuzzy 28b1d5e8e9 Mobs: Add more nil checks 2020-04-05 21:09:27 +02:00
Wuzzy c9b464f329 Add findbiome mod 2020-04-03 12:51:01 +02:00
Wuzzy b2c8d7cff0 Update biomeinfo to 1.0.3 2020-04-03 12:50:48 +02:00
Wuzzy d8cb7a7164 Add achievement chat command 2020-03-30 21:11:45 +02:00
Wuzzy e81b5ef58a Another nil check in mcl_mobs 2020-03-30 16:52:36 +02:00
Wuzzy 600eadedea Add nil checks when mob is damaged 2020-03-29 23:24:04 +02:00
Wuzzy 6ce3278dd4 Fix missing variable check in hcl_hoppers 2020-03-29 16:05:30 +02:00
Wuzzy 97ab2e7b38 Update wieldview mod (wieldview_transform group) 2020-03-29 14:52:12 +02:00