Commit Graph

937 Commits

Author SHA1 Message Date
binarycat
ab2df3caf3 add fallback implementation for fifo_queue.add_list() in case table.move() is missing 2023-12-19 15:04:02 -05:00
binarycat
79214b5c71 revert local-variable lifting 2023-12-19 15:01:15 -05:00
binarycat
4c27c65cdc remove profiling stuff 2023-12-17 16:18:21 -05:00
binarycat
068da0c047 cleanup 2023-12-17 16:17:00 -05:00
binarycat
22eae4b805 mess with locals and hide debug prints 2023-12-17 16:09:07 -05:00
binarycat
43a568df7f store result of table lookup in local variable, improving performance and readability 2023-12-17 15:48:34 -05:00
binarycat
5be0ee97fb add fifo_queue.add_list() and use it to eliminate an inner loop 2023-12-17 15:36:40 -05:00
binarycat
a7c8146e71 micro-optimization: eliminate index in inner loop 2023-12-17 15:24:28 -05:00
binarycat
bc9ed16c91 more optimization of inner loops related to mvps_push 2023-12-17 15:13:54 -05:00
binarycat
ba9b2509a0 don't check for sticky blocks in locations that are already being pushed 2023-12-17 15:06:53 -05:00
binarycat
00359e7ae8 add profiling debug prints 2023-12-17 14:57:06 -05:00
Luke aka SwissalpS
8e30ee4113
Update mesecons_delayer.de.tr (#649)
This is a casual game, no need for formal voice.
2023-08-26 11:36:20 +02:00
Wuzzy
b318aadd0a
Translate Mesecons to German (#636) 2023-08-05 12:57:46 +02:00
Lejo
fef402e88a
Add string.split function (#500) 2023-06-18 21:43:53 +03:00
DS
f98ea14023
MVPS: make stoppers non-replaceable even if they are buildable_to (#545) 2023-06-18 21:21:32 +03:00
Johannes Fritz
7f8758f17b
Pressure plates: check for entity contact (#632) 2023-06-18 21:05:35 +03:00
Wuzzy
54de66b3e1
Add pitch variations for most noteblock sounds (#535) 2023-03-18 16:42:20 +03:00
fluxionary
6890624f3d
Add option to disable printing inside a luacontroller (#633)
Co-authored-by: DS <vorunbekannt75@web.de>
2023-02-23 19:16:35 +03:00
HybridDog
2589b391e5
Do not print the mesecons OK message 2022-12-22 21:02:36 +01:00
Jude Melton-Houghton
edcdc6817e
Avoid deprecated item metadata accessors (#630) 2022-12-15 18:43:08 +01:00
Jude Melton-Houghton
60240ba268
Fix mvps receptor_off issue (#627) 2022-12-07 13:15:23 +01:00
Jude Melton-Houghton
c10ce2dbc5
Add automated tests for some mods (#605)
Depends on mineunit from https://github.com/S-S-X/mineunit

mesecons, mesecons_mvps, mesecons_fpga, and mesecons_luacontroller are now tested.
2022-12-06 17:54:21 +01:00
jolesh
2ede29df9c
Add Esperanto translation (#625) 2022-12-01 18:33:19 +01:00
fluxionary
a780298cfc
Add recipe to straighten wire (#629)
Add recipe to straighten corner insulated wires
2022-12-01 18:26:47 +01:00
Niklp
bd07fb0c79
Fix typo in hydroturbine recipe (#624) 2022-10-07 23:28:30 +02: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