diff --git a/BrothelSystem/generated_ids.lua b/BrothelSystem/generated_ids.lua new file mode 100644 index 0000000..df97a94 --- /dev/null +++ b/BrothelSystem/generated_ids.lua @@ -0,0 +1,13 @@ +-- This is a generated file +-- Do not modify it, unless you know exactly what you are doing + +ModId = "b8471b52-6089-4dbf-98cf-0b7faf1f06ca" + +IdMap = { + { "BROTHEL", "BUILDING_PART", "7195bf3a-b86e-46fe-b694-c03659119570" }, + { "BROTHEL", "", "00000000-0000-0000-0000-000000000000" }, + { "BROTHEL", "", "00000000-0000-0000-0000-000000000000" }, + { "BROTHEL", "", "00000000-0000-0000-0000-000000000000" }, + { "models/Brothel_base.fbx", "", "93cc1a96-9874-435f-8734-6626af083d3a" }, + { "models/PolygonPrototype_Texture_03.png", "", "60a49bc3-7598-4137-b8fe-0ba016806d1e" }, +} diff --git a/BrothelSystem/localization/en/text.json b/BrothelSystem/localization/en/text.json new file mode 100644 index 0000000..af66c90 --- /dev/null +++ b/BrothelSystem/localization/en/text.json @@ -0,0 +1,10 @@ +{ + "BUILDINGS": { + "BROTHEL_NAME":"Brothel" + + }, + + "BUILDING_DESCRIPTIONS": { + "BROTHEL_DESC":"A giant decorative boulder" + } +} \ No newline at end of file diff --git a/BrothelSystem/localization/fr/text.json b/BrothelSystem/localization/fr/text.json new file mode 100644 index 0000000..c6c20d5 --- /dev/null +++ b/BrothelSystem/localization/fr/text.json @@ -0,0 +1,10 @@ +{ + "BUILDINGS": { + "BROTHEL_NAME":"Bordel" + + }, + + "BUILDING_DESCRIPTIONS": { + "BROTHEL_DESC":"Un bordel" + } +} \ No newline at end of file diff --git a/BrothelSystem/mod.json b/BrothelSystem/mod.json new file mode 100644 index 0000000..a2cecb6 --- /dev/null +++ b/BrothelSystem/mod.json @@ -0,0 +1,13 @@ +{ + "Name": "Brothel system", + "Author": "Lucastucious", + "Description": "A Brothel system", + "Version": "0.1.0", + + "AdditionalLanguageList": [ + { + "Name": "French", + "Code": "fr" + } + ] +} \ No newline at end of file diff --git a/BrothelSystem/mod.lua b/BrothelSystem/mod.lua new file mode 100644 index 0000000..2fb8b59 --- /dev/null +++ b/BrothelSystem/mod.lua @@ -0,0 +1,29 @@ +local mod = foundation.createMod(); + +mod:registerAssetId("models/Brothel_base.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" + } +}) \ No newline at end of file diff --git a/BrothelSystem/models/Brothel_base.fbx b/BrothelSystem/models/Brothel_base.fbx new file mode 100644 index 0000000..a7207ac Binary files /dev/null and b/BrothelSystem/models/Brothel_base.fbx differ diff --git a/BrothelSystem/models/Brothel_base.fbx.meta b/BrothelSystem/models/Brothel_base.fbx.meta new file mode 100644 index 0000000..d064dfd --- /dev/null +++ b/BrothelSystem/models/Brothel_base.fbx.meta @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BrothelSystem/models/PolygonPrototype_Texture_03.png b/BrothelSystem/models/PolygonPrototype_Texture_03.png new file mode 100644 index 0000000..4447108 Binary files /dev/null and b/BrothelSystem/models/PolygonPrototype_Texture_03.png differ