forked from sirpercival/PercivalsQuest
-
Notifications
You must be signed in to change notification settings - Fork 0
peileppe/PercivalsQuest
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PercivalsQuest ================ A python dungeoncrawler RPG! To start the game, simply navigate to the proper directory and: command_line$ python percivalsquest.py TO DO: ~Add passive skills ~Add potions ~Add traps ~Add story elements & minigames ~Add achievements $ python percivalsquest.py () )( o======o || || ___ _ _ _ ____ _ || / _ \___ _ __ ___(_)_ ____ _| ( )__ /___ \_ _ ___ ___| |_ || / /_)/ _ \ '__/ __| \ \ / / _` | |/ __| // / / | | |/ _ \/ __| __| || / ___/ __/ | | (__| |\ V / (_| | |\__ \ / \_/ /| |_| | __/\__ \ |_ || \/ \___|_| \___|_| \_/ \__,_|_||___/ \___,_\ \__,_|\___||___/\__| || || copyright 2013 || \/ Welcome to Percival's Quest! This is a solo random dungeoncrawl rpg written in python by the ever-resourceful (and extremely humble) sirpercival. Please enter your player name> jim Welcome, jim! You currently have a game saved. Would you like to load it? Load (y/n)> y Game successfully loaded. the young (Player: jim) Elf Wizard 1 Atk 2 Def 3 Ref 10 Frt 5 Mnd 8 Skl 7; hp 5/5; sp 7/7; exp 0/10 LightningReflexes Skills: Missile; Armor: Barrel (0); Weapon: Rope (0); Ring: None 0 gp; loot: None You begin in the town square. (Please note that at almost any prompt, you can choose Sheet to look at your charsheet, Equip to change your equipment, Help to enter the help library, or Quit to quit.) To the East is your humble abode and warm bed; to the North, the General Store where various and sundry goods may be purchased; to the West, the Cityhall where the mayor makes his office; to the Northwest, the local Temple to the Unknowable Gods; and to the South lie the gates of the city, leading out to the Dungeon. Where would you like to go? Options: Home, Cityhall, Bazaar, Temple, or Dungeon [Level#] (max 1) Town> <tab> <tab> BAZAAR Cityhall Dungeon Equip Help QUIT SHEET Temple dungeon help quit Bazaar DUNGEON Dungeon 1 HELP Home Quest Sheet bazaar dungeon 1 home sheet CITYHALL DUNGEON 1 EQUIP HOME QUEST Quit TEMPLE cityhall equip quest temple import json with open('pq_classes.json') as f: pqcl=json.load(f) for p in pqcl: print p, pqcl[p]['stat'], pqcl[p]['skill'] cleric [2, 5, 0, 1, 3, 4] Cure fighter [5, 3, 2, 4, 0, 1] Trip psion [0, 1, 2, 3, 5, 4] Dominate samurai [4, 3, 0, 2, 1, 5] Fear druid [1, 2, 0, 5, 3, 4] Entangle wizard [0, 2, 3, 1, 4, 5] Missile monk [3, 4, 2, 0, 5, 1] Evade paladin [5, 3, 0, 4, 2, 1] Smite barbarian [4, 3, 2, 5, 1, 0] Rage ranger [4, 5, 3, 2, 1, 0] Doublestrike rogue [3, 2, 5, 0, 1, 4] Backstab bard [1, 2, 5, 0, 4, 3] Charm