path-of-the-loner/models/loots/loot.py
2025-03-03 16:47:07 +01:00

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