FutureProg functions
toitemprototype
Overload 1
toitemprototype overload 1
ItemPrototype toitemprototype(Number id)
Available in
- computer function
- computer program
- standard futureprog
Returns the current item prototype by ID or name, or null.
| Parameter | Type | Description |
|---|---|---|
id |
Number |
The ID of the item prototype to find. |
Overload 2
toitemprototype overload 2
ItemPrototype toitemprototype(Text name)
Available in
- computer function
- computer program
- standard futureprog
Returns the current item prototype by ID or name, or null.
| Parameter | Type | Description |
|---|---|---|
name |
Text |
The name or ID of the item prototype to find. |