Website/api/data.py

20 lines
608 B
Python

# Defines Data ffs
VIEW_ACTION = 0
PURCHASE_ACTION = 1
MODIFY_ACTION = 2
EQUIP_ACTION = 3
# Need to define costs for purchase actions and requirements for modify and equip actions
# Saving space and reducing response times of the server is a priority so keeping in mind that this
# data will probably live on the RAM (as file-io is costly) so it needs to be small and easy to parse
# # sights,trg,brl
# # cost,ammo^inter^ >^skin,number
# # |----|^^|-||-|>^>^|--||------|
# WEAPON_DATA = """000000000000000000000000000000""" # Use Ints goddamit
# oh yeah, ints
WEAPON_DATA = [] # wtf