FutureProg functions

itemprototype

World Lookupcomputer function, computer program, standard futureprog

Overload 1

itemprototype overload 1

ItemPrototype itemprototype(Number id)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the current item prototype by ID or name, or null.
ParameterTypeDescription
id Number The ID of the item prototype to find.

Overload 2

itemprototype overload 2

ItemPrototype itemprototype(Text name)
Available in
  • computer function
  • computer program
  • standard futureprog
Returns the current item prototype by ID or name, or null.
ParameterTypeDescription
name Text The name or ID of the item prototype to find.