123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- WIDTH = 80
- HEIGHT = 49
- WWIDTH = WIDTH * 9
- WHEIGHT = HEIGHT * 12 + 12
- ACTION = {
- SHOW_ALL = -1, -- TODO: DELET THIS
- NONE = 0,
- UPLEFT = 1,
- UP = 2,
- UPRIGHT = 3,
- LEFT = 4,
- RIGHT = 5,
- DOWNLEFT = 6,
- DOWN = 7,
- DOWNRIGHT = 8,
- STAIR = 9,
- HELP = 10,
- RESTART = 11,
- STAIR = 12,
- GRAPHICS_SETTINGS = 13,
- }
- COLOR = {
- WHITE = {255, 255, 255},
- RED = {255, 0, 0},
- YELLOW = {255, 255, 0},
- GRAY = {150, 150, 150},
- BULLET = {255, 152, 0},
- CHEST = {255, 255, 150},
- }
- local major, minor = love.getVersion()
- if major >= 11 then
- for k, v in pairs(COLOR) do
- COLOR[k] = {v[1] / 255, v[2] / 255, v[3] / 255}
- end
- end
- KEYS = {
- y = ACTION.UPLEFT,
- k = ACTION.UP,
- u = ACTION.UPRIGHT,
- h = ACTION.LEFT,
- l = ACTION.RIGHT,
- b = ACTION.DOWNLEFT,
- j = ACTION.DOWN,
- n = ACTION.DOWNRIGHT,
- r = ACTION.RESTART,
- ['7'] = ACTION.UPLEFT,
- ['8'] = ACTION.UP,
- ['9'] = ACTION.UPRIGHT,
- ['4'] = ACTION.LEFT,
- ['6'] = ACTION.RIGHT,
- ['1'] = ACTION.DOWNLEFT,
- ['2'] = ACTION.DOWN,
- ['3'] = ACTION.DOWNRIGHT,
- q = ACTION.UPLEFT,
- w = ACTION.UP,
- e = ACTION.UPRIGHT,
- a = ACTION.LEFT,
- d = ACTION.RIGHT,
- z = ACTION.DOWNLEFT,
- s = ACTION.DOWN,
- x = ACTION.DOWNRIGHT,
- ['.'] = ACTION.NONE,
- ['?'] = ACTION.HELP,
- ['>'] = ACTION.STAIR,
- ['g'] = ACTION.GRAPHICS_SETTINGS,
- }
- ITEM_NAMES = {
- ADJECTIVE = {'Wacky', 'Smelly', 'Terrible', 'Amazing', 'Incredible', 'Ordinary', 'Average', 'Horizontal', 'Vertical', 'Rational', 'Irrational', 'Grouchy', 'Artificial', 'Organic', 'Non-GMO', 'Gluten-Free', 'Free', 'Expensive', 'Cheap', 'Outstanding', 'Nice', 'Little', 'Big', 'Colossal', 'Microscopic', 'Absolute'},
- NOUN = {'Twig', 'Stick', 'Rod', 'Crystal', 'Storybook', 'Artifact', 'Artefact', 'Statue', 'Orb', 'Wrapper', 'Bot', 'Elephant', 'Pencil Case', 'Tape', 'Shelf', 'Unit', 'Bed-monster', 'Credit Card', 'Video Game', 'Console', 'Pasta', 'Cucumber', 'Hotdog', 'NPM Package', 'Specification'},
- DESCRIPTION = {'Sight', 'Awareness', 'Dexterity', 'Skill', 'Doing-It-All', 'Everything', 'Nothing', 'Fear', 'Despair', 'Lust', 'Positivity', 'Negativity', 'Changing-Nothing', 'Screaming', 'Helping Out', 'Discovery', 'Economy', 'Math', 'Ice', 'Fire', 'Lightning', 'Water', 'Air', 'Wind', 'Markov'}
- }
|