Evil Factory
eb20ff1a4e
added component register
2022-04-14 15:21:14 -03:00
Evil Factory
3dc7a4689d
SlotReference and Inventory static reference
2022-04-11 21:23:09 -03:00
Evil Factory
96fdefb9ed
lua now runs on sub editor, added Game.GetEnabledContentPackages back for compatibility and printerror
2022-04-10 18:58:25 -03:00
Evil Factory
e625c88939
content package fixes
2022-04-10 12:39:02 -03:00
Evil Factory
b7d0376320
fixed restrictMessageSize and added writeClientList back
2022-04-10 12:21:07 -03:00
Evil Factory
dc7a7bd74d
bunch of fixes that include fixing lua networking, script loading and client side lua installation
2022-04-09 21:44:18 -03:00
Evil Factory
e1d0b8235f
fix LuaRandom compatibility
2022-04-09 14:36:34 -03:00
Evil Factory
e1e0fd6acf
Bunch of fixes
2022-04-09 09:06:29 -03:00
Evil Factory
0702d41a73
register KeyboardState
2022-04-07 16:25:57 -03:00
Evil Factory
1c6fa1a261
InputType should be registered
2022-04-07 16:19:37 -03:00
Evil Factory
6cc0c9eb6e
register Barotrauma.GUINumberInput and Barotrauma.GUI
2022-04-07 15:24:45 -03:00
Evil Factory
b20128b8cb
register ScalableFont
2022-04-07 12:11:23 -03:00
Evil Factory
c6439d3e41
added Matrix datatype to registration
2022-04-02 21:28:48 -03:00
Evil Factory
2520fe7268
Most enums are now just tables, no need for registration
2022-04-02 16:55:43 -03:00
Evil Factory
a404ed1680
dont register the InputType enum, leaving it as numbers is more convenient
2022-04-02 15:59:05 -03:00
Evil Factory
3bcf97201a
InputType enum
2022-04-02 15:44:12 -03:00
Evil Factory
d23627f0af
ability enums
2022-03-31 13:32:03 -03:00
Evil Factory
bd0a5980fb
add static reference to all components
2022-03-29 11:52:26 -03:00
Evil Factory
b2587f2307
campaign related registers
2022-03-28 20:03:10 -03:00
Evil Factory
fd377454a3
register Sonar
2022-03-26 13:04:31 -03:00
Evil Factory
f9d7c0c2be
All descriptors are now accessible via a global table, for easier access
2022-03-25 15:06:13 -03:00
Evil Factory
d4dd6afec9
forgot to add callmethod
2022-03-22 15:11:04 -03:00
Evil Factory
ab4f318806
added AttackResult
2022-03-22 15:08:25 -03:00
Evil Factory
267f65dcfd
added Faction
2022-03-22 10:02:27 -03:00
Evil Factory
8986faebdb
default register gamemodes
2022-03-22 09:58:02 -03:00
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