Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 - Crash: Unlocked Door, Find Weapon #19

Open
brando56894 opened this issue Oct 3, 2016 · 1 comment
Open

V2 - Crash: Unlocked Door, Find Weapon #19

brando56894 opened this issue Oct 3, 2016 · 1 comment
Labels

Comments

@brando56894
Copy link
Owner

You found a locked door...

You opened it with the key that you found
Traceback (most recent call last):
  File "main.py", line 132, in <module>
    menu(new_player)
  File "main.py", line 108, in menu
    choices[choice](player)
  File "/mnt/c/Users/bran/dungeon-quest/actions.py", line 49, in roll_dice
    find_weapon(player)
  File "/mnt/c/Users/bran/dungeon-quest/actions.py", line 105, in find_weapon
    weapon_list += weapon_type.keys()
AttributeError: 'str' object has no attribute 'keys'
@brando56894 brando56894 added the bug label Oct 3, 2016
@brando56894
Copy link
Owner Author

brando56894 commented Oct 3, 2016

I fixed a reference to a property that didn't exist and fixed a typo but it still doesn't work... 0e41922

You found a locked door...

You opened it with the key that you found
Traceback (most recent call last):
  File "main.py", line 132, in <module>
    menu(new_player)
  File "main.py", line 108, in menu
    choices[choice](player)
  File "/mnt/c/Users/bran/dungeon-quest/actions.py", line 49, in roll_dice
    find_weapon(player)
  File "/mnt/c/Users/bran/dungeon-quest/actions.py", line 101, in find_weapon
    weapon_list.remove(cannot_see)
ValueError: list.remove(x): x not in list

ghost pushed a commit that referenced this issue Oct 4, 2016
While the quit_game function was returning a 0, the returned value
was not being acknowledged by the game loop. A check was added to
acknowledge the returned value. The find_weapon function was also
fixed and should be functioning properly now. With this issue #21
and #19 should be solved
ghost pushed a commit that referenced this issue Oct 4, 2016
Issue #25, #24, #22, #20, and #19 have all been fixed. To make
1v1 battles less repetitive, the feature brought up in issue #23
has been implemented. Also for dev testing, gold has been preset.
@brando56894 brando56894 changed the title Crash: Unlocked Door, Find Weapon V2 - Crash: Unlocked Door, Find Weapon Dec 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant