Script: Preparefish

From Ultima Online: The Second Age
Revision as of 16:40, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> creation { setObjVar|<span style="color:#FF0000;font-weight:bold">...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
}