More loot items added

Tusken Raider Clothing
Gaffis
CDEF Rifles
Worked on weapon drops and giving them stats
Refactored the item scripts to use lists to  allow random templates
Tweaked the drop chances to be close to how they were in live
This commit is contained in:
CharonInferar
2014-04-15 20:34:58 +02:00
parent 67cf7d3c72
commit 161a64bcd0
68 changed files with 292 additions and 123 deletions
+14 -4
View File
@@ -2,14 +2,24 @@ import sys
def setup(core, object):
lootPoolNames_1 = ['Junk','Rifles']
lootPoolChances_1 = [90,70]
lootPoolNames_1 = ['Junk']
lootPoolChances_1 = [100]
lootGroupChance_1 = 90
object.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
lootPoolNames_2 = ['Colorcrystals']
lootPoolChances_2 = [100]
lootPoolNames_2 = ['batons','random_loot_rifles',]
lootPoolChances_2 = [60,40]
lootGroupChance_2 = 20
object.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
lootPoolNames_3 = ['tusken_raider_clothing']
lootPoolChances_3 = [100]
lootGroupChance_3 = 10
object.addToLootGroups(lootPoolNames_3,lootPoolChances_3,lootGroupChance_3)
lootPoolNames_4 = ['Colorcrystals']
lootPoolChances_4 = [100]
lootGroupChance_4 = 6
object.addToLootGroups(lootPoolNames_4,lootPoolChances_4,lootGroupChance_4)
return