Example #1
0
    public override bool Construct(Verb verb, Dictionary <string, object> data)
    {
        verb.displayLabel = "Phase";

        verb.AddValidInput("phase");

        return(true);
    }
Example #2
0
    public override bool Construct(Verb verb, Dictionary <string, object> data)
    {
        verb.displayLabel = "Wait";

        verb.blackboard["actionTime"] = 500.0;

        verb.AddValidInput("wait");

        return(true);
    }
Example #3
0
    public override bool Construct(Verb verb, Dictionary <string, object> data)
    {
        verb.displayLabel = "Grab";

        verb.blackboard["actionTime"] = 100.0;
        verb.blackboard["quantity"]   = 1;
        verb.blackboard["capacity"]   = -1.0;

        verb.blackboard["inventory"]    = (PhysicalAttachmentPoint)null;
        verb.blackboard["physicalSelf"] = (Physical)null;

        verb.AddValidInput("grab", "drop", "pickup", "take");

        return(true);
    }