Commit Graph

935 Commits

Author SHA1 Message Date
Jude Melton-Houghton
133041fa89 Run luacontroller tests 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
aa9742723d Add luacontroller tests 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
189777eef2 Rename test fixture directory with dot
This prevents it from being seen as a mod.
2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
497d362b85 Put gamecompat test stuff in fixture 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
c92b4271ad Update .luacheckrc 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
7c217c6aa9 Move fixtures to common directory 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
dc4aee8e69 Remove custom voxelmanip 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
162121722b Remove pending status 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
a8b1ac023b Fix FPGA tests 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
0a649f5e8c Improve serialization for comparison in test 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
38f8d1bf3d Add test of FPGA change transmission 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
4342e64e8c Improve FPGA port double assignment test 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
749f7b5267 Improve .luacheckrc formatting 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
6a2b5a678d Fix luacheck warning 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
6cecec7612 Add FPGA tests 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
60e03e98a5 Assert absence of old metadata in test 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
7680b31663 Put node in test move info 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
f2eded427f Fix luacheck warning 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
302b3521b5 Add tests for mesecons_mvps 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
d6acde2040 Try adding test job 2022-09-13 14:49:52 -04:00
Jude Melton-Houghton
dc42847077 Add rotation test 2022-09-13 14:49:52 -04:00
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