Jude Melton-Houghton
bbc6391e0a
Calculate light update conductors at the beginning
...
This was suggested by sfan5. This saves on memory, and I think it's a
bit faster too. I didn't use register_on_mods_loaded. This is because
other mods might register their own callbacks which run after mesecons'.
These callbacks could override node properties. The code does not check
the same conductor twice. This makes the code a bit more complicated,
but some conductors have many states. If a conductor has 16 states, it
requires 256 checks in the initial light update calculation. I think
this is worth avoiding, especially since I don't know the maximum number
of states a conductor can have.
2021-11-17 18:32:08 -05:00
Jude Melton-Houghton
8277799f29
Optimize light updates when turning on and off
2021-11-16 17:17:03 -05: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
Wuzzy
95e6e2e4a5
Add sound effects to FPGA programmer ( #510 )
2020-06-27 08:48:24 +02:00
David Leal
168a923665
Use mod.conf for dependencies ( #492 )
2020-06-27 02:26:14 +03:00
Maksim
8dec053996
Solarpanel: cleanup ( #504 )
2020-06-27 02:06:30 +03:00
Awkor
e1cffdedbf
Gates: Modify appearance ( #515 )
2020-05-27 23:31:51 +02:00
cheapie
d3aedd2b98
Speed up search for objects to be moved in MVPS ( #512 )
2020-04-25 00:33:00 +02: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
SmallJoker
9b58f8db29
FPGA: Add 'unary' value to talbe. Document
2019-11-10 11:35:02 +01:00
SmallJoker
7784b13da5
FPGA: Add NOR operand
2019-11-10 11:35:02 +01:00
SmallJoker
0dd530312b
FPGA: Remove formspec from metadata
2019-11-10 11:35:02 +01:00
SmallJoker
e78bbd6f98
FPGA: Unify actions in single table
2019-11-10 11:35:02 +01:00
SmallJoker
bfd952b51a
Delayer: Combine shared definitions, add protection ( #490 )
2019-11-04 20:00:43 +01:00
HybridDog
b7873e8e02
Code tidy: Remove redundant params ( #486 )
2019-10-05 14:13:59 +02:00
fluxionary
d6b2a39c99
Set mvps_protection_mode default to the documented value ( #484 , base: #466 )
2019-09-24 17:25:07 +03:00
Vitaliy
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
Vitaliy
15e743629e
Respect protection in MVPS ( #466 )
2019-09-20 23:04:52 +00:00
Panquesito7
1bf862f932
Use modpack.conf instead of legacy modpack.txt ( #475 )
2019-08-25 23:36:21 +03:00
coil
1a9704f184
Add digiline commands for operating node detector ( #472 )
2019-08-21 23:52:33 +03:00
Hugo Locurcio
8baa789eb1
Optimize images ( #464 )
...
Recompress losslessly using `optipng` and `advpng`
2019-06-27 22:33:11 +03:00
Piotr Halama
b0158f5674
Too many glasses in noteblock
2019-04-10 23:00:58 +02:00
DS
073c92d487
Revert "Fix sticky pistons ( #403 )" ( #458 )
...
This reverts commit d8f82e6771 .
2019-03-17 10:29:04 +01:00
Thomas Rudin
737f366741
LuaC: add lightweight interrupts ( #449 )
2018-12-29 23:48:32 +03:00
Christopher Head
302a28934d
Document inactive block behaviour ( #447 )
v1.2.1
2018-12-21 22:10:08 +03:00
Vitaliy
6e767a6c76
Make sticky piston stick falling things as well ( #436 )
2018-12-21 22:02:57 +03:00
Christopher Head
9d239cbfff
Fix typos ( #442 )
2018-12-09 16:38:23 +03:00