Commit Graph

5087 Commits

Author SHA1 Message Date
Cintique
ebcbcae46d Typo 2022-05-31 14:59:17 +10:00
Cintique
fb6c335f0f Add LuaUserData.CreateUserDataOfType.
Converts a Lua value to a desired CLR type and wraps it in a userdata to avoid automatic conversions.
Example: a Lua script needs to pass a List`1 to a CLR method expecting System.Object, MoonSharp gets
in the way by converting the List`1 to a MoonSharp.Interpreter.Table and breaking everything.
Wrapping the value in a userdata preserves the original type during conversions.
2022-05-31 14:54:09 +10:00
Evil Factory
6922900bf1 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-05-30 12:29:28 -03:00
Evil Factory
de1062df22 Update MoonSharp 2022-05-30 12:26:45 -03:00
Juan Pablo Arce
f74787cd10 v0.17.16.0 2022-05-30 10:25:24 -03:00
Evil Factory
6ddfc985d3 fix AddCommand arguments being wrong and fixed getValidArgs not doing anything 2022-05-28 15:06:22 -03:00
Evil Factory
60b8cd981d add video to installing manually 2022-05-27 17:10:57 -03:00
Evil Factory
83bfc50c9e updated docs and Scissor component registrar 2022-05-27 11:54:00 -03:00
Evil Factory
00da9ba10c Merge pull request #91 from oiltanker/master
path regex fix for unix systems
2022-05-26 12:23:01 -03:00
Oiltanker
6c22eea887 path regex fix for unix systems 2022-05-26 13:23:46 +03:00
Evil Factory
7951754203 fix some hooks not getting triggered in singleplayer 2022-05-25 13:18:52 -03:00
Evil Factory
3218f0a55b disable usage of lua execute commands in public servers 2022-05-24 14:53:57 -03:00
Evil Factory
cf09acfd52 ItemSound and RoundSound 2022-05-24 14:53:43 -03:00
Evil Factory
cf4774a6a7 register ContentXElement and SpriteBatch 2022-05-23 17:59:54 -03:00
Evil Factory
05e9978671 Sounds and LightManager 2022-05-22 13:29:55 -03:00
Evil Factory
1dad86b02f ItemPrefab registers 2022-05-22 12:24:21 -03:00
Evil Factory
7ee81aca24 fix formatting 2022-05-21 12:48:35 -03:00
Joonas Rikkonen
c81410b83e Update bug_report.yml 2022-05-20 16:38:12 +03:00
Evil Factory
c9e13ad412 more io methods 2022-05-19 16:45:01 -03:00
Evil Factory
4078fe024b ExecutionNumber variable that counts how many times lua has been executed 2022-05-19 16:45:00 -03:00
Evil Factory
01168bd852 fix CI
zip-release branch got renamed from master to main
2022-05-19 16:36:53 -03:00
Evil Factory
104983fd37 fix error checking 2022-05-19 14:51:11 -03:00
Evil Factory
ca0da04ad0 better LuaUserData error handling and add Steam.GetWorkshopCollection 2022-05-19 14:26:21 -03:00
Joonas Rikkonen
11a40ee24c Update bug_report.yml 2022-05-19 17:38:29 +03:00
Evil Factory
6ee6b5cd15 improve custom converters 2022-05-18 19:09:28 -03:00
Evil Factory
144e731d5e Merge pull request #88 from oiltanker/master
fix cs doc generation
2022-05-18 16:05:42 -03:00
Oiltanker
6d239160e9 fix cs doc generation 2022-05-18 21:56:50 +03:00
Evil Factory
88dedcf9c1 fix DownloadWorkshopItemAsync 2022-05-17 20:37:51 -03:00
Evil Factory
74bf5d12ca added Steam.DownloadWorkshopItem and Steam.GetWorkshopItem 2022-05-17 19:15:44 -03:00
Evil Factory
cf500081d1 renamed hooks (with compatibility), added new hook: character.giveJobItems (because of how often its used) and updated hook docs 2022-05-17 12:24:52 -03:00
Evil Factory
fd6b833c98 misc doc fixes 2022-05-16 13:53:39 -03:00
Evil Factory
cb29c27752 fix Game docs 2022-05-16 13:27:24 -03:00
Evil Factory
73d5edfafa GUI and skill registers 2022-05-15 12:57:07 -03:00
Evil Factory
fbec2aa8b0 Merge pull request #87 from oiltanker/master
cs RunConfig fix
2022-05-15 10:22:10 -03:00
Oiltanker
1ce8cb8cac cs RunConfig fix 2022-05-15 16:07:12 +03:00
Evil Factory
264ed1f4de Merge branch 'Regalis11:master' into master 2022-05-14 22:53:07 -03:00
Evil Factory
a9d605bffc misc registers 2022-05-14 11:06:17 -03:00
Evil Factory
003aeb2cec Update Harmony (fixes patch hooks being randomly removed) 2022-05-14 00:09:17 -03:00
Evil Factory
c6ced9bdc3 Merge pull request #86 from oiltanker/master
added RunConfig cs documentation
2022-05-13 21:26:22 -03:00
Oiltanker
69d4b2c355 added RunConfig cs documentation 2022-05-14 02:54:30 +03:00
Evil Factory
6c81532ffe Merge pull request #85 from oiltanker/master
declared & forced runs of cs mods
2022-05-13 19:49:07 -03:00
Oiltanker
f2ca5fa57d declared & forced runs of cs mods 2022-05-14 01:44:01 +03:00
Evil Factory
3c84a5a1a5 Merge pull request #84 from oiltanker/master
RespawnManager Update method hook
2022-05-13 14:50:37 -03:00
Oiltanker
b830d87564 RespawnManager Update method hook 2022-05-13 20:48:19 +03:00
Evil Factory
cf5a29e0c7 update links 2022-05-13 12:33:08 -03:00
Joonas Rikkonen
43742666c7 Update bug_report.yml 2022-05-13 16:42:59 +03:00
Joonas Rikkonen
13b51337bf Added latest unstable to issue template 2022-05-13 11:16:14 +03:00
Evil Factory
9378c901bf Revert "accidentally left this line commented"
This reverts commit c289cbf94e.
2022-05-12 15:16:51 -03:00
Evil Factory
c289cbf94e accidentally left this line commented 2022-05-11 11:37:20 -03:00
Evil Factory
2630c8354c added item.deconstructed hook, misc registers and luacs is now initialized before campaign/sub editor is loaded 2022-05-10 13:55:10 -03:00