Commit Graph

4461 Commits

Author SHA1 Message Date
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
Brandon 2cf0ea664b Fix on_blast method to drop items. 2020-06-21 17:41:48 -04: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
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
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
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
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