QUOTE(IceCastle @ 22 Jan, 2009 - 04:44 AM)

I started the text adventure with a script I found on the internet that I'm using for now, since I couldn't make my own. Now I need to know how to name my charters with "gets", and make a 'party', and 'reserve' system. I'm not sure how far I'll get when I get to the even more complicated things, but I'd still like to try. I tried a few things for the naming, like:
CODE
def
if party < 3
party[] = gets.chomp
puts 'added new party member'
else if reserve < 3
reserve[] = gets.chomp
puts 'added new reserve member'
else
puts 'Your party, and reserve is full'
end
but once they're in a 'party' array, I don't know how to initialize them.
I also don't know how to implement a light variable. ex.
CODE
area_light.to_i += player_light_source.to_i
if area_light.to_i < leader_eyesight/reflexes.to_i -= randomly_generated_number
enemy_first_strike
Sounds like an interesting project! Perhaps it may be easier to implement if you think those entities you mentioned (party, character, reserve, etc.) as objects, and their names, strength and so on as attributes.
You may want to check this
online book because there's a little text adventure game in their pages that you can get some ideas from.
Good luck!