From 015caba66d63fcbcf2b844f36b502a81e2f0b7a9 Mon Sep 17 00:00:00 2001 From: EvilFactory Date: Mon, 12 Dec 2022 19:14:25 -0300 Subject: [PATCH] Register ContentFile, Steering and OutpostGenerator --- .../Lua/DefaultLib/LibShared.lua | 1 + .../Lua/DefaultRegister/RegisterShared.lua | 56 +++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/Barotrauma/BarotraumaShared/Lua/DefaultLib/LibShared.lua b/Barotrauma/BarotraumaShared/Lua/DefaultLib/LibShared.lua index 7121d59c4..f540d0ff5 100644 --- a/Barotrauma/BarotraumaShared/Lua/DefaultLib/LibShared.lua +++ b/Barotrauma/BarotraumaShared/Lua/DefaultLib/LibShared.lua @@ -106,6 +106,7 @@ defaultLib["DecalManager"] = CreateStatic("Barotrauma.DecalManager", true) defaultLib["AutoItemPlacer"] = CreateStatic("Barotrauma.AutoItemPlacer") defaultLib["PropertyConditional"] = CreateStatic("Barotrauma.PropertyConditional", true) defaultLib["StatusEffect"] = CreateStatic("Barotrauma.StatusEffect", true) +defaultLib["OutpostGenerator"] = CreateStatic("Barotrauma.OutpostGenerator") defaultLib["Md5Hash"] = CreateStatic("Barotrauma.Md5Hash", true) defaultLib["ContentXElement"] = CreateStatic("Barotrauma.ContentXElement", true) diff --git a/Barotrauma/BarotraumaShared/Lua/DefaultRegister/RegisterShared.lua b/Barotrauma/BarotraumaShared/Lua/DefaultRegister/RegisterShared.lua index 1537957b5..cbc608cd3 100644 --- a/Barotrauma/BarotraumaShared/Lua/DefaultRegister/RegisterShared.lua +++ b/Barotrauma/BarotraumaShared/Lua/DefaultRegister/RegisterShared.lua @@ -78,6 +78,9 @@ RegisterBarotrauma("CharacterParams+InventoryParams") RegisterBarotrauma("CharacterParams+HealthParams") RegisterBarotrauma("CharacterParams+ParticleParams") RegisterBarotrauma("CharacterParams+SoundParams") +RegisterBarotrauma("SteeringManager") +RegisterBarotrauma("IndoorsSteeringManager") +RegisterBarotrauma("SteeringPath") RegisterBarotrauma("Item") RegisterBarotrauma("DeconstructItem") @@ -85,6 +88,9 @@ RegisterBarotrauma("PurchasedItem") RegisterBarotrauma("PurchasedItemSwap") RegisterBarotrauma("PurchasedUpgrade") RegisterBarotrauma("SoldItem") +RegisterBarotrauma("StartItem") +RegisterBarotrauma("StartItemSet") +RegisterBarotrauma("RelatedItem") RegisterBarotrauma("UpgradeManager") RegisterBarotrauma("CargoManager") RegisterBarotrauma("FabricationRecipe") @@ -139,6 +145,7 @@ RegisterBarotrauma("Gap") RegisterBarotrauma("PhysicsBody") RegisterBarotrauma("AbilityFlags") RegisterBarotrauma("ItemPrefab") +RegisterBarotrauma("ItemAssemblyPrefab") RegisterBarotrauma("InputType") RegisterBarotrauma("FireSource") @@ -162,7 +169,52 @@ RegisterBarotrauma("ContentPackageId") RegisterBarotrauma("SteamWorkshopId") RegisterBarotrauma("Md5Hash") +RegisterBarotrauma("AfflictionsFile") +RegisterBarotrauma("BackgroundCreaturePrefabsFile") +RegisterBarotrauma("BallastFloraFile") +RegisterBarotrauma("BeaconStationFile") +RegisterBarotrauma("CaveGenerationParametersFile") +RegisterBarotrauma("CharacterFile") +RegisterBarotrauma("ContentFile") +RegisterBarotrauma("CorpsesFile") +RegisterBarotrauma("DecalsFile") +RegisterBarotrauma("EnemySubmarineFile") +RegisterBarotrauma("EventManagerSettingsFile") +RegisterBarotrauma("FactionsFile") +RegisterBarotrauma("ItemAssemblyFile") +RegisterBarotrauma("ItemFile") +RegisterBarotrauma("JobsFile") +RegisterBarotrauma("LevelGenerationParametersFile") +RegisterBarotrauma("LevelObjectPrefabsFile") +RegisterBarotrauma("LocationTypesFile") +RegisterBarotrauma("MapGenerationParametersFile") +RegisterBarotrauma("MissionsFile") +RegisterBarotrauma("NPCConversationsFile") +RegisterBarotrauma("NPCPersonalityTraitsFile") +RegisterBarotrauma("NPCSetsFile") +RegisterBarotrauma("OrdersFile") +RegisterBarotrauma("OtherFile") +RegisterBarotrauma("OutpostConfigFile") +RegisterBarotrauma("OutpostFile") +RegisterBarotrauma("OutpostModuleFile") +RegisterBarotrauma("ParticlesFile") +RegisterBarotrauma("RandomEventsFile") +RegisterBarotrauma("RuinConfigFile") +RegisterBarotrauma("ServerExecutableFile") +RegisterBarotrauma("SkillSettingsFile") RegisterBarotrauma("SoundsFile") +RegisterBarotrauma("StartItemsFile") +RegisterBarotrauma("StructureFile") +RegisterBarotrauma("SubmarineFile") +RegisterBarotrauma("TalentsFile") +RegisterBarotrauma("TalentTreesFile") +RegisterBarotrauma("TextFile") +RegisterBarotrauma("TraitorMissionsFile") +RegisterBarotrauma("TutorialsFile") +RegisterBarotrauma("UIStyleFile") +RegisterBarotrauma("UpgradeModulesFile") +RegisterBarotrauma("WreckAIConfigFile") +RegisterBarotrauma("WreckFile") Register("System.Xml.Linq.XElement") Register("System.Xml.Linq.XName") @@ -336,6 +388,8 @@ RegisterBarotrauma("PrefabCollection`1[[Barotrauma.OrderPrefab]]") RegisterBarotrauma("PrefabCollection`1[[Barotrauma.LevelGenerationParams]]") RegisterBarotrauma("PrefabCollection`1[[Barotrauma.OutpostGenerationParams]]") RegisterBarotrauma("PrefabCollection`1[[Barotrauma.RuinGeneration.RuinGenerationParams]]") +RegisterBarotrauma("PrefabCollection`1[[Barotrauma.LevelGenerationParams]]") +RegisterBarotrauma("PrefabCollection`1[[Barotrauma.LocationType]]") RegisterBarotrauma("PrefabSelector`1[[Barotrauma.SkillSettings]]") @@ -350,6 +404,8 @@ RegisterBarotrauma("MapCreatures.Behavior.BallastFloraBehavior") RegisterBarotrauma("MapCreatures.Behavior.BallastFloraBranch") RegisterBarotrauma("PetBehavior") +RegisterBarotrauma("SwarmBehavior") +RegisterBarotrauma("LatchOntoAI") RegisterBarotrauma("Decal") RegisterBarotrauma("DecalPrefab")