Starting my turn!
---------
Checking out the file, and at first glance I see this:
foundpipe = 0
foundcrack = 0
Turns out it's not a game about smoking crack... yet.
Also looking at the python curses module.. but maybe we should stick with the default terminal for now.
----------
Ok, actually writing some code now.
I'm going to attempt to standardize the rooms and objects using classes, and set up some raw files to make it simple to construct new places
----------
Making good progress!
A clean white room.
The world seems black, you can't feel anything, smell anything or hear anything, but slowly you regain your senses.
As you slowly regain consciousness you find yourself in a clean white room, with a red button on the wall in front of you.
Exits: Doorway.
>go door
Another clean white room.
There is nothing special about this white room.
Exits: Doorway.
>go DOOR
and the raw text file entry:
N:A clean white room.
I:0
D:The world seems black, you can't feel anything, smell anything or hear anything, but slowly you regain your senses.
D:As you slowly regain consciousness you find yourself in a clean white room, with a red button on the wall in front of you.
E:1:Doorway
-------------------
time for zzz
A clean white room.
The world seems black, you can't feel anything, smell anything or hear anything,
but slowly you regain your senses.
As you slowly regain consciousness you find yourself in a clean white room, with
a red button on the wall in front of you.
You see: a plastic sign.
Exits: Doorway.
>get sign
You can't take that.
>look sign
Welcome! For a list of commands, type 'help'.
You can also type 'help COMMAND' for more information.
>help
LIST OF COMMANDS
----------------
look
go
get
>look
A clean white room.
The world seems black, you can't feel anything, smell anything or hear anything,
but slowly you regain your senses.
As you slowly regain consciousness you find yourself in a clean white room, with
a red button on the wall in front of you.
You see: a plastic sign.
Exits: Doorway.
>go door
Another clean white room.
There is nothing special about this white room.
You see: a lead pipe.
Exits: Doorway.
>get lead
You take the lead pipe.
>inv
You have: a lead pipe.
>go door
A clean white room.
The world seems black, you can't feel anything, smell anything or hear anything,
but slowly you regain your senses.
As you slowly regain consciousness you find yourself in a clean white room, with
a red button on the wall in front of you.
You see: a plastic sign.
Exits: Doorway.
-------10 hours 15 minutes left----
Awake and looking over the code with coffee.
--------------
Looks like a slow day at work, good news for my turn
I've made some major progress. Last night all you could do was
walk from room to room, and pick up items. I made it super easy
to add new rooms and items, but that is not much of a game.
I decided to add 'quests' to the rooms. Basically you can assign python functions
to each room, so programming special events or situations is easy.
Here is an example of the first quest, that was part of Omegastick's turn.
raw file for room:
N:A clean white room.
I:0
D:The world seems black, you can't feel anything, smell anything or hear anything, but slowly you regain your senses.
D:As you slowly regain consciousness you find yourself in a clean white room, with a red button on the wall in front of you.
T:0
Q:redbutton
Notice the Q:redbutton line, this is the name of the quest function.
Here is it's code in quests.py
def redbutton(input, player):
if input in ["press button", "press red", "push button", "push red"]:
if "redbutton" in player.questflags:
print "You've allready pushed that."
else:
print "You press the red button, a hidden door slides open."
player.curr_room.exits.append( [1, "Doorway"] )
player.questflags.append("redbutton")
The entire gamestate is part of the player object, so a quest function can really do anything.
For example, you could check if the player has 3 certain objects, and has completed a few quests.
Or you could set up some dialogue with an npc.
--------4 hours left--------
just adding some content.
This made me laugh..
A large orange room.
Men in white lab coats bustle around various computer terminals
and machinery. There is a large metal door accross the room,
and stairs leading up to an aluminum mezzanine.
You see: a scientist.
Exits: crack in the wall, metal door, staircase.
>get scientist
You take the scientist.