Commit graph

388 commits

Author SHA1 Message Date
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
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
0405b2aa2c Fix some Lua warnings 2018-01-23 05:19: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
d47af14d4d Implement basic redstone torch rules 2018-01-22 19:58:38 +01:00
Wuzzy
01952b56fd Fix bad repeater updates when next to opaque block 2018-01-22 16:53:44 +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
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
e4ab20509f Clean up the redstone rules 2018-01-12 01:37:32 +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
10c2097ac1 Prepare dummy code for unsticky nodes (glazed terracotta) 2018-01-10 01:33:56 +01:00
Wuzzy
e3559e1de8 Increase hear distance of piston push sound 2018-01-09 20:39:00 +01:00
Wuzzy
bb31415670 Remove facedir, add sounds to redstone wires 2018-01-09 17:31:23 +01:00
Wuzzy
3e3b447132 Add opaque group to lit redstone lamp 2018-01-09 15:19:10 +01:00
Wuzzy
b959baa9d6 Update lever help 2018-01-08 21:20:53 +01:00
Wuzzy
71e663efe6 Merge branch 'lever' 2018-01-08 21:00:36 +01:00
Wuzzy
68a9a9bc40 Fix normals of wall levers and remove unused face 2018-01-08 20:46:44 +01:00
Wuzzy
33386b19ca Drop lever when attached node is destroyed 2018-01-08 20:11:33 +01:00
Wuzzy
dfc0d52372 Implement correct lever orientations 2018-01-08 17:45:30 +01:00
Wuzzy
3cf6656df2 Rename "Monster Spawner" to "Mob Spawner" 2018-01-07 16:58:44 +01:00
Wuzzy
74a7770a7c Tweak command block formspec 2018-01-02 14:32:40 +01:00
Wuzzy
cd86148c70 Improve command block help 2018-01-02 14:25:31 +01:00
Wuzzy
b2fecffb43 Fix piston not activate when powered from +X 2017-12-29 02:28:18 +01:00
Wuzzy
0e53c6e4c1 Can't add commands into command blocks if you have not the privs 2017-12-13 20:16:32 +01:00
Wuzzy
3f0bfa0aa8 Add maphack privilege for advanced blocks like command blocks 2017-12-13 00:30:23 +01:00
Wuzzy
ff1996c708 Merge branch 'river_water' 2017-12-05 23:01:05 +01:00
Wuzzy
320567e1f2 Add basic screwdriver support 2017-12-05 14:09:39 +01:00
Wuzzy
785b4a2ef7 Dispensers dispense water buckets into cauldrons 2017-11-30 21:08:28 +01:00
Wuzzy
438039f3fb Add river water bucket 2017-11-30 14:50:37 +01:00
Wuzzy
b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy
2e6aa37ca4 Remove piston base when piston head got destroyed 2017-11-23 21:15:42 +01:00
Wuzzy
5c98a01fb1 Generalize piston arm destruction 2017-11-23 20:52:33 +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
bc3190d5a9 Change pressure_plate group 2017-11-22 22:42:00 +01:00
Wuzzy
7fab1ada00 Add buttons for all woods 2017-11-22 22:41:43 +01:00
Wuzzy
a2fefb264b Refactor button registration 2017-11-22 22:24:05 +01:00
Wuzzy
6efddc833c Add pressure plates for each wood type 2017-11-22 22:08:09 +01:00
Wuzzy
45c385628a Fix crash when piston got pushed next to redstone 2017-11-20 08:04:09 +01:00
Wuzzy
14578baec1 Fix button inv. image breaking if use texture pack 2017-11-18 20:00:36 +01:00
Wuzzy
aaef558909 Convert all sounds (except music) to mono 2017-11-13 01:24:24 +01:00
Wuzzy
2f0450a0c3 Fix crash and outdated Mesecons API code in mcl_comparators 2017-09-18 23:34:08 +02:00
Wuzzy
a34405b17b Adjust redstone rules of most redstone components 2017-09-14 02:21:46 +02:00
Wuzzy
be135b7066 Tweak button/pressure plate connection sides 2017-09-12 05:37:03 +02:00
Wuzzy
b86b83cc58 Make pressure plates non-walkable 2017-09-11 18:40:34 +02:00
Wuzzy
b5c89dd2f6 Update and fix pressure plate help 2017-09-11 18:38:49 +02:00
Wuzzy
c7599fbdf5 Stone pressure plate activates by player/mob only 2017-09-11 18:29:10 +02:00
Wuzzy
151bbed928 Remove redundant pressure plate textures 2017-09-11 17:46:57 +02:00
Wuzzy
5b38bb2737 Add back the redstone help 2017-08-29 23:34:02 +02:00
Wuzzy
aebe0dec9f Fix some invalid globals in redstone mods 2017-08-29 23:27:20 +02:00
Wuzzy
bd74902789 Fix dispenser's bucket support in the Nether 2017-08-29 02:50:46 +02:00
Wuzzy
3a18f4044d Support all minecart types in dispenser 2017-08-29 02:36:50 +02:00
Wuzzy
0795a97dd7 Fix redstone being named “Mesecon” 2017-08-29 01:47:44 +02:00
Wuzzy
2337d31699 Merge branch 'mesecons_update' 2017-08-28 18:57:12 +02:00
Wuzzy
59a04d5ffe Remove 3 redundant comparator help entries 2017-08-28 02:05:31 +02:00
Wuzzy
794fcd4199 Update mesecons code for ex-bart's comparator code 2017-08-28 01:58:18 +02:00
Wuzzy
1d42f568de Rename mcl_comparator to mcl_comparators 2017-08-28 01:58:07 +02:00
Wuzzy
3dcaa83962 Add redstone comparators by ex-bart 2017-08-28 01:51:21 +02:00
Wuzzy
272c456499 Portals are piston stoppers 2017-08-17 02:17:45 +02:00
Wuzzy
e5a34367c9 Use new Minetest settings API syntax for most mods 2017-08-09 16:17:00 +02:00
Wuzzy
9dbe91af88 Tweak daylight sensor textures 2017-08-06 14:31:44 +02:00
Wuzzy
8388235600 Simplify mcl_util.move_item_container 2017-08-04 02:19:47 +02:00
Wuzzy
ee38a7af9d Rename mod: bucket to mcl_buckets 2017-08-03 16:36:55 +02:00
Wuzzy
04593eca08 Localize a couple of accidental global variables 2017-08-02 01:34:12 +02:00
Wuzzy
4548f2d19e Add new lever model by Gerold55 2017-07-31 05:35:55 +02:00
Wuzzy
a218a7c982 Fix pressure plates constantly firing signals 2017-07-31 02:14:11 +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
aa5223c915 Change redstone texture
Thanks, kingoscargames!
2017-07-27 16:53:33 +02:00
Wuzzy
1078217af7 Add help button to command block interface 2017-07-25 05:18:27 +02:00
Wuzzy
6c4ccf3897 Rename signs mod to mcl_signs 2017-07-25 02:20:37 +02:00
Wuzzy
e9070ee134 Fix fire charge death message 2017-07-24 19:53:03 +02:00
Wuzzy
b522c66af8 Make redstone lamp sound like glass 2017-07-24 17:14:55 +02:00
Wuzzy
a68722fed3 Simplify torch textures 2017-07-24 02:35:38 +02:00
Wuzzy
dacb06579c Render redstone dot for curves and crossings 2017-07-21 17:57:56 +02:00
Wuzzy
42d71c5b71 Use dot texture for singular redstone dust 2017-07-21 17:49:46 +02:00
Wuzzy
f24754453a Update redstone trail textures 2017-07-21 17:39:35 +02:00
Wuzzy
b5aa90b9d7 Redstone textures → mods. Delete mesecons_textures 2017-07-21 16:57:32 +02:00
Wuzzy
e65029394f Replace most textures with Pixel Perfection
- Using the converter script
- A bunch of textures are still missing
2017-07-20 20:20:45 +02:00
Wuzzy
f3817d3ebe Fix redstone dust texture 2017-07-17 17:38:20 +02:00
Wuzzy
4fdf601b69 Remove redundant piston side textures 2017-07-17 17:29:53 +02:00
Wuzzy
f5bcea2bde Remove duplicate redstone dust texture 2017-07-17 16:44:52 +02:00
Wuzzy
b2b8639764 Remove jeija_torches_on_inv.png 2017-07-17 16:38:14 +02:00
Wuzzy
b014be8e8a Remove red_torch.png 2017-07-17 16:14:46 +02:00
Wuzzy
4bb3eddeed Remove unused dispenser textures 2017-07-17 15:50:59 +02:00
Wuzzy
38cf151806 Fix many crashes when placing item on unknown node 2017-06-29 13:02:53 +02:00
Wuzzy
bb0123c789 Set transparency rules for many blocks 2017-06-13 14:46:21 +02:00
Wuzzy
4002fe123c Make pistons fully transparent to light 2017-06-13 14:26:50 +02:00
Wuzzy
7ac2abb0b8 Make pressure plates fully transparent 2017-06-13 14:20:49 +02:00
Wuzzy
06a8a810be Don't erase item metadata when out of dropper 2017-06-12 22:27:37 +02:00
Wuzzy
1d91d94ee6 Don't erase shulke box contents on dispenser place 2017-06-12 22:25:21 +02:00
Wuzzy
b7bc1a38b1 Update dispenser help 2017-06-11 22:54:46 +02:00
Wuzzy
ddb1174042 Pumpkins and heads can now be dispensed as armor 2017-06-11 22:53:12 +02:00
Wuzzy
47d3ad19cf Make armor stands a piston stopper 2017-06-11 14:05:48 +02:00
Wuzzy
823c20bd1b Fix some global variable warnings 2017-06-10 17:52:21 +02:00
Wuzzy
ad68326087 Replace lever item texture with Faithful 1.12 2017-06-10 15:44:09 +02:00
Wuzzy
279d50f82f Remove unused mesecons wires textures 2017-06-10 15:40:58 +02:00
Wuzzy
f22411656b Can place torch on upside-down stair; update help 2017-06-05 21:44:44 +02:00
Wuzzy
8daac96e58 Rename stairs mod to mcl_stairs 2017-06-05 18:40:56 +02:00
Wuzzy
524c526ba6 Fix placesound being played on button place fail 2017-05-27 18:28:30 +02:00
Wuzzy
bb0468cc47 Update button help 2017-05-27 18:21:57 +02:00
Wuzzy
434c7a399a Allow buttons to replace pointed node again 2017-05-27 18:18:54 +02:00
Wuzzy
1357bd5555 Restrict button placement on solid opaque cubes 2017-05-27 18:09:11 +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
5f09a3d249 Remove commands in mesecons_commandblock 2017-05-24 00:25:08 +02:00
Wuzzy
1ed15bcf98 Show warning if used bad commands in command block 2017-05-24 00:20:25 +02:00
Wuzzy
99d0e0a239 Update command block help 2017-05-23 23:59:08 +02:00
Wuzzy
0397a8caaf Fix digging behaviour of command blocks 2017-05-23 23:10:32 +02:00
Wuzzy
7b424c5df0 Command blocks: Only changable in Creative Mode 2017-05-23 22:57:42 +02:00
Wuzzy
d625fa734b Destroy lever by flowing lava, too 2017-05-20 04:13:57 +02:00
Wuzzy
c49e8dfba0 Destroy some nodes by flowing lava 2017-05-20 04:11:14 +02:00
Wuzzy
da3205837b Add label to all ABMs 2017-05-15 00:45:54 +02:00
Wuzzy
2270121d03 Turn farmland to dirt when piston extends above 2017-05-14 21:24:17 +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
8cc20c1287 Drop lever when pushed 2017-03-30 02:44:22 +02:00
Wuzzy
30564e494e Make many blocks drop when pushed by piston 2017-03-29 22:58:31 +02:00
Wuzzy
2f4f196eaf Make some nodes drop when pushed by piston 2017-03-29 22:12:24 +02:00
Wuzzy
77ccff7e7d Make buttons transmit power again (kinda) 2017-03-28 01:52:09 +02:00
Wuzzy
06a874b621 Less ugly inventory imgs for buttons 2017-03-28 01:31:58 +02:00
Wuzzy
d6f00e28e2 Change push duration of wooden buttons to 1.5s 2017-03-28 01:28:52 +02:00
Wuzzy
3c7d01e39b Make buttons placable at any side 2017-03-28 01:22:01 +02:00
Wuzzy
bcf6a46c6e Add Help alias for redstone trails 2017-03-21 04:34:30 +01:00
Wuzzy
be48f46837 Add Help aliases for redstone components 2017-03-21 04:27:50 +01:00
Wuzzy
9a96b525ae Fix daylight sensor dig times 2017-03-20 21:39:39 +01:00
Wuzzy
c3834971bb Remove unused mesecons file oldwires.lua 2017-03-17 02:23:41 +01:00
Wuzzy
9fc8ee881e Add trapped chest dummy nodes 2017-03-16 01:48:52 +01:00
Wuzzy
20bc1a9134 Fix floating activated redstone wires 2017-03-16 00:41:17 +01:00
Wuzzy
763a751efc Remove unused mesecons settings 2017-03-15 21:03:45 +01:00
Wuzzy
16c55f5cf3 Increase number of pushable blocks by piston to 12 2017-03-15 21:02:52 +01:00
Wuzzy
6892e45e1f Fix sticky piston dropping piston only 2017-03-15 20:54:33 +01:00
Wuzzy
58bbbf1627 Fix redstone block being insta-breakable 2017-03-15 20:46:36 +01:00
Wuzzy
5d53c6093e Fix pressure plate help typo 2017-03-14 06:00:39 +01:00
Wuzzy
51db4a21ed Fix redstone blocks not conducting to -X 2017-03-12 05:07:57 +01:00
Wuzzy
0a9eee6100 Open and close doors by redstone signals
Also fix weird door sound bug
2017-03-12 04:20:06 +01:00
Wuzzy
7c7a77f011 Sunlight does not propagate through repeaters 2017-03-12 00:54:16 +01:00
Wuzzy
110a83734e Change inventory and wield image for repeater 2017-03-12 00:17:10 +01:00
Wuzzy
0ac7f42d1b Rotate redstone repeaters and change textures 2017-03-12 00:09:55 +01:00
Wuzzy
fbd2ecddea Simplify redstone repeater collision box 2017-03-11 23:38:15 +01:00
Wuzzy
e0856fbdfc Make redstone repeaters attached nodes 2017-03-11 23:36:38 +01:00
Wuzzy
8b99e3e8a9 Redstone repeaters now use delay of 0.1s..0.4s 2017-03-11 23:29:46 +01:00
Wuzzy
6b570dac1b Add redstone repeater help 2017-03-11 23:28:22 +01:00
Wuzzy
8114097ef8 Add help text for redstone 2017-03-11 22:37:53 +01:00
Wuzzy
7c0eb4d7c8 Add torch and redstone torch help 2017-03-11 22:00:06 +01:00
Wuzzy
d79d629e3d Silence noteblocks when not below air 2017-03-11 15:33:55 +01:00
Wuzzy
5b7e969a71 Remove unused mesecons_extrawires mod 2017-03-11 07:15:39 +01:00
Wuzzy
079c0898c0 Fix noteblock help typo 2017-03-11 06:56:36 +01:00
Wuzzy
6c003d62f5 Replace some note block sounds to be more MC-like 2017-03-11 06:51:45 +01:00
Wuzzy
249742b3ba Update noteblock help 2017-03-11 06:26:47 +01:00
Wuzzy
c009dd2466 Noteblocks play current sound when punched 2017-03-11 06:17:35 +01:00