Add basic functionality, inventory(but items dont do anything). No textures or anything yet.

This commit is contained in:
csd4ni3l
2025-10-08 20:54:59 +02:00
parent 37db95e342
commit bca585bc45
6 changed files with 300 additions and 5 deletions

View File

@@ -7,6 +7,27 @@ menu_background_color = (30, 30, 47)
log_dir = 'logs'
discord_presence_id = 1424784736726945915
IRS_AGENT_SPAWN_INTERVAL = 1
IRS_AGENT_SPEED = 1
TAX_PER_IRS_AGENT = 200
TAX_EVASION_LEVELS = {"Compliant Citizen": 0, "Suspicious": 1, "Under Review": 1500, "Flagged": 3500, "Audited": 10000, "Criminal Case": 20000, "Most Wanted": 50000, "Legendary": 100000}
TAX_EVASION_NAMES = list(TAX_EVASION_LEVELS.keys())
BULLET_SPEED = 5
SPEED_INCREASE_PER_LEVEL = 0.5
SPAWN_INTERVAL_DECREASE_PER_LEVEL = 0.1
TAX_INCREASE_PER_LEVEL = 50
SHOP_ITEMS = []
INVENTORY_ITEMS = [
["Fireball"],
["Lightning Bolt"],
["Ice Blast"],
["Arcane Beam"],
]
button_style = {'normal': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK), 'hover': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK),
'press': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK), 'disabled': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK)}
big_button_style = {'normal': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK, font_size=26), 'hover': UITextureButtonStyle(font_name="Roboto", font_color=arcade.color.BLACK, font_size=26),

View File

@@ -2,3 +2,5 @@ import arcade.gui, arcade
button_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button.png"))
button_hovered_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button_hovered.png"))
wizard_texture = arcade.texture.make_soft_square_texture(100, arcade.color.BLACK, outer_alpha=255)
irs_agent_texture = arcade.texture.make_soft_square_texture(30, arcade.color.RED, outer_alpha=255)