takluyver / weatbag

Written by Everyone Altogether, The Big Adventure Game
MIT License
21 stars 11 forks source link

fixed leave function to allow going E and W #19

Closed ratmonkey closed 11 years ago

ratmonkey commented 11 years ago

I'm making a small quest nw and I noticed that in n2 the leave function wouldn't allow the player to go E nor W so I fixed that.

takluyver commented 11 years ago

I think the idea was that n2 was the entrance chamber of a cave system, and unless you had the torch, the only way you could go was back the way you came in (to the South). I guess that doesn't make sense if n2w1 is going to be above ground, though. I'll have a think about what we want with this. We might want to update the description in n2 as well.

On 21 April 2013 22:00, Kleopatra Angelidi notifications@github.com wrote:

I'm making a small quest nw and I noticed that in n2 the leave function

wouldn't allow the player to go E nor W so I fixed that.

You can merge this Pull Request by running

git pull https://github.com/ratmonkey/weatbag small_fix

Or view, comment on, or merge it at:

https://github.com/takluyver/weatbag/pull/19 Commit Summary

  • fixed leave function to allow going E and W

File Changes

  • M weatbag/tiles/n2.pyhttps://github.com/takluyver/weatbag/pull/19/files#diff-0(10)

Patch Links:

takluyver commented 11 years ago

Thanks, I've merged this. I realised the first part of the if statement wasn't actually needed, so I removed it to make the code simpler in commit d5e0ae534a00b6f5439c7a427de1bb060370e05c.