Commit Graph

55 Commits

Author SHA1 Message Date
cora 4cfd4ef6ce Fix wrong argument when piston dig calls on_dignode callbacks 2023-12-20 16:54:36 +00:00
seventeenthShulker 00cfca5947 Make carpet sticky again 2023-11-04 16:01:46 +00:00
seventeenthShulker c37da143da Add crying obsidian and lodestone to mvps_stoppers 2023-11-04 16:01:46 +00:00
seventeenthShulker 3e12b3c700 Check protection of certain nodes before push/pull
- The node directly in front of a piston (including air)

- The 'final' position of any connected nodes
2023-11-04 16:01:46 +00:00
seventeenthShulker 98cf3b7f7a Check node_replaceable after dig_by_piston
Allows tallgrass, nether vines etc to drop
2023-11-04 16:01:46 +00:00
seventeenthShulker e5829f719d All signs are mvps_stopper upon registration
All buttons are mvps_unsticky upon registration
Add some missing unmovable nodes
Bamboo trapdoor is now sticky
2023-11-04 16:01:46 +00:00
seventeenthShulker 058684f17f Improve dig_node simulation and fix duplication 2023-11-04 16:01:46 +00:00
seventeenthShulker 918b8eee38 Fix unsticky defs for shulker_box_small names (some did not exist) 2023-11-04 16:01:46 +00:00
seventeenthShulker f2eca64e42 Blocks with dig_by_piston no longer fill up the push limit
Fix for broken nodes (e.g. sugar cane) not updating and leaving floating bits

Short-term fix for minetest.dig_node not always working (checking for group dig_immediate = 3)
2023-11-04 16:01:46 +00:00
PrairieWind 04b59b2190 Campfires are unaffected by pistons 2023-09-04 22:05:38 +00:00
chmodsayshello 75d6509c3e prevent ALL furnaces from being moved 2023-06-20 00:02:03 +01:00
Michieal 6c0525f00e Fix merge / rebase crossing massacre.
[Michieal] 83bc60722d Begin: make bamboo dig-able by Pistons for Farm Creation.

[Michieal] 449cbdb330 Make Bamboo & Bamboo items not sticky for pistons.

[Michieal] a44566f863 hijack the ABM to check for orphaned bamboo nodes.

[Michieal] 5dff9e1994 Fixed the ABM situation so that now bamboo "breaks" when pushed by pistons.
Probably not the most elegant, but hey. It works.

[Michieal] 76507025d9 Cleaned up the global function to match the current ABM.

[Michieal] dfa849e19a Merge branch 'master' into Bamboo-Piston-Dig

[Michieal] a5bdc8a166 fix bamboo mosaic recipe.

[Michieal] 14383d6c6f update mod.conf to use optional depends mesecons_mvps

[Michieal] f81d530912 Update init.lua to register dropper callback.
2023-02-10 03:42:34 +00:00
PrairieWind b17dcf26da Make beehives transparent and not launch entities, thanks MysticTempest! 2022-11-17 03:16:45 +01:00
MysticTempest 2fd9e2ad53 Implement slimeblock piston launchers:
Adds the mechanic of launching entities standing on, or in
front of slimeblocks; which are attached to, and pushed by pistons.
2022-07-21 02:30:30 -05:00
MysticTempest dd1a58b01e Implement piston fixes:
This enables the feature of unsticky pistons. This allows
for some nodes to be unpullable, but otherwise pushable or diggable.
A certain selection of nodes that can never be moved.
And, stops certain entities from being pushed if they shouldn't move.

Along with this change; I've also updated the rules regarding
pushing, and pulling of nodes & objects to be more accurate to MC.
Now allowing for more complex redstone circuits to be built.
2022-05-15 02:18:21 -05:00
AFCMS dc10448c6e [mesecons_mvps] fix warnings 2021-05-23 11:25:22 +02:00
iliekprogrammar 23f69dfd1e Core implementation of MC-like kelp drops.
Highlights:
* Kelp should no longer be able to survive without water
(by decreasing its height)
* When kelp is destroyed, each segment now drop a single kelp similar to MC.
* Significantly refactor how kelp grows and dig. Possible optimizations might be
included.
2021-03-21 02:22:25 +08:00
Elias Åström ed30fa0868 Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.

This was done with a shell script :)
2021-03-18 17:37:12 +01:00
kay27 5385a3f202 Fix piston protection check 2020-12-27 17:11:22 +04:00
Wuzzy 356977531e Remove all traces of all_pull_sticky 2020-12-03 14:21:25 +01:00
Wuzzy 51fea93905 Fix all_pull_sticky for real 2020-12-03 13:16:12 +01:00
Wuzzy 7e8c3aebd5 mesecons_mvps: Fix missing all_pull_sticky arg 2020-12-03 12:52:02 +01:00
kay27 2b1d21a5b5 Merge branch 'kay27_mechanics' as a squash 2020-11-14 01:59:03 +04:00
kay27 f0afebea38 Remove double vector addition for piston pull/push - fix on_placenode() coordinates 2020-10-09 02:09:00 +04:00
kay27 d1807b5844 Remove double on_placenode() for push/pull, see https://git.minetest.land/Wuzzy/MineClone2/src/branch/master/mods/ITEMS/REDSTONE/mesecons_mvps/init.lua#L371 2020-10-08 21:51:07 +04:00
kay27 a78c613322 Fix slimeblock/piston behavior, https://github.com/kay27/MineClone2/issues/4 2020-10-07 23:28:21 +04:00
Wuzzy ad8403adbd Add piston support for trapped chests 2019-03-09 07:23:10 +01:00
Wuzzy e6e9d13701 Piston support: banner, sign, armor stand, chests, daylight sensor, jukebox, noteblock 2019-03-09 07:02:02 +01:00
Wuzzy 2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy f23fa236dd Update deprecated function call in mesecons_mvps 2019-02-02 00:13:18 +01:00
Wuzzy e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy 4db935e91e Update falling nodes after being moved by piston 2018-05-19 02:30:23 +02: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 16bb9b8901 Localize various unneeded global variables 2018-01-26 22:37:42 +01:00
Wuzzy 10c2097ac1 Prepare dummy code for unsticky nodes (glazed terracotta) 2018-01-10 01:33:56 +01:00
Wuzzy 390bbf628f Fix broken MVPS stoppers 2017-11-23 20:49:05 +01:00
Wuzzy f55025be17 Add end portal frames as portal stoppers 2017-11-23 20:11:03 +01:00
Wuzzy 2337d31699 Merge branch 'mesecons_update' 2017-08-28 18:57:12 +02:00
Wuzzy 272c456499 Portals are piston stoppers 2017-08-17 02:17:45 +02:00
Wuzzy 27a3099b56 Make banner a piston stopper 2017-07-31 00:45:10 +02:00
Wuzzy 29037a05a6 Update mesecons_mvps 2017-07-31 00:41:37 +02:00
Wuzzy b299b95fac Update the mesecons mod and dependencies
This touches a lot of the existing Mesecons mods.
Also add mesecons_wires.
2017-07-31 00:12:21 +02:00
Wuzzy 6c4ccf3897 Rename signs mod to mcl_signs 2017-07-25 02:20:37 +02:00
Wuzzy 47d3ad19cf Make armor stands a piston stopper 2017-06-11 14:05:48 +02:00
Wuzzy c1c15eb60b Rename mcl_monster_spawners to mcl_mobspawners.
Sorry for the trouble, but the long name annoyed me. :P
2017-05-25 06:09:03 +02:00
Wuzzy 6b07bde2e8 Fix monster spawner bugs caused by rename 2017-05-25 05:57:04 +02:00
Wuzzy 044b775724 Dispensers stop pistons 2017-03-30 02:55:19 +02:00
Wuzzy 726b187d98 Make activated trapped chests stop pistons 2017-03-30 02:53:01 +02:00
Wuzzy ffd4218327 Make sign a piston stopper 2017-03-30 02:48:08 +02:00
Wuzzy 30564e494e Make many blocks drop when pushed by piston 2017-03-29 22:58:31 +02:00