Commit Graph

2207 Commits

Author SHA1 Message Date
bzoss 724ff56bbf Fix a missed call to mcl_potions:invisible. 2020-06-16 08:13:10 -04: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
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 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 505f853e54 Fix bucket not being able to pick up liquids 2020-06-06 16:16:39 +02:00
Wuzzy 28710bb819 Add label to observer ABM 2020-06-04 16:04:46 +02:00
Wuzzy a08152d8fb Localize some variables in mcl_core 2020-06-03 20:19:27 +02:00
Elias Åström 13b941fdbf Merge branch 'treecheck' 2020-06-02 20:13:30 +02:00
Wuzzy 02540a5193 Blaze powder is no fuel 2020-05-29 02:50:14 +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 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
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 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
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
Rocher Laurent 4957bd1118 Translate In French 2020-05-03 22:39:07 +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 3087621b11 Merge branch 'mcl_explosions' 2020-04-30 20:55:10 +02:00
Wuzzy eea07f0ce7 Fix incomplete dry grass replacement LBM 2020-04-27 14:05:09 +02:00
Wuzzy 0929ce4f20 Remove fire below air 2020-04-22 01:31:30 +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 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
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 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 24ab3e8f84 Fix LBM typos 2020-04-16 12:22:50 +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 88927c8a6b Remove furnace craftguide btn cuz MT weirdness 2020-04-08 17:23:12 +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 f27615d77e Add z_index to HUD elements 2020-04-07 13:03:10 +02:00
Wuzzy c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy 6ce3278dd4 Fix missing variable check in hcl_hoppers 2020-03-29 16:05:30 +02:00
Wuzzy da1c3f635c Revert "Add dummy inventory images for backwards-compat"
This reverts commit 73d93ae969.
2020-03-29 14:38:39 +02:00
Wuzzy e9f259881f Add LBMs to update to new node formspecs of 0.60.0 2020-03-29 14:35:01 +02:00
Wuzzy ed63374480 Add missing slot images for dispenser+dropper 2020-03-29 14:15:00 +02:00
Wuzzy 73d93ae969 Add dummy inventory images for backwards-compat
In 0.60.0, the inventory rendering of nodes was changed, so images were removed. This caused missing image errors with *existing* node formspecs, however, so empty dummy images are added back.
2020-03-29 14:05:59 +02:00
Wuzzy a98dafb171 Nodeblock: Change snare sound 2020-03-28 07:54:14 +01:00
Wuzzy baa02e19e1 Add many new sounds for noteblock 2020-03-28 07:20:16 +01:00
David McMackins II 882937a1ab Fix bug where adding items to a double chest with shift-click would not complete stacks in the right chest 2020-03-24 20:20:32 +01:00
Wuzzy b56ead7a23 Don't allow to set fire on fire 2020-03-24 19:53:08 +01:00
Wuzzy f5268ea598 Fix walls connecting to too many nodeboxes 2020-03-24 19:31:52 +01:00
Wuzzy d5111dfb66 Simplify workbench arrow img 2020-03-24 19:08:53 +01:00
Wuzzy 7243a25fe6 Generate item slot images on the fly 2020-03-24 18:48:14 +01:00
wuniversales 3772dd51cc Update Spanish translation 2020-03-15 08:32:00 +01:00
Wuzzy 73dc0a64b5 Update bed formspec 2020-03-14 21:38:59 +01:00
Wuzzy 5a03ce6dac Remove pointless content ID loading in mcl_hoppers 2020-03-14 07:17:46 +01:00
Wuzzy f0ba364120 Fix crash in mcl_maps 2020-03-12 06:45:23 +01:00
Wuzzy 28b2085492 Bump golden apple hunger points to 20 2020-03-12 02:35:02 +01:00
Wuzzy 6b529e1204 Colorize some item tooltips 2020-03-12 02:29:30 +01:00
Wuzzy 7ee2340f5c Show chat message if using minimap incorrectly 2020-03-12 01:57:14 +01:00
Wuzzy 312b5aeb73 Make carpets flammable 2020-03-12 01:45:24 +01:00
Wuzzy feba60cad8 Translate all extended tooltips to German 2020-03-12 01:35:11 +01:00
Wuzzy 03a5519d01 Partial German translation of tooltip extensions 2020-03-11 01:44:23 +01:00
Wuzzy 9ef313d0a1 Fix bas variable name in commandblock mod 2020-03-11 00:54:06 +01:00
Wuzzy 070e928bf0 Merge branch 'tt' 2020-03-10 18:21:32 +01:00
Wuzzy 81fd3fad40 Fix hopper inventory screen 2020-03-10 05:44:37 +01:00
Wuzzy 96b30b918c Tweak commandblock button position 2020-03-10 05:17:53 +01:00
Wuzzy 1ea2b09ecb Commandblock: Fix help btn not working if no priv 2020-03-10 05:15:32 +01:00
Wuzzy 03ad3cca29 Major default formspec style update
- Uses formspec_prepend to set e.g. button style
- Make all formspecs use the MCL2 style consistently
2020-03-10 05:01:49 +01:00
Wuzzy 4deb6eec20 Extra tooltips for mcl_chests 2020-03-08 08:50:21 +01:00
Wuzzy cbda2ef326 Add _tt_help to many more items 2020-03-08 03:30:40 +01:00
wuniversales f93d3a897e Update Spanish translation 2020-02-23 16:26:21 +01:00
Wuzzy e4fb7ae533 Add punch_attack_uses to weapons 2020-02-19 15:53:51 +01:00
Wuzzy ba74546d48 Add extended tooltips 2020-02-19 04:54:17 +01:00
Wuzzy 71cee9920a Heads: Add back armor def fields 2020-02-19 03:02:45 +01:00
Wuzzy 565806558c Play armor equip sound when armor got dispensed 2020-02-18 22:33:58 +01:00
Wuzzy 6426e55746 Add on_secondary_use for heads and pumpkin 2020-02-18 22:17:52 +01:00
Wuzzy d88fa0c438 Can equip/swap armor with rightclick 2020-02-18 22:05:08 +01:00
Wuzzy 5729d70814 Add secondary rotation for heads 2020-02-18 20:04:15 +01:00
Wuzzy bfc5670f09 Can place heads at walls 2020-02-18 19:51:10 +01:00
Wuzzy 012dd0b86a Add wallmounted heads 2020-02-18 19:33:14 +01:00
Wuzzy 7ba3616c77 mcl_heads: Clean up whitespace 2020-02-18 18:13:45 +01:00
Wuzzy 460e7c0c67 3 mob heads reduce mob detection range 2020-02-18 18:12:51 +01:00
Wuzzy 364a4152ac Change fallback armor (un)equip sounds 2020-02-18 16:36:22 +01:00
Wuzzy 89afec17b1 Armor stand: Remove legacy entity 2020-02-18 16:13:37 +01:00
Wuzzy a52976a918 Rename 3d_armor_stand to mcl_armor_stand 2020-02-18 16:10:50 +01:00
Wuzzy ab4e46f97b Move armor mods 2020-02-18 15:48:21 +01:00
Wuzzy fb251db925 Rename mod: 3d_armor → mcl_armor 2020-02-18 15:44:54 +01:00
Wuzzy edab0be8f5 Play armor (un-)equip sounds on armor stand 2020-02-18 14:51:15 +01:00
Wuzzy ef077fed72 Add armor equip/unequip sounds 2020-02-18 07:33:08 +01:00
Wuzzy 33acd2327f Remove unused and dead code in 3d_armor mod 2020-02-17 20:41:58 +01:00
Wuzzy e3b68c4364 Display armor points properly 2020-02-17 20:19:07 +01:00
Wuzzy 2e6610da42 Overhaul armor protection formula 2020-02-17 19:55:02 +01:00
Wuzzy 988ca6ffe7 Interpret many damage sources as punches 2020-02-17 18:37:23 +01:00
Wuzzy dcc14d1f3f Implement MC's armor durability 2020-02-17 18:19:36 +01:00
Wuzzy 023f70ee1c Remove more uses of 3d_armor_trans.png 2020-02-17 17:46:25 +01:00
Wuzzy 81ca7469d7 TNT explosions deal punch damage 2020-02-17 17:44:38 +01:00
Wuzzy 004013c3a4 Remove 3d_armor_trans.png 2020-02-17 17:31:39 +01:00
Wuzzy 113a49da41 Armor: remove "wear" value from registrations 2020-02-17 17:26:06 +01:00
Wuzzy 9499076ac8 Don't show message when armor got destroyed 2020-02-17 17:11:04 +01:00
Wuzzy 641921f4c7 Add tool stats in help 2020-02-17 16:19:17 +01:00
Wuzzy f4a06d6217 Remove TNT node after explode 2020-02-05 12:45:29 +01:00
Wuzzy bed0849bb0 Add setting: mcl_tnt_griefing 2020-02-05 03:11:32 +01:00
wuniversales 15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy 9dc9c12f29 Implement TNT minecart 2020-01-30 22:05:18 +01:00
Wuzzy 834c8cbc3a Disable jump in cobweb 2020-01-30 16:36:28 +01:00
Wuzzy c234b273ad Introduce snowball_vulnerable armor group 2020-01-30 16:14:13 +01:00
Wuzzy fff1949804 Make arrows only deal damage with free lineofsight 2020-01-20 19:48:08 +01:00
Wuzzy bc7b86b61a Fix incorrect liquid backface culling 2020-01-19 22:56:37 +01:00
Wuzzy 3dcd986863 Fix shulker box recolor craft erasing contents 2020-01-18 04:46:41 +01:00
Wuzzy e569885fab End portal frame: Bulk set nodes 2020-01-06 16:51:40 +01:00
Wuzzy 9b8d6c4cec Destroy end portal when surrounding bedrock goes 2020-01-06 16:49:22 +01:00
aldum 82f851e20d Add theoretical support for larger nether portals 2020-01-06 15:11:29 +01:00
Wuzzy f2b7392a30 Use "minetest" instead of "core" table 2020-01-06 13:02:30 +01:00
Wuzzy 8c0bea7dad Implement drops of sea pickles 2019-12-27 15:32:09 +01:00
Wuzzy b77307b7ac Add sea pickles 2019-12-27 15:24:59 +01:00
Wuzzy 5d8c068749 Translate mcl_ocean 2019-12-26 12:12:21 +01:00