Lootlists

Changing & adding lootlists

Create new items

 1init 11 python:
 2
 3  ###################
 4  # Cards lootlists #
 5  ###################
 6
 7  # Replacing lootlist, this code changes werewolf lootlist, it now drops four cards: MyCard1, MyCard2, Lycanthropy, Insatiable Lust
 8  lootlist["werewolf"] = [MyCard1(), MyCard2(), Lycantrophy(), Insatiable_Lust()]
 9
10  # Adding card to a lootlist, it adds card (with class name) MyCard, the rest of lootlist remains
11  lootlist["werewolf"].append(MyCard())
12
13  # Create new lootlist, it creates myLootlist with cards MyCard1 and MyCard2
14  lootlist.update({"myLootlist", [MyCard1(), MyCard2()]})
15
16  ######################
17  # Material lootlists #
18  ######################
19
20  # Replacing lootlist this replaces orc lootlist, it gives the lootlist:
21  # 65% for 1-3 Wood,
22  # 50% for 1-3 Stone,
23  # 50% for 1-3 Metal
24  mat_lootlist.update({"orc": {
25    "Wood": [0.65, 1, 3],
26    "Stone": [0.5, 1, 3],
27    "Metal": [0.5, 1, 3]
28  }})
29
30  # Adding material to lootlist / Changing materials amount & drop chance
31  # This adds Cloth to orc lootlist with 5% chance for 2-4 Cloth.
32  # You can this same way overwrite other items with your own chances, amounts
33  mat_lootlist["orc"].update({"Cloth": [0.05, 2, 4]})
34
35  # Create new lootlist, it creates myList with 100% chance for 4-5 Wood and 1% chance for 1 Mysterious Coin
36  mat_lootlist.update({"myList": {
37    "Wood": [1.0, 4, 5],
38    "Mysterious Coin": [0.01, 1, 1]
39  }})


Create new cards

Cards - Enemies

 1"werewolf": [Lycantrophy(), Bite(), Empower(), Dodge(), Slash(), Healing(), Greater_Healing(), Regrow_Limbs()],
 2"bandits_melee": [Slash(), Retaliate(), Kick(), Blind(), Guard(), Headbutt(), Stab(), Flurry()],
 3"bandits_guns": [Bulletstorm(), Dodge(), Shot(), Kick(), Take_Cover(), Strike()],
 4"bandits": [Bulletstorm(), Dodge(), Shot(), Kick(), Take_Cover(), Strike(), Slash(), Retaliate(), Flurry(), Blind(), Guard(), Headbutt(), Stab()],
 5"spider": [Bite(), Spit_Poison(), Poisonous_Bite(), Hide_in_the_Shadows(), Lunge()],
 6"scavengers": [Slash(), Retaliate(), Blind(), Guard(), Headbutt(), Shot(), Take_Cover()],
 7"bandit_melee": [Slash(), Blind(), Retaliate(), Strike(), Defend(), Kick(), Guard(), Stab(), Headbutt()],
 8"bandit_melee_girl": [Slash(), Blind(), Retaliate(), Strike(), Defend(), Kick(), Guard(), Stab(), Headbutt(), Seduce(), Flirtatious_Look()],
 9"orc": [Fury(), Roar(), Flurry(), Slash(), Retaliate(), Kick(), Freedom_in_Death(), Empower(), Guard(), Headbutt(), Sharpening(), Horde_Weapons(), Strike(), Defend()],
10"manticore": [Fury(), Roar(), Spit_Poison(), Poisonous_Bite(), Lunge(), Headbutt(), Dodge(), Healing(), Bite(), Retaliate(), Stab(), Antidote()],
11"flamingo": [Mutate(), Bite(), Dodge(), Enfeeble(), Infection(), Despair()],
12"faceless_giant": [Roar(), Fury(), Terror(), Despair(), Crush(), Sweep(), Giant(), Madness(), Insanity(), Faceless(), Veil_of_Shadows(), Kick(), Freedom_in_Death(), Guard(), Hide_in_the_Shadows()],
13"faceless": [Fury(), Madness(), Insanity(), Faceless(), Veil_of_Shadows(), Freedom_in_Death(), Guard(), Hide_in_the_Shadows()],
14"devourer_giant": [Roar(), Fury(), Terror(), Despair(), Crush(), Sweep(), Giant(), Madness(), Insanity(), Devour(), Insatiable_Hunger(), Kick(), Freedom_in_Death(), Bite(), Guard()],
15"devourer": [Fury(), Madness(), Insanity(), Devour(), Insatiable_Hunger(), Freedom_in_Death(), Bite(), Guard()],
16"succubus": [Seduce(), Flirtatious_Look(), Slash(), Insatiable_Lust(), Guard(), Freedom(), Flurry(), Enfeeble(), Hypnotise(), Cease_Fire_Treaty()],
17"cultist": [Miracle(), Slash(), Kick(), Empower(), Hide_in_the_Shadows(), Freedom_in_Death(), Stab(), Hypnotise(), Outside(), Terror(), Despair(), Madness(), Insanity(), Veil_of_Shadows(), Ritual(), Aharon(), Sacrifice(), Dodge()],
18"crab": [Stone_Skin(), Strike(), Defend(), Regrow_Limbs(), Roar(), Fury(), Mutate(), Terror(), Sweep(), Unshakable(), Retaliate(), Guard()],
19"dragon": [Fireborn(), Fireball(), Dragon_Roar(), Fire_Breath(), Roar(), Terror(), Sweep(), Giant(), Bite(), Crush(), Guard(), Healing(), Retaliate()],
20"stickman": [Terror(), Madness(), Kick(), Freedom_in_Death(), Mutate(), Guard(), Stab(), Lunge(), Headbutt()],
21"ghouls": [Bite(), Poisonous_Bite(), Dodge(), Healing(), Lunge(), Antidote(), Slash(), Retaliate(), Devour()]


Cards - Traders

1"devil_abi": [Miracle(), Fireborn(), Lycantrophy(), Vampirism(), Freedom(), Freedom_in_Death(), Cease_Fire_Treaty(), Outside(), Terror(), Despair(), Crush(), Madness(), Insanity(), Insatiable_Lust(), Aharon(), Dragon_Roar()],
2"tarot": [The_Fool(), The_Magican(), The_High_Priestess(), The_Empress(), The_Emperor(), The_Hierophant(), The_Lovers(), The_Chariot(), Justice(), The_Hermit(), Wheel_of_Fortune(), Strength(), The_Hanged_Man(), Death(), Temperance(), The_Devil(), The_Tower(), The_Star(), The_Moon(), The_Sun(), Judgement(), The_World()]


Materials

1define mat_lootlist = {
2  "materials_basic": {
3  "Wood": [0.5, 1, 3], # item: [chance, min, max]
4  "Stone": [0.5, 1, 3],
5  "Metal": [0.5, 1, 3],
6  "Cloth": [0.5, 1, 3],
7  "Mysterious Coin": [0.01, 1, 1]
8}}


Materials - Enemies

 1"werewolf": {"Wood": [0.65, 1, 3], "Stone": [0.5, 1, 3], "Metal": [0.5, 1, 3], "Cloth": [0.8, 1, 3], "Mysterious Coin": [0.01, 1, 1]},
 2"bandits": {"Wood": [0.65, 1, 3], "Stone": [0.4, 1, 2], "Metal": [0.7, 1, 3], "Cloth": [0.8, 1, 4], "Mysterious Coin": [0.01, 1, 1]},
 3"bandit": {"Wood": [0.65, 1, 2], "Stone": [0.4, 1, 1], "Metal": [0.7, 1, 2], "Cloth": [0.9, 1, 3], "Mysterious Coin": [0.01, 1, 1]},
 4"spider": {"Wood": [0.65, 1, 2], "Metal": [0.5, 1, 2], "Cloth": [0.8, 1, 2], "Mysterious Coin": [0.01, 1, 1]},
 5"scavengers": {"Wood": [0.8, 1, 1], "Stone": [0.8, 1, 1], "Metal": [0.8, 1, 1], "Cloth": [0.8, 1, 1], "Mysterious Coin": [0.01, 1, 1]},
 6"orc": {"Wood": [0.55, 1, 3], "Stone": [0.7, 1, 3], "Metal": [0.9, 1, 3], "Cloth": [0.5, 1, 3], "Mysterious Coin": [0.01, 1, 1]},
 7"orc_group": {"Wood": [0.55, 1, 7], "Stone": [0.7, 3, 7], "Metal": [0.9, 2, 7], "Cloth": [0.5, 2, 7], "Mysterious Coin": [0.15, 1, 1]},
 8"manticore": {"Cloth": [1.0, 2, 8], "Mysterious Coin": [0.03, 1, 1]},
 9"flamingo": {"Wood": [0.4, 1, 1], "Stone": [0.4, 1, 1], "Metal": [0.4, 1, 1], "Cloth": [0.4, 1, 1], "Mysterious Coin": [0.01, 1, 1]},
10"faceless_giant": {"Wood": [0.6, 1, 7], "Stone": [0.6, 1, 7], "Metal": [0.6, 1, 7], "Cloth": [0.6, 1, 7], "Mysterious Coin": [0.1, 1, 1]},
11"devourer_giant": {"Wood": [0.6, 1, 7], "Stone": [0.6, 1, 7], "Metal": [0.6, 1, 7], "Cloth": [0.6, 1, 7], "Mysterious Coin": [0.1, 1, 1]},
12"succubus": {"Wood": [0.65, 1, 3], "Stone": [0.5, 1, 3], "Metal": [0.5, 1, 3], "Cloth": [0.8, 1, 3], "Mysterious Coin": [0.1, 1, 1]},
13"cultist": {"Wood": [0.7, 1, 10], "Stone": [0.7, 1, 10], "Metal": [0.7, 1, 10], "Cloth": [0.8, 1, 10], "Mysterious Coin": [0.15, 1, 1]},
14"crab": {"Stone": [1.0, 2, 6], "Metal": [1.0, 2, 6], "Mysterious Coin": [0.03, 1, 1]},
15"ghouls": {"Wood": [0.8, 2, 5], "Stone": [0.6, 1, 3], "Metal": [0.6, 1, 3], "Cloth": [0.5, 1, 3], "Mysterious Coin": [0.01, 1, 1]},
16"dragon": {"Wood": [0.5, 1, 6], "Stone": [0.9, 3, 10], "Metal": [1.0, 4, 12], "Cloth": [0.5, 1, 6], "Mysterious Coin": [0.5, 1, 1]},
17"stickman": {"Wood": [1.0, 3, 8], "Mysterious Coin": [0.1, 1, 1]},
18"orc_group": {"Wood": [0.6, 1, 7], "Stone": [0.6, 1, 7], "Metal": [0.7, 3, 7], "Cloth": [0.6, 1, 7], "Mysterious Coin": [0.1, 1, 1]}


Materials - Cheats

1"cheat_starter": {"Wood": [1.0, 3, 3], "Stone": [1.0, 3, 3], "Metal": [1.0, 3, 3], "Cloth": [1.0, 3, 3]},
2"cheat_builder": {"Wood": [1.0, 5, 5], "Stone": [1.0, 5, 5], "Metal": [1.0, 5, 5], "Cloth": [1.0, 5, 5]},
3"cheat_mysteries": {"Mysterious Coin": [1.0, 1, 1]},
4"cheat_forge": {"Wood": [1.0, 5, 5], "Stone": [1.0, 5, 5], "Metal": [1.0, 15, 15], "Cloth": [1.0, 5, 5]}


Materials - Exploration

1"orc_camp": {"Wood": [1.0, 1, 3], "Metal": [1.0, 1, 3], "Stone": [1.0, 1, 3], "Cloth": [1.0, 1, 3], "Mysterious Coin": [0.05, 1, 1]},
2"exp_house": {"Wood": [0.75, 2, 5], "Stone": [0.75, 1, 2], "Metal": [0.75, 1, 2], "Cloth": [0.75, 1, 4]},
3"exp_b_rape": {"Wood": [0.75, 1, 2], "Stone": [0.75, 1, 1], "Metal": [0.75, 1, 1], "Cloth": [1, 1, 2]},
4"exp_rose": {"Rose": [1.0, 1, 1], "Wood": [1.0, 1, 3]},