Commit Graph

3616 Commits

Author SHA1 Message Date
Wuzzy 900625b17b Add ghast shoot/death sound, add many sound TODOs 2018-09-14 16:27:58 +02:00
Wuzzy 7d66d5f2d3 Remove unused arrow code for wither skeleton 2018-09-14 16:08:32 +02:00
Wuzzy 26a5059cc0 Add bow shooting sound when mob fires an arrow 2018-09-14 16:07:22 +02:00
Wuzzy 077cd14f4f Add skeleton sounds 2018-09-14 15:58:31 +02:00
Wuzzy ad2fbb0008 Add some despawning logic (but do not enable despawning yet) 2018-09-14 14:48:48 +02:00
MysticTempest 67ebf3366f Make player sit in minecarts 2018-07-09 23:45:54 +02:00
MysticTempest 5d4b4b099c Fix snowman's head texture 2018-07-09 23:33:32 +02:00
Wuzzy ce04c81482 Fix another crash in mcl_mobs 2018-07-04 01:53:08 +02:00
Wuzzy f7227de6fa Local variable fix in mcl_mobs 2018-07-02 23:34:40 +02:00
Wuzzy 61c5c61e00 Fix crash when using nametag 2018-07-02 23:27:11 +02:00
Wuzzy a88f644001 Update deprecated settings syntax 2018-06-20 19:02:52 +02:00
Wuzzy d34d368306 Disable double doors because of bug on place 2018-06-15 21:26:15 +02:00
Wuzzy fe60b2c8bb More Nether portal generating refactor stuff 2018-06-15 19:15:39 +02:00
Wuzzy c1614dabc5 Rewrite emerge algorithm of Netherportal gen. 2018-06-15 19:07:20 +02:00
Wuzzy f68e835087 Fix Nether portal not teleporting players anymore 2018-06-15 18:26:59 +02:00
Wuzzy 801e6fb1c4 Mesecons: Stop using deprecated settings syntax 2018-06-13 19:41:57 +02:00
Wuzzy 5c2dd37528 Fix crash if dropping charged bow 2018-06-13 17:20:10 +02:00
Wuzzy 2bb8b2c4e2 Fix undeclared global fail in villager.lua 2018-06-11 14:47:41 +02:00
Wuzzy a6bb31f2a6 Fix explo mobs destroy land if mobs_griefing=false 2018-06-10 16:09:28 +02:00
Wuzzy 45add3cedd Add creamy horse texture 2018-06-10 15:51:03 +02:00
Wuzzy fe0f4df958 Remove WIP mark from villagers 2018-06-10 15:32:50 +02:00
Wuzzy e051eae5bc Lightning no longer turns villagers to witches
Because witches are incomplete.
Also add villager TODOs.
2018-06-10 15:27:01 +02:00
Wuzzy a804144ed4 Trading: Make iron helmet cheaper 2018-06-10 15:09:52 +02:00
Wuzzy 9faa3099a4 Trader: Close trade formspec + return items on die 2018-06-10 15:01:44 +02:00
Wuzzy aa3d3969aa Make villager stand still if there is near player 2018-06-10 14:24:00 +02:00
Wuzzy dbed565197 Fix unlock_stuff being always false in villager 2018-06-10 13:53:26 +02:00
Wuzzy 51ff6b1725 Villager: Prevent locking of all trades
This is done by adding an "emergency unlock" which unlocks
everything else when the last trade was locked.
2018-06-10 13:49:35 +02:00
Wuzzy ed52e49408 Heal trader for unlocking trades 2018-06-10 13:20:19 +02:00
Wuzzy 3e8ca5a1ca Trading: Hide left/right button if end of list 2018-06-10 13:06:28 +02:00
Wuzzy cca841e459 Villager trading: Use per-player trading inventory 2018-06-10 12:15:09 +02:00
Wuzzy 9f2460c263 Make red sandstone trade earlier 2018-06-06 21:29:44 +02:00
Wuzzy ce7ac37e85 Add a few v6-exclusive trades to villagers 2018-06-06 21:28:23 +02:00
Wuzzy 5faed5d7f0 Add 2 crosses in trading formspec 2018-06-06 19:50:17 +02:00
Wuzzy 4d4374730e Trading: Allow to sell compass 2018-06-06 19:37:31 +02:00
Wuzzy 3823a6ba11 Add trade locking for villagers 2018-06-06 17:33:14 +02:00
Wuzzy 8b95871682 Implement trading tier unlocking 2018-06-06 16:34:44 +02:00
Wuzzy 1db3b079c6 Add disabled trade image 2018-06-06 14:39:16 +02:00
Wuzzy 2c55daa3e2 Change nitwit villager texture 2018-06-06 14:12:27 +02:00
Wuzzy 829ca1f1c1 Villager profession depends on clothes, add nitwit 2018-06-06 13:55:19 +02:00
Wuzzy f545af54c1 Disable buggy compass trade 2018-06-06 01:08:57 +02:00
Wuzzy 1c0e026259 Villager: Fix taking output sometimes destroy item 2018-06-06 00:45:30 +02:00
Wuzzy 3c4a1013b8 Villager: Prevent taking partial track from output 2018-06-06 00:16:25 +02:00
Wuzzy 7a080ac308 Fix up/down observers dropping themselves 2018-06-05 19:27:18 +02:00
Wuzzy b504e8c317 Make trader warning less bright 2018-06-04 22:23:46 +02:00
Wuzzy 6e32d23d56 Add warnings and notes about trading implementation 2018-06-04 22:21:10 +02:00
Wuzzy a58a01040d Show villager name in trading formspec 2018-06-04 22:13:24 +02:00
Wuzzy 9bfa116794 Allow to select different trades 2018-06-04 21:46:13 +02:00
Wuzzy e9bcbe1ead Store available trades in villager entity 2018-06-04 21:07:12 +02:00
Wuzzy cc1fe2f14f Fix bread trade 2018-06-04 15:21:59 +02:00
Wuzzy 10e2c174d4 Pick random villager profession on spawn 2018-06-04 14:59:10 +02:00
Wuzzy f1dc75f097 Add lots of random trades for villagers 2018-06-04 14:36:06 +02:00
Wuzzy 7109db24c2 Trading: Reset inventory when closing formspec 2018-06-04 12:50:31 +02:00
Wuzzy a9cf744c0b Disable villager trading again 2018-06-04 01:20:24 +02:00
Wuzzy e5c7e50202 More villager fixing 2018-06-04 01:19:23 +02:00
Wuzzy 883568add4 Implement basic villager trading formspec 2018-06-03 18:37:53 +02:00
Wuzzy 2dbda44a93 Add some global spawn restrictions
- no monsters on mycelium
- nothing on non-opaque blocks, except air
2018-06-03 17:48:32 +02:00
Wuzzy f022b747b0 Harden a number of minetest.after player checks 2018-06-03 16:44:37 +02:00
Wuzzy 2132cdacc5 Improve minetest.after checks 2018-06-03 16:17:55 +02:00
Wuzzy 201c2bf170 Fix minetest.after crashes in mcl_mobs 2018-06-03 16:13:46 +02:00
Wuzzy 9c6f5b3573 Remove dead code in mcl_mobs 2018-06-03 00:56:29 +02:00
Wuzzy 1d04b52b5a Name tag: Update texture conversion and add alias 2018-05-31 18:40:02 +02:00
Wuzzy 34e92a361b Rename mobs mod to mcl_mobs 2018-05-31 18:32:26 +02:00
Wuzzy 4be664ab49 Rebranding of the mobs redo mod 2018-05-31 17:54:35 +02:00
Wuzzy 9afe5da7b4 Make sure bred pig and sheep stay tamed and owned 2018-05-31 17:32:13 +02:00
Wuzzy c55714ea0c Reduce dependencies of mcl_anvils 2018-05-31 15:18:48 +02:00
Wuzzy 2f0987b529 Move mcl_void_damage to ENVIRONMENT 2018-05-31 15:13:16 +02:00
Wuzzy d5729b8a32 Fix load-crash if _magnet_timer of item entity is uninizialized 2018-05-31 14:34:19 +02:00
Wuzzy 73dcf1e697 Randomly mutate foal fur/mark with 1/9 chance each 2018-05-31 14:05:45 +02:00
Wuzzy aeee941b2c Breeding sheep now mixes wool colors like dyes 2018-05-31 05:45:57 +02:00
Wuzzy e246b5d0bb Fix breeding giving weird childs 2018-05-31 04:38:37 +02:00
Wuzzy 97e550bb9f Can't shear lambs 2018-05-31 03:45:38 +02:00
Wuzzy 55beefa6c7 Fix wool regrow for sheep 2018-05-31 03:43:48 +02:00
Wuzzy 91b41885d5 Tweak blaze animation 2018-05-31 03:17:41 +02:00
Wuzzy 4513c6c35d Undead mobs take light damage only in sunlight 2018-05-31 03:09:27 +02:00
Wuzzy b73e05d64a Fix light_damage damaging mobs in rain/snow 2018-05-31 02:47:37 +02:00
Wuzzy eefd065726 New horse texturing (thanks to 22i) 2018-05-30 19:51:40 +02:00
Wuzzy 050987bead Add illagers to Conversion Table 2018-05-30 18:48:07 +02:00
Wuzzy 8b6f5d3dec Redo sheep texturing
Thanks to 22i
2018-05-30 18:05:49 +02:00
Wuzzy c10f4311f7 Update death animations of some mobs 2018-05-30 17:34:38 +02:00
Wuzzy 895d06d28a Update (wither) skeleton mesh and anim (thx 2 22i) 2018-05-30 17:11:07 +02:00
Wuzzy 328eb883ec Redo skeleton stray vex zombiepig meshes/textures
Thanks, 22i!
2018-05-30 16:59:27 +02:00
Wuzzy 6619cf159f New zombie pigman mesh by 22i 2018-05-30 16:41:28 +02:00
Wuzzy 635a9c45bd Enable wolf-on-sheep attack 2018-05-30 16:16:44 +02:00
Wuzzy 222f6880cb Protect doors from screwdriver rotation 2018-05-30 14:24:37 +02:00
Wuzzy 76c1c10a9b Tweak snowman animation params 2018-05-30 13:33:19 +02:00
Wuzzy 17b9bd27de Redo snowman texturing (thanks, 22i!) 2018-05-30 13:29:33 +02:00
Wuzzy b2d9c119ac Add mobs:spawn_child 2018-05-30 12:58:50 +02:00
Wuzzy 940b3748fb Fix horse child keeping horse armor of parent 2018-05-30 12:34:16 +02:00
Wuzzy 806e392d31 Fix child of saddled pigs getting saddle, too 2018-05-30 12:25:10 +02:00
Wuzzy d575cf07b7 Kill snow golems in rain 2018-05-30 12:01:53 +02:00
Wuzzy 69b3e19c1b Name tags now name all mobs (except ender dragon) 2018-05-30 11:34:17 +02:00
Wuzzy d0cdb0f390 Add fake_liquid group to cobweb 2018-05-29 20:11:27 +02:00
Wuzzy c1cc790d9d Update Mobs Redo (1.41) 2018-05-29 17:00:30 +02:00
Wuzzy 34292ece10 Fix minor texture fail for woodlike corner stair 2018-05-29 16:03:10 +02:00
Wuzzy f3b0cf6f3e Document API mcl_stairs, declare mcl_stairs usable 2018-05-29 15:17:15 +02:00
Wuzzy d3f5942d7d Improve corner stair texturing 2018-05-29 14:28:26 +02:00
Wuzzy 85975a2d26 mcl_stairs: Add woodlike cornerstair mode 2018-05-29 13:46:39 +02:00
Wuzzy 644387c0ad Remove redundant wood stair register 2018-05-29 13:30:23 +02:00
Wuzzy cf8415f87a Merge mcstair into mcl_stairs 2018-05-29 13:25:25 +02:00
Wuzzy f8362e798f Make v6 ice spikes much rarer 2018-05-28 16:32:15 +02:00
Wuzzy c4ced1fbdf Fix arrows being punchable to death 2018-05-28 15:49:04 +02:00
Wuzzy 187e6b7e58 Remove water damage from creeper 2018-05-27 10:41:50 +02:00
Wuzzy fc94f50e6a Fix another logic fail in arrow mob detect code 2018-05-27 10:33:49 +02:00
Wuzzy 6f24a44e53 Merge branch 'master' of https://repo.or.cz/MineClone/MineClone2 2018-05-25 13:47:29 +02:00
Wuzzy 48b7191af2 Regularily damage and delete entities in void 2018-05-25 13:45:41 +02:00
Wuzzy 12b0954523 Fix possible crash in mcl_mapgen_core 2018-05-20 15:25:57 +02:00
Wuzzy ab38d55646 Dispenser craft no longer needs bow to be intact 2018-05-20 03:02:31 +02:00
Wuzzy b852e56df3 Change clock texture usage and implement conversion 2018-05-20 01:50:53 +02:00
Wuzzy 4db935e91e Update falling nodes after being moved by piston 2018-05-19 02:30:23 +02:00
Wuzzy c882f46eb6 Fix head node texture bugs 2018-05-18 22:13:56 +02:00
Wuzzy 1082c995fe Rework end portal node
- Add 1/16 high collisionbox on bottom
- Make walkable
- Disable jump
2018-05-16 19:25:55 +02:00
Wuzzy fceee430b3 Remove minetest.inventorycube call from rs lamps 2018-05-16 18:27:19 +02:00
Wuzzy 7c434d85ed Also save cmd block on enter key 2018-05-16 18:16:17 +02:00
Wuzzy 689aa84c28 Make cmd block errors red 2018-05-16 18:02:37 +02:00
Wuzzy b1154be71b Command blocks now use 2-letter placeholders 2018-05-16 17:58:32 +02:00
Wuzzy dd380963ce Add “@@” placeholder to cmd blocks 2018-05-16 17:31:01 +02:00
Wuzzy a91e0cc537 Add @commander placeholder to command blocks 2018-05-16 17:07:11 +02:00
Wuzzy 51b6d07d0c Make cmd blocks execute cmds on behalf of placer 2018-05-16 16:55:52 +02:00
Wuzzy 88ca7c9a7e Red v6 sand must now be crafted with nether wart 2018-05-16 15:53:00 +02:00
Wuzzy fcc53f4151 Remove inventory images of some internal nodes 2018-05-14 16:31:17 +02:00
Wuzzy 6894721e8d Fix trunk of balloon oak 1 not being force-placed 2018-05-13 18:53:42 +02:00
Wuzzy d5d65f4a84 Tweaking of the new tree schematics 2018-05-13 18:39:47 +02:00
Wuzzy b992100106 More variations of mega spruces and large oaks 2018-05-13 18:03:57 +02:00
Wuzzy f62f627443 Add end portal frame with eye into creative inv. 2018-05-13 05:23:38 +02:00
Wuzzy bf37c06de4 Add inner nodeboxes for banner nodes 2018-05-13 01:52:38 +02:00
Wuzzy 91fad8072d Register itemframe alias 2018-05-13 00:57:32 +02:00
Wuzzy a62b5de79e Cake+cauldron+endportalfr. put signal 4 comparator 2018-05-13 00:33:26 +02:00
Wuzzy acd58f6fe5 Fix jukeboxes destroying music disc metadata 2018-05-12 23:57:49 +02:00
Wuzzy 44dc8d10bb Comparators now detect itemframes as container 2018-05-12 23:50:17 +02:00
Wuzzy bae1fa072c Remove dead code 2018-05-12 22:53:21 +02:00
Wuzzy e38f19b5f3 Comparator now detects jukebox as container 2018-05-12 22:48:49 +02:00
Wuzzy 1ce9ab22bf Turn jukebox into a container (part 1) 2018-05-12 21:50:56 +02:00
Wuzzy a14ba4d9ff Change jukebox top texture 2018-05-12 21:04:29 +02:00
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 f0b732d7e0 Place boats in the placer direction 2018-05-09 18:43:07 +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 5ca5811bc8 Refactor how the misc creative category works 2018-05-08 15:58:26 +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 da03b6af6a Add playerphysics framework 2018-05-07 19:56:48 +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 9b47ec2797 Add controls mod by arcelmi 2018-05-07 14:52:53 +02:00
Wuzzy 9376edeeda Re-add nametags which were removed accidentally 2018-03-31 21:58:52 +02:00
Wuzzy 11be72e635 Disable mob health display 2018-03-31 03:54:55 +02:00
Wuzzy 8060928237 Fix some creeper issues
- Fix fuse sound sometimes not playing
- Timer = 1.5s
- Distance behaviour like in MC
2018-03-31 03:53:11 +02:00
Wuzzy d6228145c6 Fix random mob teleportations once and for all! 2018-03-31 00:21:55 +02:00
Wuzzy 7be5914463 Update Mobs Redo 2018-03-31 00:18:40 +02:00
Wuzzy 2606c264b9 Update doc modpack (1.2.2) 2018-03-27 15:08:31 +02:00
Wuzzy ed63c32f07 Rename “subgame” to “game” in mcl_doc_basics 2018-03-25 22:28:41 +02:00
Wuzzy 318415307c Update mobs_mc 2018-03-25 22:27:06 +02:00
Wuzzy bb6f2f7770 Rename “subgame” to “game” (partial fix) 2018-03-25 22:20:32 +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 1fa141d972 Custom node drops now ignore Creative Mode 2018-03-05 13:35:14 +01:00