FutureProg functions

stockstablemount

Economycomputer function, computer program, standard futureprog

stockstablemount overload 1

Item stockstablemount(Number template, Location stableRoom, Item container, Character depositor, Number openingDebt)
Available in
  • computer function
  • computer program
  • standard futureprog
Creates an NPC in native stable custody and a bound native ticket in the container. Returns the ticket, or null for invalid inputs or refused placement. Does not create a recurring spawn or assign ownership.
ParameterTypeDescription
template Number Approved NPC template ID.
stableRoom Location Room containing the native stable.
container Item Container receiving the native ticket.
depositor Character Original depositor, or null for an unknown depositor.
openingDebt Number Nonnegative existing debt; no lodging payment is invented.