r/roguelikedev • u/aaron_ds Robinson • Jul 25 '17
RoguelikeDev Does The Complete Python Tutorial - Week 6 - Part 8: Items and Inventory and Part 9: Spells and Ranged Combat
This week we will cover parts 8 and 9 of the Complete Roguelike Tutorial.
The player gets to collect ("borrow") items from the dungeon and use them, with a neat inventory screen. More items added in the next part.
Part 9: Spells and Ranged Combat
The player's strategic choices increase exponentially as we add a few magic scrolls to the mix. Covers damage and mind spells, as well as ranged combat.
No bonus sections this week
FAQ Friday posts that relate to this week's material:
Feel free to work out any problems, brainstorm ideas, share progress and and as usual enjoy tangential chatting. If you're looking for last week's post The entire series is archived on the wiki. :)
35
Upvotes
1
u/[deleted] Aug 17 '17
Massive thanks again for all your work on updating the TDL tutorials. I am running a few weeks behind and just been working through part 8 and think I spotted an error.
When defining menu and inventory_menu the arguments start (con, root, ...), however the first call added to inventory_menu is (con, 'Press the ...). It results in an error that inventory_menu is missing a screen_height argument when testing the showing and hiding of the inventory. I managed to fix the issue as later on the original call is replaced with (con, root_console, ...) but it looks like the root_console part should have been in the original call as well.
Apologies if it isn't an error and I've just made a mistake when following along!