Commit Graph

25 Commits

Author SHA1 Message Date
HybridDog
e1f07e048d Fix timegate's dependency on utils
The addition of dependencies in commit 52fc535d26
was incomplete, so loading the moremesecons_timegate mod can fail.

This change adds the moremesecons_utils dependency to those mods which
require the moremesecons table as reported by luacheck.
I've also made .luacheckrc more strict so that it sets globals per mod
and allows reading the moremesecons table only in mods which also have
the moremesecons_utils dependency.
2025-12-25 12:42:43 +01:00
sys4-fr
e47e855baf Replace deprecated depends.txt with mod.conf (#24) 2022-07-15 17:11:39 +02:00
HybridDog
c41d0371c0 Various code fixes detected by luacheck
* Luablock: Fix the missing position argument when executing the lua code fails
* Wireless: Fix the missing id argument
* Localize several variables
* Some other small changes, e.g. dead code removal
2021-03-08 19:40:21 +01:00
HybridDog
4d7508ae70 Recompress the textures
This reduces the PNG file sizes and fixes the invalid sRGB profile warnings.
I have additionally reduced the moremesecons_luablock.png resolution to 32x32.
2020-08-07 20:53:37 +02:00
HybridDog
0000cfb474 Remove old vector_extras code and use the MapDataStorage 2020-04-14 08:49:21 +02:00
upsilon
8c8cdd38ff Add mesecons_luacontroller as a dependency to the luacontroller tool. 2020-04-09 19:22:15 +02:00
upsilon
8a56370ce8 Allow using templates on multiple luacontrollers
Fixes #8
Patch submitted by @oiaohm
2018-02-27 16:33:18 +01:00
upsilon
dbd5c4cf99 Luacontroller tool: add counter and clock templates (#7) 2017-06-08 16:33:53 +02:00
upsilon
400e90c9ca Fix luacontroller tool crash
Set "sender" parameter when executing on_receive_fields callback
2017-06-08 16:01:33 +02:00
upsilon
d8c859a162 Define vector_extras functions in moremesecons_utils
if vector_extras is not loaded
Loading vector_extras is still recommended because its functions may be more up-to-date.
2017-04-19 21:41:10 +02:00
Pierre-Adrien Langrognet
d35966f082 Luacontroller tool: crashfix
The crash happened when the player uses the luacontroller tool without pointing any node.
2016-08-29 13:25:12 +02:00
HybridDog
8f303f1b2a fix luactontroller tool, untested 2016-02-06 12:00:45 +01:00
HybridDog
d61e9b7bd1 update MoreMesecons templates 2015-12-28 11:36:28 +01:00
HybridDog
76f970742d use the luacontroller tool when left clicking instead of right click 2015-12-28 11:19:55 +01:00
HybridDog
30242162df fix typo, add save name field and update formspec element sizes 2015-12-28 11:16:07 +01:00
HybridDog
d3495ecb6d fix missing brackets, move template name selection menu right of the player one and comment sending the fields 2015-12-28 10:45:29 +01:00
HybridDog
918d27db1f dont save if its not necessary on shutdown 2015-12-25 14:21:16 +01:00
HybridDog
b657ea2c3a untested: fix possibly crashes and update saving templates 2015-12-23 19:11:27 +01:00
HybridDog
80d173631c better fitting texture and save the templates of players to the worldpath 2015-12-23 18:33:19 +01:00
HybridDog
f59def1aa1 luacontroller tool: fix changing player_name and template_name and setting code to a luacontroller 2015-12-20 12:47:04 +01:00
HybridDog
8f9e3b4321 luacontroller tool: fix dropdowns, add textarea and use more formspec fields instead of pdata 2015-12-20 12:47:04 +01:00
paly2
b6cb4bc246 Add a reset_meta function 2015-12-20 11:36:34 +01:00
paly2
a9fb0f5bdd Try to change the luacontroller tool formspec 2015-12-20 11:12:41 +01:00
HybridDog
d095fecefa slight change in the teleporters file and add luacontroller detection 2015-12-19 19:18:11 +01:00
HybridDog
ca1adbedba very unfinished: luacontroller tool 2015-12-18 17:33:40 +01:00