data/constants.py (view raw)
1#Constants used throughout the game
2
3SCREEN_SIZE = (800, 608)
4
5##GAME STATES
6
7TOWN = 'town'
8MAIN_MENU = 'main menu'
9CASTLE = 'castle'
10INN = 'Inn'
11POTION_SHOP = 'potion shop'
12ARMOR_SHOP = 'armor shop'
13WEAPON_SHOP = 'weapon shop'
14MAGIC_SHOP = 'magic shop'
15HOUSE = 'house'
16OVERWORLD = 'overworld'
17BROTHER_HOUSE = 'brother_house'
18BATTLE = 'battle'
19DUNGEON = 'dungeon'
20DUNGEON2 = 'dungeon2'
21DUNGEON3 = 'dungeon3'
22DUNGEON4 = 'dungeon4'
23DUNGEON5 = 'dungeon5'
24
25##Colors
26
27BLACK = 0, 0, 0
28NEAR_BLACK = 1, 0, 0
29WHITE = 255, 255, 255
30BLACK_BLUE = 19, 15, 48
31NEAR_BLACK_BLUE = 20, 15, 48
32LIGHT_BLUE = 0, 153, 204
33DARK_RED = 118, 27, 12
34RED = 255, 0, 0
35GREEN = 0, 255, 0
36PINK = 208, 32, 144
37
38MAIN_FONT = 'DroidSans'
39
40#BATTLE STATES
41
42SELECT_ACTION = 'select action'
43SELECT_ENEMY = 'select enemy'
44ENEMY_ATTACK = 'enemy attack'
45SWITCH_ENEMY = 'switch enemy'
46PLAYER_ATTACK = 'player attack'
47SELECT_ITEM = 'select item'
48SELECT_MAGIC = 'select magic'
49RUN_AWAY = 'run away'
50ATTACK_ANIMATION = 'attack animation'
51BATTLE_WON = 'battle won'
52ENEMY_DAMAGED = 'enemy damaged'
53ENEMY_DEAD = 'enemy dead'
54PLAYER_FINISHED_ATTACK = 'player finished attack'
55PLAYER_DAMAGED = 'enemy attack damage'
56DRINK_HEALING_POTION = 'drink healing potion'
57DRINK_ETHER_POTION = 'drink ether potion'
58CURE_SPELL = 'cure spell'
59FIRE_SPELL = 'fire spell'
60VICTORY_DANCE = 'victory dance'
61KNOCK_BACK = 'knock back'
62FLEE = 'flee'
63FADE_DEATH = 'fade death'
64SHOW_EXPERIENCE = 'show experience'
65LEVEL_UP = 'level up'
66TWO_ACTIONS = 'two actions'
67
68#EVENTS
69
70END_BATTLE = 'end battle'
71
72
73
74