🗃️ Added ranged weapons

This commit is contained in:
zhbaor 2022-10-03 11:17:04 +08:00
parent 16ae56f19c
commit 1705624d0d
4 changed files with 77 additions and 1 deletions

View file

@ -22,6 +22,14 @@ class Shield(db.Entity):
stats = Required(int)
class Ranged(db.Entity):
name = Required(str)
description = Optional(str)
mechanism = Optional(str)
icon = Required(bytes)
stats = Required(int)
if __name__ == "__main__":
db.bind(provider="sqlite", filename="../../clean/31-2/data.sqlite3")
db.generate_mapping(create_tables=True)