Added distributions

This commit is contained in:
ZioPao
2024-03-17 18:14:18 +01:00
parent 3be619c329
commit f38d68a35a
3 changed files with 37 additions and 7 deletions

View File

@@ -1,2 +1,4 @@
# Dev Version
# Dev Version
Temp readme, gonna be reworked for the next release. Temp readme, gonna be reworked for the next release.

View File

@@ -2,12 +2,6 @@
"folders": [ "folders": [
{ {
"path": "." "path": "."
},
{
"path": "../PerformanceTestFramework"
},
{
"path": "../TestFramework"
} }
], ],
"settings": {} "settings": {}

View File

@@ -0,0 +1,34 @@
require('Items/Distributions')
require('Items/SuburbsDistributions')
--SuburbsDistributions = SuburbsDistributions or {}
-- Insert Prosts and various items in the Medical Clinic loot table
local prosthesisLoot = {
[1] = {
name = "TOC.Prost_HookArm_L",
chance = 10
},
[2] = {
name = "TOC.Prost_NormalArm_L",
chance = 10
},
[3] = {
name = "TOC.Surg_Arm_Tourniquet_L",
chance = 25
}
}
for i=1, #prosthesisLoot do
local tab = prosthesisLoot[i]
table.insert(ProceduralDistributions.list.MedicalClinicTools.items, tab.name)
table.insert(ProceduralDistributions.list.MedicalClinicTools.items, tab.chance)
end