Commit Graph

1727 Commits

Author SHA1 Message Date
Wuzzy 7f24912a35 Increase arrow hit range from 2 to 3 2018-05-12 19:52:40 +02:00
Wuzzy 8fd2097526 Itemframes: Show item name as info text 2018-05-12 19:21:41 +02:00
Wuzzy 1a786bc64f Itemframes: Refactor entity 2018-05-12 19:13:15 +02:00
Wuzzy 35b1f72559 Add minimal itemframe LBM for compatability 2018-05-12 18:50:44 +02:00
Wuzzy d8ff91e089 Rename itemframes mod to mcl_itemframes 2018-05-12 18:18:17 +02:00
Wuzzy 0ec411b868 Fix arrows getting stuck in impossible ways 2018-05-12 15:10:34 +02:00
Wuzzy c7949bf703 Arrows: Fix reverse flying arrows after long fly 2018-05-12 07:00:16 +02:00
Wuzzy fab5d17a5d Remove help button from furnace formspec 2018-05-09 19:58:22 +02:00
Wuzzy 294be0f302 Players must be closer to grab arrows 2018-05-09 18:19:42 +02:00
Wuzzy 7ca61b7185 Fix button pushed by arrows from wrong direction 2018-05-09 18:04:34 +02:00
Wuzzy 1823aba35a Merge branch 'stuck_arrow' 2018-05-09 17:39:22 +02:00
Wuzzy 1bef0775ce Implement stuck arrow timeout properly 2018-05-09 17:31:04 +02:00
Wuzzy f6c5117bf7 Update arrow help 2018-05-09 17:04:13 +02:00
Wuzzy e783ab17dc Force stuck arrows to be rechecked after punch 2018-05-09 16:49:37 +02:00
Wuzzy b61576e529 Tweak arrow collisionbox 2018-05-09 16:37:13 +02:00
Wuzzy 50eaaa15fa Rework arrow box appearance 2018-05-09 16:29:57 +02:00
Wuzzy 763d9458bf Fix arrows not getting stuck when flying up 2018-05-09 15:17:19 +02:00
Wuzzy af8515b6e4 Stuck arrows: Deflection, check stuck state, yaw 2018-05-09 15:10:56 +02:00
Wuzzy 0d60b5218a Destroy arrow if inside solid node 2018-05-09 02:00:34 +02:00
Wuzzy 76356ed1e5 Merge branch 'stuck_arrow' of http://repo.or.cz/MineClone/MineClone2 into stuck_arrow 2018-05-09 00:06:29 +02:00
Wuzzy 19dd11dfb8 Fix mesecons crash caused by arrow 2018-05-08 18:30:57 +02:00
Wuzzy c43b8baff4 Refactor arrow→button hit 2018-05-08 18:22:08 +02:00
Wuzzy f392e23719 Implement staticdata for arrow entities 2018-05-08 17:16:11 +02:00
Wuzzy fff3eb1ee7 Rename mcl_autogroup to _mcl_autogroup
This should fix some autogroup-related issues due to loading order.
2018-05-08 16:43:25 +02:00
Wuzzy 4339c80fd8 Make arrows stick in solid nodes propery, trigger wooden buttons 2018-05-08 14:35:15 +02:00
Wuzzy af0025debc Wooden buttons stay pushed by arrow 2018-05-08 13:46:39 +02:00
Wuzzy 467018128a Merge branch 'master' into stuck_arrow 2018-05-08 13:08:04 +02:00
Wuzzy 83829ec358 Hide a couple of very incomplete items in Creative 2018-05-08 01:40:31 +02:00
Wuzzy 64f7e0a076 Fix active buttons staying on after restart 2018-05-08 00:48:07 +02:00
Wuzzy 47d067d9ec Make arrow stuck when they hit solid node (WIP) 2018-05-08 00:38:00 +02:00
Wuzzy fb8c5300cd Slow down arrows in liquids
This is a rought first implementation, very basic.
2018-05-08 00:10:20 +02:00
Wuzzy 32f612469f Re-colorize bow entity textures 2018-05-07 23:30:20 +02:00
Wuzzy 39e34b8f4e Fix charged bows being placable in itemframes 2018-05-07 23:22:54 +02:00
Wuzzy 4be5f89829 Move bow/arrow logic into new mod mcl_bows 2018-05-07 23:10:49 +02:00
Wuzzy e55a1a6211 Play sound when hitting other player with arrow 2018-05-07 22:23:15 +02:00
Wuzzy 254a12b8af Use sneak speed when using bow 2018-05-07 20:37:45 +02:00
Wuzzy fc9b57950f Slow player down when using bow 2018-05-07 20:31:40 +02:00
Wuzzy 2c4eae353c Use mcl_playerphysics to handle player physics
This fixes some issues with speed overrides and gets rid of ugly workarounds.
2018-05-07 20:10:53 +02:00
Wuzzy 7a208e3cd8 Drop charging bows as uncharged bow 2018-05-07 17:59:53 +02:00
Wuzzy adc86232ee Also reset charging bows after shoot 2018-05-07 17:46:52 +02:00
Wuzzy 9a5f4e41cb Bow: Fix broken bow charging when switching bows during charge 2018-05-07 17:43:39 +02:00
Wuzzy b19b1f5a2d Rewrite bow/arrow help texts 2018-05-07 17:06:00 +02:00
Wuzzy db755036c3 Just some sanity checks for bow charging 2018-05-07 16:45:12 +02:00
Wuzzy 88ef857fb4 Increase arrow damage smooth dmg/speed increase
Currently using linear increase.
2018-05-07 16:25:46 +02:00
Wuzzy 90363edd59 Charge bow faster and with higher time precision 2018-05-07 15:53:16 +02:00
Wuzzy 72d4940bf2 Remove unused code in mcl_throwing 2018-05-07 15:39:08 +02:00
Wuzzy 3f5079d2b9 Update mcl_throwing license 2018-05-07 15:34:16 +02:00
Wuzzy 33bdad095b Refactor bow code in mcl_throwing 2018-05-07 15:29:17 +02:00
Wuzzy b477d35cdc Implement smooth bow charging, based on [bows]
[bows] mod by Arcelmi:

https://github.com/Arcelmi/minetest-bows
2018-05-07 15:25:41 +02:00
Wuzzy 7821a69226 Make saplings break when pushed by piston 2018-03-13 02:47:54 +01:00
Bu-Gee d2f01c68f5 Pistons: When pushing a dropper node, dig it
Instead of calling handle_node_drops, etc.
2018-03-13 02:46:21 +01:00
Wuzzy e19271398d Make pumpkins and melons opaque again 2018-03-13 02:38:57 +01:00
Yukitty d73651424c Updated TNT fuse particles.
Fixed quirky integer math.random which was clearly intended to be floating point.
2018-03-12 00:05:43 +01:00
Wuzzy 34333c6b54 Add prismarine and prismarine brick stairs/slabs 2018-02-18 00:50:09 +01:00
Wuzzy 30be3e742f Damage anvil after falling 2018-02-05 19:58:31 +01:00
Wuzzy c71bd9588d Generalize anvil damage 2018-02-05 19:03:56 +01:00
Wuzzy 584ef08266 Fix anvil repair sometimes destroying items 2018-02-05 18:35:12 +01:00
Wuzzy d713cd193c Move falling anvil handling to other mod 2018-02-05 17:18:28 +01:00
Wuzzy eef6c44e4a Anvils: Allow to use up to 4 materials at once 2018-02-05 16:09:29 +01:00
Wuzzy 2f88529d41 Don't allow anvil repair if already at max health 2018-02-04 07:36:47 +01:00
Wuzzy 4608a2f98d Generalize some anvil attributes in help 2018-02-04 07:00:26 +01:00
Wuzzy 197afa664b Use color for named items 2018-02-04 06:39:10 +01:00
Wuzzy 8ff92fcb7f Fix anvil not updating after removing input slot 2018-02-04 06:13:12 +01:00
Wuzzy 9ca97d6f4a Fix naming of banner copies 2018-02-04 06:11:08 +01:00
Wuzzy 2c0eee27fc Fix restore of banner desc after anvil rename 2018-02-04 05:52:10 +01:00
Wuzzy a7f0d8c82c Fix wrong banner name when patterncrafting 2018-02-04 05:08:02 +01:00
Wuzzy d594b7b62f Fix anvil may destroy items when taking output 2018-02-03 05:50:59 +01:00
Wuzzy 256dd1e26a Fix some anvil renaming issues 2018-02-03 05:42:19 +01:00
Wuzzy fda5ed9e1c Allow to confirm anvil name with enter key 2018-02-03 05:34:20 +01:00
Wuzzy 64ddd07066 Increase effectiveness of tool+tool repair on anvil 2018-02-03 05:16:51 +01:00
Wuzzy ef471a67fa Anvils: Don't allow rename if name is unchanged 2018-02-03 03:53:31 +01:00
Wuzzy 0b80b60cf1 Fix damaging anvil too aggressively 2018-02-03 03:43:28 +01:00
Wuzzy 9277bf4552 Remove duplicate code in mcl_anvil 2018-02-03 03:34:32 +01:00
Wuzzy ef7781e12e Add help for anvil 2018-02-03 03:33:48 +01:00
Wuzzy 41cebe13bf Chance to damage anvil with each step 2018-02-03 02:40:49 +01:00
Wuzzy 32ed701f0a Drop anvil item on dig 2018-02-03 01:43:07 +01:00
Wuzzy e42c5641b2 Anvils: Fix destruction of whole material stack 2018-02-03 01:03:36 +01:00
Wuzzy eb1711c2e7 Implement tool+material repair at anvil 2018-02-03 00:55:52 +01:00
Wuzzy dbd1fb46f9 Allow simple tool+tool repairs with anvil 2018-02-03 00:17:29 +01:00
Wuzzy 449fc046dd Tweak anvil middle 2018-02-02 17:22:39 +01:00
Wuzzy f1057c0542 Enforce anvil name length more strictly 2018-02-02 05:42:35 +01:00
Wuzzy 7c1e625451 Allow to clear name with anvil 2018-02-02 05:40:22 +01:00
Wuzzy 86b7f537d5 Copying banners now clears name 2018-02-02 05:29:35 +01:00
Wuzzy 40163aed91 Forbid renaming of written books 2018-02-02 05:13:26 +01:00
Wuzzy 06c9b2c3f6 Handle item naming of banners 2018-02-02 05:07:58 +01:00
Wuzzy 87ef954409 Double save anvil-given name 2018-02-02 04:19:40 +01:00
Wuzzy a7190a3693 Implement renaming with anvils 2018-02-02 04:14:11 +01:00
Wuzzy e754eec3f7 Fix some global issues with rs repeater code 2018-02-02 03:46:27 +01:00
Wuzzy 043165ced2 Implement anvil inventory slot restrictions 2018-02-02 02:56:34 +01:00
Wuzzy e97fe05acc Specify the repair material of tools and armor 2018-02-02 02:33:10 +01:00
Wuzzy 40f468f18f Add non-functional anvil formspec 2018-02-02 02:07:09 +01:00
Wuzzy 4207f88266 Add dispenser API docs 2018-02-01 23:00:50 +01:00
Wuzzy fa10dc93ae Add _on_dispense callback for dispenser; refactor 2018-02-01 22:49:41 +01:00
Wuzzy 3e7ad08db0 Set is_ground_content=false for some nodes 2018-01-31 19:36:27 +01:00
Wuzzy a84a0a0db6 Change anvil nodebox 2018-01-31 19:23:37 +01:00
Wuzzy b7b6f356fa Redstone: Add basic blastnode handling 2018-01-30 06:01:36 +01:00
Wuzzy d750e7f6d4 No longer hide observers 2018-01-30 05:56:30 +01:00
Wuzzy 7196485294 Remove sunlight propagation for various nodes 2018-01-28 20:21:02 +01:00
Wuzzy 31f545202a Declare chests to be transparent to sunlight 2018-01-28 19:30:52 +01:00
Wuzzy 093e9b0b08 Declare observers not opaque 2018-01-28 19:25:05 +01:00
Wuzzy 32f60c4fee Add README/credits for the lever mod 2018-01-27 19:48:44 +01:00
Wuzzy 50a1bb5ea5 Repeaters: Fix output if placed in lock + on state 2018-01-27 17:04:00 +01:00
Wuzzy 01bd264b2b Repeater: Fix sometimes bad lock on place 2018-01-27 16:44:30 +01:00
Wuzzy 2788cad59c Minor repeater refactor 2018-01-27 16:25:38 +01:00
Wuzzy 3229f2a902 Move the lock bar of repeaters 2018-01-27 16:22:59 +01:00
Wuzzy e1606eeb0c Repeaters: Use set_node instead of swap_node 2018-01-27 16:10:29 +01:00
Wuzzy a2ab52c705 Repeaters: Remember delay when locked 2018-01-27 16:07:59 +01:00
Wuzzy 42f5426fe9 Update repeater help (locking feature) 2018-01-27 15:41:01 +01:00
Wuzzy 781caa1187 Repeaters: Do not unlock if locked from other side 2018-01-27 15:00:58 +01:00
Wuzzy 719e5193d8 Restrict is_powered call in mesecons_delayer 2018-01-27 14:34:50 +01:00
Wuzzy 878743cee5 Repeaters: Set correct lock state on placement 2018-01-27 14:32:21 +01:00
Wuzzy b3d069b53a Update repeater lock after dig 2018-01-27 06:01:49 +01:00
Wuzzy db94d1c601 Locked repeaters: Update receptor after unlock 2018-01-27 05:43:05 +01:00
Wuzzy a8c2b37175 Fix some bad repeater textures 2018-01-27 05:23:40 +01:00
Wuzzy 6b1354cd3b Lock and unlock repeaters (WIP) 2018-01-27 05:17:22 +01:00
Wuzzy bc1f3cd651 Add locked repeaters (nodes only) 2018-01-27 04:36:17 +01:00
Wuzzy 8950455026 Fix crash when dispensing spawn egg 2018-01-27 03:55:59 +01:00
Wuzzy 1924940935 Update chest / trapped chest / ender chest help 2018-01-27 00:58:53 +01:00
Wuzzy 5e397d8611 Fix wrong redstone rules of trapped chest 2018-01-27 00:50:04 +01:00
Wuzzy a16746faf3 Simplify storage of players having an open chest 2018-01-27 00:44:07 +01:00
Wuzzy 2400ca5be0 Partially fix bad player counting of trapped chest 2018-01-26 23:44:03 +01:00
Wuzzy b1fcbbf68f New texture for trapped chest 2018-01-26 23:13:44 +01:00
Wuzzy 16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy a40dec6da9 Add missing sounds for active repeater 2018-01-26 22:05:47 +01:00
Wuzzy dc13cf04dd Fix repeater stopping after rejoining world 2018-01-26 22:01:37 +01:00
Wuzzy 930ecf9be1 Fix rs not turnoff if rtorch is hor. behind opaque 2018-01-26 21:53:27 +01:00
Wuzzy e8ebc537f0 Fix door closing if dig opaque block next to it 2018-01-26 21:11:49 +01:00
Wuzzy 03b6c17f51 Fix door closing if only 1 segment loses power 2018-01-26 19:54:48 +01:00
Wuzzy c2d0414255 Fix crash when obj tele's Nether→Overworld @ rain 2018-01-26 19:37:00 +01:00
Wuzzy dd4008ea73 Add totem of undying into combat category 2018-01-25 22:01:19 +01:00
Wuzzy ed5c2c2019 Tweak initial speed of TNT entitiy 2018-01-25 16:23:54 +01:00
Wuzzy 9a8e47bb02 Fix some bonus stairs being not properly diggable 2018-01-25 09:04:34 +01:00
Wuzzy c9812c5acf Minor vines help change 2018-01-23 06:42:46 +01:00
Wuzzy 647524f503 Rework the overly weird vine growth algorithm 2018-01-23 06:40:07 +01:00
Wuzzy 0405b2aa2c Fix some Lua warnings 2018-01-23 05:19:05 +01:00
Wuzzy 101285d04d Fix chorus fruit not working with damage on 2018-01-23 04:24:05 +01:00
Wuzzy 232dbca783 Add sound for chorus fruit teleport 2018-01-23 04:18:19 +01:00
Wuzzy 064858ff59 “Still <Liquid>” → “<Liquid> Source” 2018-01-23 04:12:44 +01:00
Wuzzy d36ec8ee17 Update chorus fruit help 2018-01-23 04:01:59 +01:00
Wuzzy e3c207c312 Fix no placement sound of chorus flower 2018-01-23 02:56:46 +01:00
Wuzzy 92a595e9e7 Copy-editing of chorus plant help 2018-01-23 02:51:58 +01:00
Wuzzy 3399f3b0c2 Add chorus plant help 2018-01-23 02:44:05 +01:00
Wuzzy 88d1570f5b Drop TODO in chorus_plant.lua 2018-01-23 02:03:57 +01:00
Wuzzy 3136c0f119 More mcl_end refactoring 2018-01-23 01:57:32 +01:00
Wuzzy af1465ab0c Tweak chorus flower aging 2018-01-23 01:54:59 +01:00
Wuzzy 5e47bce74e Refactor mcl_end 2018-01-23 01:53:43 +01:00
Wuzzy bdaaf912ab Implement basic chorus plant growth 2018-01-23 01:46:00 +01:00
Wuzzy fd4797c0e7 Add basic placement rules for chorus flower 2018-01-23 00:39:21 +01:00
Wuzzy 65c4d6af1a Fix chorus plant drops 2018-01-23 00:21:05 +01:00
Wuzzy da2fbed4c2 Burnout rs torch if it changes state too often 2018-01-22 23:52:04 +01:00
Wuzzy eacda330eb Remove mesecons/VERSION 2018-01-22 22:40:31 +01:00
Wuzzy a160d8411a Update redstone torch help 2018-01-22 22:40:16 +01:00
Wuzzy c9b731b8f9 Fix redstone torch state with block above 2018-01-22 21:49:20 +01:00
Wuzzy db4c860aa8 More work on redstone torch state 2018-01-22 21:32:07 +01:00
Wuzzy 8019cfd591 Faster updating of redstone torches 2018-01-22 21:11:10 +01:00
Wuzzy 94dfd63e14 Redstone torch: Use set_node instead of swap_node 2018-01-22 20:04:19 +01:00
Wuzzy 29d034ad09 Fix torches unplacable on disabled hoppers 2018-01-22 20:01:38 +01:00
Wuzzy d47af14d4d Implement basic redstone torch rules 2018-01-22 19:58:38 +01:00
Wuzzy 254a3093eb Fix inconsistent hopper texture 2018-01-22 18:06:12 +01:00
Wuzzy 53ca167eb1 Merge branch 'mesecons_updates' 2018-01-22 17:46:38 +01:00
Wuzzy 01952b56fd Fix bad repeater updates when next to opaque block 2018-01-22 16:53:44 +01:00
Wuzzy 8334b68111 Remove gemalde mod 2018-01-21 06:28:19 +01:00
Wuzzy f4657f79f5 Redstone: Propagate turnoff through opaque blocks 2018-01-20 20:42:53 +01:00
Wuzzy 33d978de06 Propagate redstone power through opaque blocks 2018-01-20 19:04:53 +01:00
Wuzzy aaf68793fe More redstone rule consistency 2018-01-19 03:34:30 +01:00
Wuzzy d5a72d240f Tweak redstone wire rules 2018-01-18 20:00:41 +01:00
Wuzzy aec2fb8309 Remove legacy mesecons code 2018-01-18 19:22:52 +01:00
Wuzzy 92aa0114a2 Fix redstone having 2 help entries 2018-01-17 22:36:48 +01:00
Wuzzy b04e555635 Update help text of comparators 2018-01-17 22:30:27 +01:00
Wuzzy 5d913b6d29 Refactor some redstone internal code 2018-01-17 20:23:43 +01:00
Wuzzy e85a16f70a Redstone: Make is_powered respect spread 2018-01-17 20:20:08 +01:00
Wuzzy dba463ca6d Fix broken direct_source in mesecon.is_powered 2018-01-17 17:18:06 +01:00
Wuzzy f009e958f5 Redstone: Fix internal logic a bit 2018-01-17 05:49:11 +01:00
Wuzzy af3db1ae21 Fix opaque block placement propagate power too far 2018-01-17 03:54:51 +01:00
Wuzzy 2cf6332b57 Conductors no longer power themselves 2018-01-17 03:21:36 +01:00
Wuzzy 1522c875ae Code opaque block redstone power rule (part 1) 2018-01-17 02:44:00 +01:00
Wuzzy 2d5b519830 Fix weird fence mesecon behaviour 2018-01-17 01:45:12 +01:00
Wuzzy 81d5d8b942 Update comparator help 2018-01-13 05:00:47 +01:00
Wuzzy 483d6d088c Make redstone wire transmit power vertically, too 2018-01-13 04:45:04 +01:00
Wuzzy 4f9be58871 Fix incorrect power transmission of buttons 2018-01-13 04:08:40 +01:00
Wuzzy f612d1b584 Rework core rules of most redstone components 2018-01-13 03:37:41 +01:00
Wuzzy 7626102bdb Fix dispenser inventory not getting set if up/down 2018-01-13 03:15:32 +01:00
Wuzzy f72717e8de Support powering of opaque blocks (WIP) 2018-01-13 02:20:07 +01:00
Wuzzy c4ec520986 Fix redstone torch rules 2018-01-13 02:19:52 +01:00
Wuzzy 1b5875582e Make redstone block an alldirs block 2018-01-13 01:49:28 +01:00
Wuzzy 6f8b524d07 Update emerald help text 2018-01-12 17:56:02 +01:00
Wuzzy 30517ecb98 Add lava place sound 2018-01-12 02:26:12 +01:00
Wuzzy e4ab20509f Clean up the redstone rules 2018-01-12 01:37:32 +01:00
Wuzzy 54c0d1d750 Add banners to material_wood group 2018-01-11 02:42:43 +01:00
Wuzzy 24a523baa4 Easier orientation of dispenser/dropper placement 2018-01-11 01:28:36 +01:00
Wuzzy a2f1122405 Remove get_look_pitch in mesecons_pistons 2018-01-10 21:39:22 +01:00
Wuzzy a399bc4a80 Tweak piston footstep sound effects 2018-01-10 21:35:22 +01:00
Wuzzy 5eb805594e Add help text for observer 2018-01-10 21:26:39 +01:00
Wuzzy dfc721860e Add vertical observers (dummies, currently unused) 2018-01-10 21:11:27 +01:00
Wuzzy acb38db08d Reverse arrow direction of observer 2018-01-10 19:44:24 +01:00
Wuzzy d900279e1d Implement basic node scan of observers 2018-01-10 19:31:35 +01:00
Wuzzy 85c40daf8a Implement the redstone pulse of observers 2018-01-10 18:46:35 +01:00
Wuzzy 916627c6b6 Add on state for observers 2018-01-10 18:27:47 +01:00
Wuzzy 3627b03b2e Set rules for observer 2018-01-10 18:12:27 +01:00
Wuzzy 990a9a8b46 Update on_place callbacks when placing hopper 2018-01-10 16:57:57 +01:00