コード例 #1
0
ファイル: security.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'secroom'
r.exits = {'lobby': 'lobby'}
r.roomdesc = """
a security room


"""
r.looktargets = {'coffee': 'its hot!.\n\n'}
コード例 #2
0
ファイル: elevatorroof.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'elevatorroof'
r.exits = {'elevator': 'elevator'}
r.roomdesc = """
Good God its dirty, some one left their tool box up here.


"""
r.looktargets = {'tool box': 'Tools for tooling\n\n',
                 'talktargets': 'figure=slm\n\n'}
コード例 #3
0
ファイル: lounge.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'lounge'
r.exits = {'elevator': 'elevator', 'stairs': 'hallway'}
r.roomdesc = """
medium sized room with tiled floors and drop ceilings filled with an assortment of chairs couches and tables. a few people sit in groups here and there. A bulletin board stands off in the corner and a rather official looking man sits at a table piled high with pamphlets


"""
r.looktargets = {'bulletin board': 'various posters and pamphlets.\n\n',
 'chairs': 'scattered around the room as groups needed\n\n',
 'couches': 'mostly vacant, with and ocasional napper.\n\n',
 'man': 'looks to be recruiting for somthing. He Motions for you to come over and talk.\n\n',
 'offical man': 'looks to be recruiting for somthing. He Motions for you to come over and talk.\n\n',
 'people': 'groups here and there, either studying or finding various ways to pass the time.\n\n',
 'talktargets': 'man=g_man\n\n'}
コード例 #4
0
ファイル: Hallway.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'hallway'
r.exits = {'dorm room': 'dormroom',
 'elevator': 'elevator',
 'room 420': 'room 420',
 'stairs': 'lounge'}
r.roomdesc = """
a somewhat dingy ill lit Hallway with many dorm rooms attached. You dont know any one on this floor except for that crazy anti government guy, Garret, who lives down the hall in room 420. the stairs are down the opposite end of the hall, while the sedate elevator is just a few doors down from your room.


"""
r.looktargets = {'420': 'is that smoke coming from under the door?!?!\n\n',
 'room 420': 'is that smoke coming from under the door?!?!\n\n'}
コード例 #5
0
ファイル: westbrook.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'westbrook'
r.exits = {'intersection': 'intersection', 'house 62': 'house62', 'house 56': 'house56'}
r.roomdesc = """
west brook street houses number 62 and 56 are targets

"""
r.looktargets = {'house 62': 'its red\n\n',
                 'house 56': 'its blue\n\n'} 
コード例 #6
0
ファイル: Elevator1.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'elevator'
r.exits = {'ceiling': 'elevatorroof',
 'floor 1': 'lobby',
 'floor 2': 'lounge',
 'hallway': 'hallway'}
r.hide_looktargets = ['ceiling']
r.hide_exits = ['ceiling']
r.roomdesc = """
A very...very slow elevator with a very dirty carpet sained to the point of which its original color will forever remain a mystery and very sketchy light that flickers constantly and emits a buzzing sound. you notice a ceiling panel is out of place and hanging down a at one corner. there is a note next to the bottom two floors, floor 1 exit, floor 2 lounge 


"""
r.looktargets = {'carpet': 'I dont even want to think how it got that dirty\n\n',
 'ceiling': 'the emergency exit is out of place, wonder how that happened?\n\n',
 'light': 'DONT TOUCH THAT!\n\n'}
コード例 #7
0
ファイル: lobby.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'lobby'
r.exits = {'elevator': 'elevator', 'exit': 'exit', 'security': 'secroom', 'dorm street': 'dormstreet'}
r.hide_looktargets = ['security center', 'security officer']
r.hide_exits = ['security center']
r.roomdesc = """
a sparsely furnished lobby with a couple of chairs and a worn out couch. a trash can is laying on its side and garbage is strewn across the floor, a janitorial cart is already sitting by the mess but the janitor is noticeably absent. a building security officer is sleeping just outside the building security center.


"""
r.looktargets = {'chair': 'Hard plastic and sticky.\n\n',
 'couch': 'a very dilapidated looking couch\n\n',
 'trash': 'GAG! uuggh whats in there.\n\n',
 'trash can': 'has a dent in the side, apears to have been kicked.\n\n',
 'security officer': 'sleeping on a stool next to the building security center.\n\n',
 'security center': 'a bullet proofed room with bars covering the large one way glass window overlooking the lobby.\n\n'
 } 
コード例 #8
0
ファイル: testroom2.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'testroom2'
r.exits = {'up': 'testroom'}
r.roomdesc = """
As you look around, you notice there seems to be not much here.
it appears you can go up and get back to where you came from
there is a pile of gold and a large monster looking at you strangely.


"""
r.looktargets = {'gold': 'oooh. Shiny!\n\n',
 'monster': 'HOLY CRAP ITS A MONSTER\n\n',
 'pile': 'oooh. Shiny!\n\n',
 'pile of gold': 'oooh. Shiny!\n\n',
 }
r.talktargets = {'monster': 'test_monster'}
r.characters = ['test_monster']
コード例 #9
0
ファイル: northpine.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'northpine'
r.exits = {'intersection': 'intersection', 'house 36': 'house36', 'house 42': 'house42'}
r.roomdesc = """
north pine street houses number 36 and 42 are targets

"""
r.looktargets = {'house 36': 'its red\n\n',
                 'house 42': 'its blue\n\n'} 
コード例 #10
0
ファイル: testroom1.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'testroom'
r.exits = {'under table': 'testroom2'}
r.roomdesc = """
This room seems very empty except for a small round table
in the very center. This table is covered by a white tablecloth
and has a single mysterious object sitting exactly in the center
of the table. Also there is an old man. 

"""
r.looktargets = {'object': 'You cant seem to descern what it is\n\n',
 'old man': 'He appears very old. maybe you should talk to him?\n\n',
 'table': 'This seems to be a normal table\n\n',
 'tablecloth': 'perfect white linen tablecloth. Nice!\n\n\n',
}
r.talktargets = {'old man':'test_npc'}
r.characters = ['test_npc']
コード例 #11
0
from room import Room
r = Room()
r.roomname = 'house42'
r.exits = {'north pine': 'northpine'}
r.roomdesc = """
a house it is purple

"""
r.looktargets = {'door': 'its closed\n\n'} 
コード例 #12
0
ファイル: DormRoom.room.py プロジェクト: elstupido/rpg
r.hide_looktargets = ['under bed']
r.roomdesc = """
Your home away from home, its small but familiar. 
Your unmade bed lies askew, one corner pulled slightly 
away from the wall. Your hated alarm clock and favorite
book sit on your night stand by by the foot of your bed. 
across the room is your dresser containing your clothes 
and various knickknacks. the only other objects in the 
room are your trunk containing your school things which 
sits next to the door, and your computer which is 
resting on a flimsy desk, located by a very inviting window.
"""

r.looktargets = {
 'alarm clock': 'its black and noisy \n\n',
 'bed': 'your bed, cover by a black blanket with the white letters spelling  NAPPING ADVOCATE  #1\n\n',
 'behind bed': 'so thats where my pocket knife went! \n\n',
 'book': '1984 phew good thing this will never happen\n\n',
 'computer': 'good times, good times!!\n\n',
 'door': 'gate way to the outside world\n\n',
 'dresser': 'cloths in all the drawers but the top\n\n',
 'favorite book': '1984 phew good thing this will never happen\n\n',
 'night stand': 'a sturdy little table \n\n',
 'top drawer': 'Lock is stuck as usual if only I could find somthing to to jimmy  the lock.\n\n',
 'trunk': 'so many books!\n\n',
 'under bed': 'so thats where my pocket knife went! \n\n',
 'window': 'whata view! long way down though.\n\n',
 'door': 'the exit.\n\n',
 }

コード例 #13
0
ファイル: southpine.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'southpine'
r.exits = {'intersection': 'intersection', 'house 16': 'house16', 'house 22': 'house22'}
r.roomdesc = """
south pine street houses number 22 and 16 are targets

"""
r.looktargets = {'house 22': 'its red\n\n',
                 'house 16': 'its blue\n\n'} 
コード例 #14
0
ファイル: dormstreet.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'dormstreet'
r.exits = {'intersection': 'intersection', 'lobby': 'lobby'}
r.roomdesc = """
a street outside your dorm

"""
r.looktargets = {'shifty little man': ' weird that shifty little man again'}
コード例 #15
0
ファイル: intersection.room.py プロジェクト: elstupido/rpg
from room import Room
r = Room()
r.roomname = 'intersection'
r.exits = {'north pine': 'northpine', 'south pine': 'southpine', 'east brook': 'eastbrook', 'west brook': 'westbrook', 'dorm street': 'dormstreet'}
r.roomdesc = """
where pine street and brook street intersect. pine street runs north southnbrook streed runs east west. starting place for op with erad.

"""
r.looktargets = {'erad': 'ROLL DOWN YOUR WINDOW!!!\n\n',}