BrothelSystem/BrothelSystem/mod.lua

29 lines
No EOL
602 B
Lua

local mod = foundation.createMod();
mod:registerAssetId("models/brothel.fbx/Prefab/Brothel", "PREFAB_BROTHEL")
mod:register({
DataType = "BUILDING",
Id = "BROTHEL",
Name = "BROTHEL_NAME",
Description = "BROTHEL_DESC",
BuildingType = "GENERAL",
BuildingPartSetList = {
{
Name = "BROTHEL_NAME",
BuildingPartList = { "BROTHEL" }
}
}
})
mod:register({
DataType = "BUILDING_PART",
Id = "BROTHEL",
Name = "BROTHEL_NAME",
Description = "BROTHEL_DESC",
Category = "GENERAL",
ConstructorData = {
DataType = "BUILDING_CONSTRUCTOR_DEFAULT",
CoreObjectPrefab = "PREFAB_BROTHEL"
}
})