pneuma-pygame/configs/game/weapon_config.py

14 lines
668 B
Python
Raw Normal View History

import os
script_dir = os.path.dirname(os.path.abspath(__file__))
asset_path = os.path.join(
2023-11-14 21:44:43 +00:00
script_dir, '../..', 'assets')
2023-09-03 12:58:28 +00:00
weapon_data = {
'sword': {'cooldown': 100, 'damage': 15, 'graphic': f"{asset_path}/graphics/weapons/sword/full.png"},
'lance': {'cooldown': 400, 'damage': 30, 'graphic': f"{asset_path}/graphics/weapons/lance/full.png"},
'axe': {'cooldown': 300, 'damage': 20, 'graphic': f"{asset_path}/graphics/weapons/axe/full.png"},
'rapier': {'cooldown': 50, 'damage': 8, 'graphic': f"{asset_path}/graphics/weapons/rapier/full.png"},
'sai': {'cooldown': 80, 'damage': 10, 'graphic': f"{asset_path}/graphics/weapons/sai/full.png"}
}