24 lines
469 B
Python
24 lines
469 B
Python
# loot
|
|
|
|
|
|
class Loot:
|
|
WEAPON = 4
|
|
ARMOR = 5
|
|
CONSUMABLE = 6
|
|
|
|
def __init__(
|
|
self,
|
|
title: str,
|
|
description: str,
|
|
type: int,
|
|
loot_value: int,
|
|
value: int,
|
|
drop_rate: int,
|
|
) -> None:
|
|
self.id: int = None
|
|
self.title = title
|
|
self.description = description
|
|
self.type = type
|
|
self.loot_value = loot_value
|
|
self.value = value
|
|
self.drop_rate = drop_rate
|