Commit Graph

229 Commits

Author SHA1 Message Date
8051129f82 Russian translation, gates localization (#692) 2024-12-19 22:03:34 +01:00
ff87cf3162 Add smoke test with engine using Docker 2024-08-26 22:03:10 +02:00
368b294c70 Fix mesecons displayed as unknown(??) mod in the profiler (#679) 2024-08-16 11:37:44 +02:00
e71cdb6f08 Add French translation (#675) 2024-08-01 17:19:49 +02:00
0a4651c33c Changes to torch and delayer appearance (#669)
* plantlike, x-shaped torch
* removed separate LEDs for luacontroller since already contained in base mod it depends on
* changed delayer textures to be more consistent with other gates
* Reduced the amount of textures needed for pistons with texture modifiers. Will continue to work fine with all existing texturepacks. No change in graphics.
* use luacontroller_LED instead of microcontroller_LED to prevent breaking the digistuff mod which inherits it. I hope no mods inherit microcontroller LED.
2024-06-08 13:43:47 +02:00
7418d5cb61 Reduce redundancy in minetest.registered_nodes lookups 2023-12-27 11:21:05 +01:00
b318aadd0a Translate Mesecons to German (#636) 2023-08-05 12:57:46 +02:00
2589b391e5 Do not print the mesecons OK message 2022-12-22 21:02:36 +01:00
60240ba268 Fix mvps receptor_off issue (#627) 2022-12-07 13:15:23 +01:00
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
2ede29df9c Add Esperanto translation (#625) 2022-12-01 18:33:19 +01:00
121082859f Handle invalid param2 in presets.lua (#623) 2022-09-11 14:50:26 +02:00
0a4a88b1b9 Consolidate horizontal rules getters (#602) 2022-06-05 11:19:18 +02:00
960b7c4915 Make some fixes to movement and rotation (#584) 2022-05-07 22:24:58 +02:00
f4070d3e64 Use FIFO queue for mvps (#599) 2022-04-01 23:33:41 +02:00
399ee9f5b5 Avoid duplicating VManip data in Lua memory (#600) 2022-03-08 18:15:30 +01:00
1d30891349 Move default dependency to individual mods that need it 2022-02-19 17:13:31 +01:00
3c27bb9350 Fix VM light update issue (#590) 2022-02-13 00:19:33 +01:00
fb255d292e Add .luacheckrc and fix issues it pointed out (#589) 2022-02-12 20:12:12 +01:00
4c5b13a347 Fix conductor lighting when aliases are used (#582) 2022-01-30 01:23:53 +01:00
ecea0a2896 Optimize light updates when turning conductors on and off (#578) 2021-11-27 16:28:13 +01:00
9323445182 Only skip conductors with flat rules in turnon/off 2021-08-21 13:30:28 +02:00
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
db5879706d Fix on_placenode conductor turnon link direction (#572) 2021-07-24 18:40:43 +02:00
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
583d2c1441 Replace mesecon.mergetable (#533) 2020-12-19 23:12:00 +03:00
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
168a923665 Use mod.conf for dependencies (#492) 2020-06-27 02:26:14 +03:00
DS
68c1729990 Refactor actionqueue.lua (#501)
Reduce actionqueue complexity, thus faster execution
Improve code style
Add documentation/explanations
2020-01-06 21:59:02 +01:00
1b54011b68 Use table.copy in mesecons.tablecopy
mesecons.tablecopy didn’t support recursive tables, while Minetest table.copy works well for them.
2019-09-23 19:50:04 +02:00
8baa789eb1 Optimize images (#464)
Recompress losslessly using `optipng` and `advpng`
2019-06-27 22:33:11 +03:00
444cd0f2f1 Replace usage of default.LIGHT_MAX with minetest.LIGHT_MAX
It was moved a long time ago and the former is not guaranteed to be available.
fixes #424
2018-07-24 21:30:04 +02:00
f70a308bb0 Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2018-03-25 22:05:10 +02:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
f78937b351 Fix typo 2017-10-21 17:05:09 +03:00
DS
37eb7f00e8 Improve rules and rule handling (#370) 2017-10-08 02:39:02 +03:00
DS
905260c8db Handle blasts (#356) 2017-10-07 01:44:49 +03:00
DS
1f5601661e Do not reset conductor param2 on place (#364) 2017-10-04 00:55:33 +03:00
54b9eaffa2 Improve overheating (#334)
New overheating system that doesn’t use the meta.
2017-04-14 23:14:17 +04:00
07d074075c FPGAs (#315) 2017-01-28 11:33:13 +01:00
54daee236e Luacontroller: Revert function stripping from digiline messages 2017-01-15 20:11:12 +01:00
1bd936ad8c Properly handle rotation of buttons / levers
Buttons and levers can now also be pointed upwards / downwards which will make them connect to corresponding up / down receivers. You will need to use the screwdriver for this.

Receivers cannot be rotated using the screwdriver anymore.
2017-01-02 14:51:28 +01:00
8743699298 Luacontroller: Fix bugs in 703e6fda, no more functions as keys
Thanks to @ShadowNinja for reporting this
Make sure functions that are keys in tables and functions inside nested tables also get removed when using digiline_send.
2016-12-31 10:43:45 +01:00
703e6fdadb Luacontroller: Restrict digiline messages
Restrict maximum length of messages to 50.000 characters and disable sending functions or table references over the wire. Restrict types of channel variable to string, number or boolean.

The missing length restriction made DoS-like attacks possible by overflowing memory using string concatenation. Thanks to gamemanj for disclosing this issue.
2016-12-28 10:07:59 +01:00
203aaf3c90 Remove an unused function. 2016-11-17 14:55:02 +01:00
95fedc88bc Never postpone action_on or action_off
There is no more need for that since VoxelManip caching makes sure we
always get an answer to get_node_force.
2016-09-04 09:50:30 +02:00
433778c2ec Add Hawk777 to contributor list, update developer documentation URL 2016-09-04 09:32:41 +02:00
54efc64558 Duplicate unhash_blockpos code to legacy.lua
Duplicating that small piece of code seems like a better idea than
putting the undo-forceloading code back into util.lua. This way, it is
easier to remember to remove that unneccesary code after a couple of
months / years, when people have transitioned. This also means we can
make changes to the code in util.lua without breaking old code.
2016-08-31 08:46:11 +02:00
dfeb070a20 Remove some long unused legacy code
The change that required this compatibility layer happened in
2014, so other mods have had a lot of time to update.
2016-08-30 20:54:20 +02:00