2023-11-21 23:00:36 -06:00

24 lines
1.5 KiB
Plaintext

#include "nw_i0_spells"
#include "NW_I0_GENERIC"
#include "x0_i0_anims"
void main()
{
object oActor;
oActor = OBJECT_SELF;
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Cabbage", 90.0))));
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Vegetable1", 190.0))));
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Vegetable2", 90.0))));
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Cabbage", 190.0))));
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("PumpkinPatch", 90.0), FALSE, 3.0f, 30.0f)));
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
ActionDoCommand (AssignCommand(oActor, ActionForceMoveToObject(GetRandomObjectByTag("Strawberries", 90.0))));
ActionDoCommand (AssignCommand(oActor, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 60.0)));
DelayCommand (390.5, ExecuteScript("farmhand3"));
}
//Strawberries PumpkinPatch Cabbage Vegetable1 Vegetable2