Commit Graph

918 Commits

Author SHA1 Message Date
Jude Melton-Houghton
2d6c987cf0 Make code less syntactically ambiguous 2022-12-08 09:14:10 -05:00
Jude Melton-Houghton
776c7e0b23 Compile FPGA configurations to Lua 2022-12-07 09:57:16 -05: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
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