14 lines
489 B
Python
14 lines
489 B
Python
# Native imports
|
|
from enum import Enum, IntEnum
|
|
|
|
class Action(Enum):
|
|
ATTACK = 'strength' # Physical Battle action
|
|
FORCE = 'strength' # Actions that requires physical effort
|
|
SPELL = 'intelligence' # Many kind of spell (battle or not)
|
|
SCAN = 'wisdom' # Danger in environment or NPC's lies
|
|
SPEECH = 'charisma' # To persuade or deceive
|
|
AGILE = 'dexterity' # Avoid traps or incoming attacks & spell
|
|
|
|
class BonusAction(IntEnum):
|
|
EQUIP_ITEM = 0
|
|
USE_CONSUMMABLE = 1 |