Commit Graph

914 Commits

Author SHA1 Message Date
Jude Melton-Houghton
bc1f14a492 Generalize mesecons test fixture 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
98e6e31f7a Add core unit tests 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
121082859f
Handle invalid param2 in presets.lua (#623) 2022-09-11 14:50:26 +02:00
Jude Melton-Houghton
68171b3d8d
Store gate inputs in param2 instead of metadata (#583) 2022-08-25 16:55:03 +02:00
fluxionary
da57a6214a
microcontroller: fix unsafe pattern usage (#620) 2022-08-01 17:27:05 +02:00
Oversword
c4f9336a26
Exit with error if vports do not exist for any reason (#618)
Make sure node is registered before attempting to access the vports
2022-06-16 11:56:49 +02:00
Jude Melton-Houghton
0a4a88b1b9
Consolidate horizontal rules getters (#602) 2022-06-05 11:19:18 +02:00
sfan5
58305f52bc Add missing nil check in hydroturbine code 2022-06-05 11:11:47 +02:00
Jude Melton-Houghton
27c3c515b4 Fix mesecon cooking recipes 2022-05-11 08:57:19 +02:00
Jude Melton-Houghton
960b7c4915
Make some fixes to movement and rotation (#584) 2022-05-07 22:24:58 +02:00
Jude Melton-Houghton
dfa43d6c0c
Make modpack mostly independent from MTG (#607) 2022-05-05 16:57:53 +02:00
Jude Melton-Houghton
f4070d3e64
Use FIFO queue for mvps (#599) 2022-04-01 23:33:41 +02:00
sfan5
21ac966ee2 Fix MTG doors not reacting correctly to Mesecon power 2022-04-01 23:27:35 +02:00
Desour
b630ff9443 Fix error prone negation reported by luacheck 2022-03-30 23:25:18 +02:00
Jude Melton-Houghton
399ee9f5b5
Avoid duplicating VManip data in Lua memory (#600) 2022-03-08 18:15:30 +01:00
Jude Melton-Houghton
0d9e0274ae
Prevent extra pin events with luacontrollers, microcontrollers, and FPGAs (#593) 2022-02-27 21:12:37 +01:00
sfan5
fef5c8cf68 Resolve license information inconsistency
Although the addition of "version 3 or later" to the README [1] predates the
commit that added LICENSE.txt with the description "LGPLv3 for code" [2]
I think it's safe to go with the latter since the terms were clarified
again by the original author explicitly without the "or later" clause [3].
closes #575

[1]: May 2013 8be0d0e1d9
[2]: Sep 2013 c3082f6601
[3]: May 2016 85bc62a65d
2022-02-19 18:20:06 +01:00
sfan5
f6b0de64b8 Update list of MVPS stoppers 2022-02-19 18:01:58 +01:00
Jude Melton-Houghton
1d30891349 Move default dependency to individual mods that need it 2022-02-19 17:13:31 +01:00
Jude Melton-Houghton
4dfadd9276 Fix luacheck warning 2022-02-13 19:48:51 +01:00
Jude Melton-Houghton
3c27bb9350
Fix VM light update issue (#590) 2022-02-13 00:19:33 +01:00
Jude Melton-Houghton
fb255d292e
Add .luacheckrc and fix issues it pointed out (#589) 2022-02-12 20:12:12 +01:00
Jude Melton-Houghton
c9dd323207
Remove redundant on_placenode calls after movement (#586) 2022-02-12 20:11:26 +01:00
Jude Melton-Houghton
4c5b13a347
Fix conductor lighting when aliases are used (#582) 2022-01-30 01:23:53 +01:00
DS
4eea0834b5
Fix torch rules (#581) 2022-01-30 01:23:05 +01:00
Jude Melton-Houghton
ecea0a2896
Optimize light updates when turning conductors on and off (#578) 2021-11-27 16:28:13 +01:00
Jude Melton-Houghton
9323445182 Only skip conductors with flat rules in turnon/off 2021-08-21 13:30:28 +02:00
Jude Melton-Houghton
e15c55c066
Handle getting out-of-bounds bits in get_bit (#574)
The binary state is not padded with zeroes, so they must be inferred.
2021-08-02 21:33:45 +02:00
Jude Melton-Houghton
db5879706d
Fix on_placenode conductor turnon link direction (#572) 2021-07-24 18:40:43 +02:00
DS
65793514fe
Fix use_texture_alpha warnings (#563) 2021-04-09 20:24:41 +02:00
Louis Royer
f5c3f798be
Compatibility with mtg_craft_guide (#555)
Use group instead of wire when possible

Fixes https://github.com/minetest/minetest_game/issues/2843.
2021-04-01 18:56:08 +02:00
Desour
69d4a9584d Fix on-state effector-receptor combos (eg. gates) recepting to everywhere 2021-03-25 23:21:37 +01:00
DS
3f75c06a3b
Improve performance of mesecon.turnon and mesecon.turnoff (#556) 2021-03-25 16:53:51 +01:00
sys4-fr
93aa24dc42
Remove undeclared global variable corner_nodebox (#554)
To avoid warning message at load time.

Co-authored-by: sys4 <admin@sys4.fr>
2021-02-27 16:19:46 +01:00
wsor4035
93f155f604
Make /tell need shout priv (#553) 2021-02-27 16:12:51 +01:00
Vitaliy
583d2c1441
Replace mesecon.mergetable (#533) 2020-12-19 23:12:00 +03:00
auouymous
397d449f1e Use empty string for protection check if puncher or clicker is nil. 2020-12-19 23:11:20 +03:00
auouymous
29ec26a4c8 Prevent unauthorized players from toggling blinky plant. 2020-12-19 23:11:20 +03:00
auouymous
0d86f2c45e
Prevent unauthorized players from changing the noteblock sound. (#547) 2020-11-12 19:26:02 +01:00
Johannes Lundberg
d356f901a3
Make Lua code area and error label use monospaced font (#541) 2020-10-09 22:28:11 +02:00
Vitaliy
6921909100
Restrict Lua controller interrupt IDs (#534)
* Deprecate non-string IIDs
* Restrict tabular IIDs to proper trees
Fixes crash on recursive interrupt ID (#473)
2020-09-21 22:32:25 +03:00
tuedel
3202bf6786
mesecons_doors: Add MTG steel bar door and trapdoor (#523) 2020-09-19 00:27:47 +03:00
Wuzzy
fedbf49372
Noteblock: Fade out fire sound (#527) 2020-09-17 19:30:03 +02:00
Vitaliy
9fda51b650
Insulated double corner (#524)
* Add insulated double corner
* Make single corner curved to match double corner
* Remove obsolete regular corner textures
2020-08-24 00:30:57 +03:00
Vitaliy
4750925eab
Allow admins digging any command block (#525)
Allow admins (i.e. players with the `protection_bypass` privilege) digging any command block
2020-08-15 15:33:11 +03:00
Wuzzy
16836b16d6
Make more nodes trigger special noteblock sounds (#506) 2020-08-08 12:22:51 +03:00
Vitaliy
c1eccba247
Make sounds ephemeral (#521)
The handles were never used anyway
2020-08-01 16:10:14 +03:00
tuedel
01332a7ba1
Replace deprecated getpos() calls (#522) 2020-07-31 22:26:58 +02:00
leucome
de4eeebd3b
Movestone servo-motor sound (#487) 2020-07-28 19:55:56 +03:00
mbartlett21
75bd1e8be6
Unpad insulated wire recipes (#477) 2020-06-28 01:28:56 +03:00