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
34REALLY_DARK_RED = 15, 0, 0
35RED = 255, 0, 0
36GREEN = 0, 255, 0
37PINK = 208, 32, 144
38TRANSITION_COLOR = BLACK_BLUE
39
40MAIN_FONT = 'DroidSans'
41
42#BATTLE STATES
43
44SELECT_ACTION = 'select action'
45SELECT_ENEMY = 'select enemy'
46ENEMY_ATTACK = 'enemy attack'
47SWITCH_ENEMY = 'switch enemy'
48PLAYER_ATTACK = 'player attack'
49SELECT_ITEM = 'select item'
50SELECT_MAGIC = 'select magic'
51RUN_AWAY = 'run away'
52ATTACK_ANIMATION = 'attack animation'
53BATTLE_WON = 'battle won'
54ENEMY_DAMAGED = 'enemy damaged'
55ENEMY_DEAD = 'enemy dead'
56PLAYER_FINISHED_ATTACK = 'player finished attack'
57PLAYER_DAMAGED = 'enemy attack damage'
58DRINK_HEALING_POTION = 'drink healing potion'
59DRINK_ETHER_POTION = 'drink ether potion'
60CURE_SPELL = 'cure spell'
61FIRE_SPELL = 'fire spell'
62VICTORY_DANCE = 'victory dance'
63KNOCK_BACK = 'knock back'
64FLEE = 'flee'
65FADE_DEATH = 'fade death'
66SHOW_EXPERIENCE = 'show experience'
67LEVEL_UP = 'level up'
68TWO_ACTIONS = 'two actions'
69SHOW_GOLD = 'show gold'
70
71#EVENTS
72
73END_BATTLE = 'end battle'
74
75#SOUND EFFECTS
76
77CLICK = 'click'
78CLICK2 = 'click2'
79CLOTH_BELT = 'cloth_belt'
80SWORD = 'sword'
81FIRE = 'fire'
82
83TRANSITION_SPEED = 25