protected override void Configure() { locationVariable = new StateVarParameter <Vector3>(); table = new StateVarParameter <SmartObject>(); AddParametrizedPrecondition(WorldStates.STATE_POSITION, locationVariable); AddStaticPrecondition(WorldStates.STATE_HAND_RIGHT_ITEM, null); AddStaticGenericEffect(WorldStates.TABLE_SWEEPED, table, true); }
protected override void Configure() { locationVariable = new StateVarParameter <Vector3>(); groundSpot = new StateVarParameter <SmartObject>(); AddParametrizedPrecondition(WorldStates.STATE_POSITION, locationVariable); AddStaticPrecondition(WorldStates.STATE_HAND_RIGHT, broomClass); AddStaticGenericEffect(WorldStates.GROUND_SWEEPED, groundSpot, true); }
protected override void Configure() { itemTypeVariable = new StateVarParameter <DBItem>(); AddParametrizedEffect(WorldStates.STATE_HAND_RIGHT, itemTypeVariable); itemVariable = new StateVarParameter <InGameItem>(); AddParametrizedEffect(WorldStates.STATE_HAND_RIGHT_ITEM, itemVariable); locationVariable = new StateVarParameter <Vector3>(); AddParametrizedPrecondition(WorldStates.STATE_POSITION, locationVariable); AddStaticPrecondition(WorldStates.STATE_HAND_RIGHT_ITEM, null); }