Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inventory2 = []
- if not inventory2:
- print("You are empty handed.")
- inventory2 = ["Steel-blade", ["chest-armor",5] ["Plasma-shield"], ["Matter reger", 7] ["Star bracers"] ["Fire Hammer"]
- global exp
- global level
- level = "lvl"
- exp = "exp"
- stats = {"exp", "lvl", "health", "energy", "attack", "defense", "spattk", "spdef", "crit", "speed"}
- Sarounk = {1: "lvl", 0: "exp", 355: "health", 90: "attack", 89: "defense", 60: "spattk", 130: "spdef", 80: "crit", 64: "speed", "sarcargo"}
- Edzra = {1: "lvl", 0: "exp", 400: "health", 86: "attack", 148: "defense", 142: "spattk", 90: "spdef", 62: "crit", 50: "speed", "edzracargo"}
- Gordan = {1: "lvl", 0: "exp", 360: "health", 102: "attack", 86: "defense", 51: "spattk", 87: "spdef", 85: "crit", 64: "speed", "gordancargo"}
- Cheng = {1: "lvl", 0: "exp", 251: "health", 105: "attack", 67: "defense", 80: "spattk", 90: "spdef", 87: "crit", 67: "speed", "chengcargo"}
- #functions
- def levelingup():
- if exp => 100
- level += 1
- exp = 0
- def selection(select):
- myItem = select
- if select == myItem:
- print ("You have", + myItem "seletced.")
- Inventory2 = [myItem]
- return select
- def pickup():
- newWeapon = ("weapon")
- if "weapon" == newWeapon:
- inventory2.append((newWeapon))
- inventory2.sort()
- print(inventory2.get("weapon"))
- print(inventory2)
- print("You've acquired a new weapon")
- #end of functions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement