ParletteSoftware / bitfl

Billy in the Fat Lane
GNU General Public License v3.0
0 stars 0 forks source link

Add goods #75

Closed matthew-parlette closed 11 years ago

matthew-parlette commented 11 years ago

This adds the concept of an item to the game. You can buy and use items, and the current only items exist in the fast food restaurant. To test:

  1. Start Game
  2. Move to Fast Food Restaurant
  3. Get a Job
  4. Work
  5. Buy an item
  6. Use item

You should see your fatness go up, since hunger is already at 0.

This fixes #57, make sure you include that in the merge comment.

cparlette commented 11 years ago

Haha I like the fatness idea. Can you quickly add the cost of an item to the Buy Item menu? Once you add that I think it'll be good.

matthew-parlette commented 11 years ago

I've just added that and tested it, looks like it does what you are looking for

cparlette commented 11 years ago

One last thing, looks like there's some debug output that displays even if debug isn't enabled on the Buy Item menu.

options: {'0': u'Fries ($3)'}
Buying An Item
==============
0. Fries ($3)
(Enter to cancel)
matthew-parlette commented 11 years ago

Good catch, forgot to remove that, but I just did

cparlette commented 11 years ago

I had to merge this by hand, hopefully I did it right. I used some help from http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

matthew-parlette commented 11 years ago

I just ran the game for a few turns, everything looks good so I think the merge was correct.