Update items.py
parent
2ff1f83c24
commit
9fb5407c3d
33
items.py
33
items.py
|
|
@ -61,6 +61,39 @@ ITEMS = {
|
||||||
stack_limit=999,
|
stack_limit=999,
|
||||||
placeable=False
|
placeable=False
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# Weapons
|
||||||
|
ITEM_WOODEN_SWORD: Item(
|
||||||
|
ITEM_WOODEN_SWORD,
|
||||||
|
"Wooden Sword",
|
||||||
|
(160, 82, 45),
|
||||||
|
stack_limit=1,
|
||||||
|
placeable=False
|
||||||
|
),
|
||||||
|
|
||||||
|
ITEM_IRON_SWORD: Item(
|
||||||
|
ITEM_IRON_SWORD,
|
||||||
|
"Iron Sword",
|
||||||
|
(180, 180, 180),
|
||||||
|
stack_limit=1,
|
||||||
|
placeable=False
|
||||||
|
),
|
||||||
|
|
||||||
|
ITEM_GOLD_SWORD: Item(
|
||||||
|
ITEM_GOLD_SWORD,
|
||||||
|
"Gold Sword",
|
||||||
|
(255, 215, 0),
|
||||||
|
stack_limit=1,
|
||||||
|
placeable=False
|
||||||
|
),
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def get_item(item_id):
|
||||||
|
return ITEMS.get(item_id, None)
|
||||||
|
stack_limit=999,
|
||||||
|
placeable=False
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue