Evil Factory
86066282cc
make my eyes happier: Random is now deprecated, moved lots of code around in a way that makes more sense and better LuaUserData error handling
2022-03-17 12:47:19 -03:00
Evil Factory
53c7bcc6d5
fix errors when executing Lua mods being weird (not completely tested)
2022-03-16 06:39:57 -03:00
Evil Factory
cc2a4b1b7b
fix a small mistake that caused lua mods to not properly load 💀
2022-03-12 22:24:14 -03:00
Evil Factory
33b181784a
added ItemSlot register
2022-03-12 22:23:35 -03:00
Evil Factory
394dda97f3
fix broken client-side registration
2022-03-09 21:01:39 -03:00
Evil Factory
2a7837138e
Accidentally left Vector2 without the metatable
2022-03-09 17:33:52 -03:00
Evil Factory
a5228583d0
Updated Moonsharp Interpreter, added support for implicit conversions, new types: LuaByte, LuaUShort and LuaFloat added to solve method overload conflict, support for setting UserData metatables, remove LuaUserData.AddCallMetaMethod and moved GUI object to Lua
2022-03-09 13:35:11 -03:00
Evil Factory
9c0bcaa44f
use Game.GameSettings instead of GetEnabledContentPackages
2022-03-05 21:32:31 -03:00
Evil Factory
6d00e210f0
added GameSettings and ChatBox
2022-02-28 19:57:06 -03:00
Evil Factory
147307c891
register CrewManager
2022-02-24 16:05:53 -03:00
Evil Factory
db7a6a0bea
register WreckAI and WreckAIConfig
2022-02-21 11:45:00 -03:00
Evil Factory
d3e0625ef4
Lua is automatically initialized when entering singleplayer campaigns (doesn't include submarine editor) and roundStart && roundEnd hooks now work in CL Lua
2022-02-14 16:19:53 -03:00
Evil Factory
8f3ab34b50
remove semi colons from LuaSetup.lua
2022-02-11 18:19:06 -03:00
Evil Factory
21f314aed0
Revert "limit how many errors can be sent per second (prevents message queue from overflowing and stopping all commands from working) and removed useless semicolons that i added for some reason here"
...
This reverts commit 62cda52342 .
2022-02-11 18:16:10 -03:00
Evil Factory
62cda52342
limit how many errors can be sent per second (prevents message queue from overflowing and stopping all commands from working) and removed useless semicolons that i added for some reason here
2022-02-10 12:59:32 -03:00
Evil Factory
ffe544d406
add some networking registration
2022-02-07 18:06:46 -03:00
Evil Factory
4e73235276
fix broken registration, these classes aren't needed anyway
2022-02-07 17:34:17 -03:00
Evil Factory
0adcb7c3e2
add new hooks: human.CPRSuccess and human.CPRFailed
2022-02-07 17:12:26 -03:00
Evil Factory
1f751152db
added loaded hook, called after all mods been loaded
2022-02-06 19:27:26 -03:00
Evil Factory
6b723c6fd0
add action type enum
2022-02-02 11:53:28 -03:00
Evil Factory
15294a4a61
rename item hooks to use the new name scheme, register body, new meleeWeapon.handleImpact hook and statusEffect.apply.ItemIdentifier hook
2022-02-02 11:52:08 -03:00
Evil Factory
28b08becd1
add LimbType, fix broken links in docs and improve docs in general
2022-01-29 21:00:22 -03:00
zhurengong
6daf410e50
Improve Harmony Hook
...
1. Hook.HookMethod can patch overloaded methods based on parameter types
2. Hook.HookMethod can add more patches to the method
3. Find all hook methods by the address of the function (origin method), not by the method path (string).
4. Fixed unable to add postfix patch to method (__params changed to __args)
5. Fix patching method will cause duplicate patches to be added
2022-01-27 22:50:34 +08:00
Evil Factory
740e51ce48
add "Range`1[System.Single]" to the default registration list
2022-01-23 19:50:39 -03:00
Evil Factory
33ca66fcae
EntitySpawnerComponent
2022-01-17 10:10:59 -03:00
Evil Factory
f5fe166e8c
ballast flora registers
2022-01-11 22:00:43 -03:00
Evil Factory
595f80e429
fix broken GUI library
2022-01-01 15:27:31 -03:00
Evil Factory
036b42ca7e
new performance improvement setting and client-side lua fixes
2021-12-30 17:26:51 -03:00
Evil Factory
e6d170329a
tryChangeClientName, LidgrenHandleConnection, handlePendingClient hooks and some other things
2021-12-28 12:37:51 -03:00
Evil Factory
71e39f1422
add NetEntityEvent, CreateEntityEvent and item.readPropertyChange hook
2021-12-27 15:41:45 -03:00
Evil Factory
f04d897370
fix client-side lua errors
2021-12-26 13:32:45 -03:00
Evil Factory
72f770d83b
whoops, don't execute mods if using client-side lua
2021-12-13 18:04:06 -03:00
Evil Factory
3b1cb7a265
add job to default lib
2021-12-13 12:38:20 -03:00
Evil Factory
803291669d
add call meta member to Job
2021-12-13 12:29:04 -03:00
Evil Factory
2144c89efb
add TextManager as static lib
2021-12-08 19:25:41 -03:00
Evil Factory
d078b3e2fe
update docs and register Upgrade
2021-12-07 17:52:41 -03:00
Evil Factory
7ab00eb161
exposed ServerPeer and ClientPeer to lua
2021-12-06 11:31:39 -03:00
Evil Factory
4ea4e4e0bd
allow some degree of control over human bots
2021-12-04 13:15:04 -03:00
Evil Factory
e70b0c9edc
added NetworkConnections to registration list
2021-12-02 14:32:37 -03:00
Evil Factory
a65160dcbd
fix item hooks not working properly
2021-11-28 13:52:36 -03:00
Evil Factory
878dbb30bc
register bunch of components and fix enumerations in documentation
2021-11-26 22:56:29 -03:00
Evil Factory
a5721295bc
register IdCard
2021-11-26 22:17:18 -03:00
Evil Factory
3127bfa037
fixed wrong hook type
2021-11-24 21:25:18 -03:00
zhurengong
9dcfc5f80d
fix bugs that call Player.SetRadioRange cause different results in different languages
2021-11-23 00:36:03 +08:00
Evil Factory
ec89822fb3
make ClientPermissions a static table
...
Registering the enum is not possible, explained in the pull request #30
2021-11-21 13:45:05 -03:00
zhurengong
8b312c0f65
Fix the CheckPermission method does not return
2021-11-19 23:48:26 +08:00
Evil Factory
1f84c0c801
fix module path not working correctly in workshop version and update workshop
2021-11-18 18:51:46 -03:00
Evil Factory
3a4f3cded4
added job assigned hook
2021-11-16 19:41:02 -03:00
Evil Factory
46166f124a
add firesource
2021-11-13 12:16:08 -03:00
Evil Factory
f9302b36b5
forgot to include compatibility Lua lib in 6cda213
2021-11-11 12:23:32 -03:00