FutureProg functions

loaditem

Itemscomputer function, computer program, standard futureprog

Overload 1

loaditem overload 1

Item loaditem(ItemPrototype prototype)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads a new item from a resolved item prototype. It does not put the item anywhere.
ParameterTypeDescription
prototype ItemPrototype The resolved item prototype to load

Overload 2

loaditem overload 2

Item loaditem(ItemPrototype prototype, Character character, Text loadArguments)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads a new item with the supplied character as the load-string target context. The load string can contain `wearsize=10`, `wearsize=universal`, or `wearsize="for self"` / `wearsize="for <person>"`. It does not put the item anywhere.
ParameterTypeDescription
prototype ItemPrototype The ID or resolved item prototype to load
character Character The character used to resolve target-relative wearable sizing arguments
loadArguments Text The item variable and wearable sizing arguments

Overload 3

loaditem overload 3

Item loaditem(ItemPrototype prototype, Number quantity)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads a new item from a resolved item prototype. It does not put the item anywhere.
ParameterTypeDescription
prototype ItemPrototype The resolved item prototype to load
quantity Number The stack quantity when applicable

Overload 4

loaditem overload 4

Item loaditem(ItemPrototype prototype, Number quantity, Text variables)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads a new item from a resolved item prototype. It does not put the item anywhere.
ParameterTypeDescription
prototype ItemPrototype The resolved item prototype to load
quantity Number The stack quantity when applicable
variables Text Default values for registered item variables

Overload 5

loaditem overload 5

Item loaditem(ItemPrototype prototype, Text variables)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads a new item from a resolved item prototype. It does not put the item anywhere.
ParameterTypeDescription
prototype ItemPrototype The resolved item prototype to load
variables Text Default values for registered item variables

Overload 6

loaditem overload 6

Item loaditem(Number id)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the ID that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
id Number The ID of the item prototype that you want to load

Overload 7

loaditem overload 7

Item loaditem(Number prototype, Character character, Text loadArguments)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads a new item with the supplied character as the load-string target context. The load string can contain `wearsize=10`, `wearsize=universal`, or `wearsize="for self"` / `wearsize="for <person>"`. It does not put the item anywhere.
ParameterTypeDescription
prototype Number The ID or resolved item prototype to load
character Character The character used to resolve target-relative wearable sizing arguments
loadArguments Text The item variable and wearable sizing arguments

Overload 8

loaditem overload 8

Item loaditem(Number id, Number quantity)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the ID that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
id Number The ID of the item prototype that you want to load
quantity Number The quantity of the item you want to load. If this item is not stackable, this input is ignored.

Overload 9

loaditem overload 9

Item loaditem(Number id, Number quantity, Text variables)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the ID that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
id Number The ID of the item prototype that you want to load
quantity Number The quantity of the item you want to load. If this item is not stackable, this input is ignored
variables Text The default values for any variables on this item. This syntax is as per using the ITEM LOAD command in game, which means the general syntax is varname=value or varname="longer value", with multiple variables separated by spaces

Overload 10

loaditem overload 10

Item loaditem(Number id, Text variables)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the ID that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
id Number The ID of the item prototype that you want to load
variables Text The default values for any variables on this item. This syntax is as per using the ITEM LOAD command in game, which means the general syntax is varname=value or varname="longer value", with multiple variables separated by spaces

Overload 11

loaditem overload 11

Item loaditem(Text uniqueName)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the unique name that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
uniqueName Text The unique name of the item prototype that you want to load

Overload 12

loaditem overload 12

Item loaditem(Text uniqueName, Character character, Text loadArguments)
Available in
  • computer function
  • computer program
  • standard futureprog
Loads a new item with the supplied character as the load-string target context. The load string can contain `wearsize=10`, `wearsize=universal`, or `wearsize="for self"` / `wearsize="for <person>"`. It does not put the item anywhere.
ParameterTypeDescription
uniqueName Text The unique name of the item prototype to load
character Character The character used to resolve target-relative wearable sizing arguments
loadArguments Text The item variable and wearable sizing arguments

Overload 13

loaditem overload 13

Item loaditem(Text uniqueName, Number quantity)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the unique name that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
uniqueName Text The unique name of the item prototype that you want to load
quantity Number The quantity of the item you want to load. If this item is not stackable, this input is ignored.

Overload 14

loaditem overload 14

Item loaditem(Text uniqueName, Number quantity, Text variables)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the unique name that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
uniqueName Text The unique name of the item prototype that you want to load
quantity Number The quantity of the item you want to load. If this item is not stackable, this input is ignored
variables Text The default values for any variables on this item. This syntax is as per using the ITEM LOAD command in game, which means the general syntax is varname=value or varname="longer value", with multiple variables separated by spaces

Overload 15

loaditem overload 15

Item loaditem(Text uniqueName, Text variables)
Available in
  • computer function
  • computer program
  • standard futureprog
This function loads a new item into the game based on the unique name that you supply. It does not put the item anywhere, so you must then insert it somewhere like in a room or a character's inventory.
ParameterTypeDescription
uniqueName Text The unique name of the item prototype that you want to load
variables Text The default values for any variables on this item. This syntax is as per using the ITEM LOAD command in game, which means the general syntax is varname=value or varname="longer value", with multiple variables separated by spaces