Added distributions
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -2,12 +2,6 @@
|
|||||||
"folders": [
|
"folders": [
|
||||||
{
|
{
|
||||||
"path": "."
|
"path": "."
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "../PerformanceTestFramework"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "../TestFramework"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings": {}
|
"settings": {}
|
||||||
|
|||||||
34
media/lua/server/TOC/Distributions.lua
Normal file
34
media/lua/server/TOC/Distributions.lua
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user