No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am sorry, I had a thread similar to this, but I have encountered a different bug. [CODE=python]def rm_b(acts): print("DINING ROOM") print(descriptions.dining) acts={"north":no_exit, "east":rm_c, "south":rm_e, "west":rm_a, "sandwich":'inv_add(sandwich, acts)'} prompt(acts)[/CODE] The "sandwich":'inv_add(sandwich, acts)' will not work. Same for all of the items I wish to allow the player to pick up. … |
|
Re:
Hey guys, So me and my friend are starting up a simple Text-Based-Post-Apocalyptic-Role-Playing-Game. Both of us have had 2 or so months of experience, we are no experts. So, I will appreciate any tips. I have been lurking these forums for a little while now, and decieded this is the … |
|
Hi I am new to the forums, and somewhat new to python. I'm trying to make a Text Based Adventure game. I don't have an error, but a bug. This is the code: [code]import descriptions inventory = [] gold = 0 acts = {"north":"hi"} def start(acts): print(descriptions.start) rm_a(acts) def rm_a(acts): … |