Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class OOC_Workshop(Room):
- def at_object_creation(self):
- self.db.desc = ("This small workshop has all the basic amenities required "
- "for creating a fresh body.")
- portal_room = create_object(typeclass="typeclasses.rooms.OOC_Room",
- key="Portal Room")
- # Make exits connecting the Portal Room with the Workshop
- exit_to_portal_room = create_object(typeclass="typeclasses.exits.Exit",
- key="north", aliases="n", destination=portal_room,
- location=self, home=self)
- exit_to_workshop = create_object(typeclass="typeclasses.exits.Exit",
- key="south", aliases="s", destination=self,
- location=portal_room, home=portal_room)
- # Connect the portal room to the Common Room
- common_room = self.search("Common Room", global_search=True, typeclass="OOC_Room")
- exit_to_common_room = create_object(typeclass="typeclasses.exits.Exit",
- key="north", aliases="n", destination=common_room,
- location=portal_room, home=portal_room)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement