本文整理汇总了Python中dungeon_game.dungeons.dungeon_state.DungeonState类的典型用法代码示例。如果您正苦于以下问题:Python DungeonState类的具体用法?Python DungeonState怎么用?Python DungeonState使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DungeonState类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: lorenrikerask
def lorenrikerask(self):
state = DungeonState()
state.message = "You ask Riker how she can run such a terrible business, and she asks how she can't. She says it is the best way \
to make money, that sex will never stop selling. She urges you to get with the times, then says that if you do not \
like her business you are free to leave."
state.choices = [('start', 'Get out of Rikers'),]
return state
示例2: lorengetagirltell
def lorengetagirltell(self):
state = DungeonState()
state.message = "You take her to the room and sit her down on the chair across from you. You tell her that life is not worth \
throwing away in a dump like this. She quietly listens and nods occassionally. You tell her there are better ways \
to make money. She tells you this is the best she knows and you tell her she can do better."
state.choices = [('start', 'Get out of Rikers'),]
return state
示例3: lorentavfool
def lorentavfool(self):
state = DungeonState()
state.message = "You go up to the fool and threaten to run a broad sword through his gullet, but he shrieks and falls backward. Everyone \
laughs. You ask him his name and he says it is Rumlon."
state.choices = [('lorentavhelpup', 'Help Rumlon him to his feet'),
('lorentav', 'Leave him be'),]
return state
示例4: lorennbizclose
def lorennbizclose(self):
state = DungeonState()
state.message = "You tell Riker you plan to shut down her little business. She asks how you plan to do that. You tell her \
you could do any number of things to ruin her and that she should not try to test you. She says she does not \
want a fight as it would make her girls very upset. She says she will pay you to please leave her alone."
state.choices = [('start', 'Get out of Rikers'),]
return state
示例5: findfiles
def findfiles(self):
state = DungeonState()
state.message = "You and Grayson look into the main commquart office and find files related to his sister Ifalna. It says she is kept \
in the <div class='special'>19th sector of the Yementi prison block</div>."
state.actions = [(game_utils.add_status, self.request, status_consts.GRAYSON_SIS_LOC_YEM)]
state.choices = [('commquart', 'Get out of here'),]
return state
示例6: agreespar
def agreespar(self):
state = DungeonState()
state.message = "What starts out as a friendly spar ends up turning ugly after the junior officers find out you are imposters. About 40 of them attack \
you and Grayson at once. They cut your limbs off and take your bloodied, limbless, still living bodies out to the camp yard \
where you are left to rot. You die a few days later."
state.die = True
return state
示例7: leavegrayson
def leavegrayson(self):
state = DungeonState()
state.message = "You tell Grayson you will not be journeying with him anymore. He says that is unfortunate and that he cannot be blamed \
for what the emotal did to him, and tries to pursuade you to keep going with him."
state.choices = [("relin/start", "Back to Relin"),
("moveonfromww", "On second thought, keep going with Grayson"),]
return state
示例8: reltav_gryson_go
def reltav_gryson_go(self):
state = DungeonState()
state.message = "He tells you that he is glad to have you, and that he hopes to teach you much along the way. He also \
lets you know that <div class='special'>he will meet you outside</div> once you are ready to depart."
state.choices = [('relintavern', 'Ok.')]
state.actions = [(game_utils.add_status, self.request, status_consts.ON_FIRST_JOURNEY_W_GRAYSON, True)]
return state
示例9: makeplan
def makeplan(self):
state = DungeonState()
state.message = "You talk to Grayson about how he plans to get in there. His hope was that the two of you could get the jump on some guards \
and steal their tunics. After that, he knew of a back entrance where he hoped you both could get in without drawing too much attention."
state.choices = [('findguards', 'Find a couple of guards to get the jump on'),
('headfortheback', 'Head for the back entrance'),]
return state
示例10: reassuregrayson
def reassuregrayson(self):
state = DungeonState()
state.message = "You tell Grayson everything is going to be ok, but he doesn't respond to you. He has a very distant gaze in his eye, \
he is focused on his sister now, wherever she may be. He is moving at an incredibly swift pace \
though, and you speed up a bit more as well. He is grateful for this, and the two of you head off for the encampment."
state.choices = [('surveyfield', 'Survey the field up ahead'),]
return state
示例11: sector19
def sector19(self):
state = DungeonState()
state.message = "You find Grayson's sister, Ifalna. He laughs and gives her a hug. He casts several cure spells on her, and she is \
happy to see him. She asks who you are and Grayson says he could not have done it without your help. She thanks you and \
says she will always help you in your time of need."
state.choices = [('yempoutside', 'Get out of here')]
return state
示例12: faceask
def faceask(self):
state = DungeonState()
state.message = "Grayson screams at them, asking why their faces are so ugly. One of the guards begins crying and Grayson \
slaps him across the face."
state.choices = [('questionguard', 'Keep questioning them'),
('guardquart','Go into the guard quarters'),]
return state
示例13: keeplook
def keeplook(self):
state = DungeonState()
state.message = "You begin looking under mattresses and overturning desks. All the noise gets the attention of some guards and they come \
in there. They realize you are both intruders when you cannot recite the camp creed, and take you prisoner. You both toil \
in the mining camps for 40 years. One day you are brutally sodomized by another prisoner and die from major blood loss."
state.die = True
return state
示例14: quarterc
def quarterc(self):
state = DungeonState()
state.message = "You enter the second building. Inside you find various memos addressed to 'C-Sect'. It appears that \
the building is used as the medical clinic. There are some sick guards and doctors trying to help them, \
nobody notices you."
state.choices = [('getout', 'Back to the office courtyard'),]
return state
示例15: sector5
def sector5(self):
state = DungeonState()
state.message = "You head into sector 5 of the Yementi prison. It turns out there is a major riot ensuing and you get caught up in the \
middle. A flyby arrow strikes you in the head and your brains ooze out onto the prison floor. One prisoner steps \
on your brainey guts and slips on them. When he is down a guard puts a sword through his throat."
state.die = True
return state