Anton Uramer
Anton Uramer
Instead of providing spells (or other records) in a record store json, add them by running an OnServerPostInit handler ```Lua customEventHooks.registerHandler('OnServerPostInit', function() RecordStores.spell.data.permanentRecords["test"] = { baseId = "p_fortify_personality_b", name =...
Made this as a temporary solution to https://github.com/rxi/lite/issues/58 It's not ideal, because numlock state changes are only tracked within lite editor itself, but at least for me this is good...
```C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>luarocks install luasql-postgres PGSQL_DIR="C:\Program Files\PostgreSQL\12" Installing http://luarocks.org/repositories/rocks/luasql-postgres-2.5.0-1.rockspec... Cloning into 'luasql'... remote: Enumerating objects: 2736, done. remote: Total 2736 (delta 0), reused 0 (delta 0), pack-reused 2736...
Necessary for Lua API keybinds to work
Hello. What's the recommended way to create custom containers, which can hold indirect self-references? From my testing, they never get garbage-collected. Example Lua code ```Lua do local container = myApi.makeContainer()...
It would be more consistent to allow records to also be maps, not just arrays. It's a common Lua pattern to have a map which also has added (meta) fields...
Reproduction in a playground: https://teal-playground.netlify.app/?c=bG9jYWwgcmVjb3JkIEENCmVuZA0KDQpsb2NhbCByZWNvcmQgQg0KZW5kDQoNCmxvY2FsIGE6IEEgPSB7fQ0KbG9jYWwgYjogQiA9IHt9DQoNCi0tW1sNCi0tIGNhbm5vdCBkaXNjcmltaW5hdGUgYSB1bmlvbiBiZXR3ZWVuIG11bHRpcGxlIHRhYmxlIHR5cGVzOiBBIHwgQg0KbG9jYWwgdDogdGFibGUgPSB7YSwgYn0NCl1dDQoNCi0tIG5vIGVycm9yPw0KbG9jYWwgdDogdGFibGUgPSB7e2EsIGJ9fQ0KDQpsb2NhbCBmdW5jdGlvbiB0YWtlc1RhYmxlKHQ6IHRhYmxlKQ0KZW5kDQoNCi0tIGNhbm5vdCBkaXNjcmltaW5hdGUgYSB1bmlvbiBiZXR3ZWVuIG11bHRpcGxlIHRhYmxlIHR5cGVzOiBBIHwgQg0KdGFrZXNUYWJsZSB7IGEsIGIgfSAtLSBhbm5veWluZyB1c2UgY2FzZQ0K ```Teal local record A end local record B end local a: A = {} local b: B = {} --[[ -- cannot discriminate a union...