Script: Preparefish

From Ultima Online: The Second Age
Jump to: navigation, search
inherits globals;
trigger creation
{
  setObjVar(this, "I_am_food", 0x01);
  return (0x00);
}
trigger use
{
  loc location = getLocation(this);
  obj Q5CY = createNoResObjectAt(0x097A, location);
  transferResources(Q5CY, this, 0x04, "fish");
  return (0x00);
}