-
Notifications
You must be signed in to change notification settings - Fork 0
/
econlore.py
35 lines (32 loc) · 996 Bytes
/
econlore.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from datetime import timedelta
class Effects:
def __init__(self, effects: dict):
self.fx = effects
class SaleValue:
def __init__(self, value: int):
self.value = value
ITEMS = {
"hamburger": "Yummy! Found at restaurants and sometimes randomly around",
"berries": "Yummy! Found in forests and bushes",
"alcohol": [
"Induces Risk and Drunk for 90 minutes, allowing risky gambling decisions and distorted perception",
Effects({
"risk": timedelta(minutes=90),
"drunk": timedelta(minutes=90)
}),
SaleValue(15)
],
"slot_token": "Can be used in casinos to gamble.",
"stinky_cheese": "Can be eaten. Or, you could try giving it to a mouse.",
"cookie": [
"Sellable and edible. You could try either one.",
SaleValue(3)
],
"thc_cart": [
"You Could Get HIgh//.,",
Effects({
"high": timedelta(minutes=90)
}),
SaleValue(35)
]
}