sirpercival / PercivalsQuest

A python dungeoncrawler RPG
7 stars 5 forks source link

Shrine option 1 seems to crash #9

Closed jgrigonis closed 10 years ago

jgrigonis commented 10 years ago

Town> shrine You head into the Shrine. The Shrine is mostly deserted at this time of day. Two of the altars catch your eye: one (choice 1) to Gol-goroth, God of the Black Stone,, which offers Enlightenment on a sliding tithe scale; and one (choice 2) to Kag'Naru of the Air, which promises Materialism for a single lump sum of 30,000gp. Choice# Offering, or Leave Shrine> 1 100 The bounds of your mind are expanded by a moment of attention from Gol-goroth, God of the Black Stone,; this may not actually be a good thing, but at least you gain 0 experience. Traceback (most recent call last): File "percivalsquest.py", line 214, in main() File "percivalsquest.py", line 211, in main town(rpg_instance) File "percivalsquest.py", line 68, in town rpg.visit_shrine() File "C:\dev\PercivalsQuest\pq_rpg.py", line 339, in visit_shrine save(rpg) NameError: global name 'rpg' is not defined

sirpercival commented 10 years ago

whoops! fixed...

also, i'm working on a gui. it's still in the process since before a couple days ago i'd never used Tkinter before...