SlaveryParser.GeasStepImplpublic static interface SlaveryLibrary.GeasStep
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | botherIfAble(java.lang.String msgOrQ) | Given a message or question, this will cause the slave to
 speak it to someone in the room, thus bothering them. | 
| MOB | getBotheredMob() | When an individual step action 'bothers' a mob with questions
 or other actions, this method allows that chosen mob to be
 tracked over to to judge the response. | 
| boolean | sayResponse(MOB speakerM,
           MOB targetM,
           java.lang.String response) | When the slave hears someone speak in the same room as
 them, it might be to answer a question. | 
| void | setSubStep(int subStepNum) | Sometimes an individual action inside a step requires multiple
 ticks to accomplish. | 
| java.lang.String | step() | The main ticking method, which will cause the slave/mob
 to take an action towards the completion of the geas
 step. | 
java.lang.String step()
void setSubStep(int subStepNum)
subStepNum - the sub step ordinalMOB getBotheredMob()
boolean botherIfAble(java.lang.String msgOrQ)
msgOrQ - the message to speak.boolean sayResponse(MOB speakerM, MOB targetM, java.lang.String response)
speakerM - the speaker mobtargetM - the target mob, if anyresponse - the words spoken