FutureProg functions
istagged
Overload 1
istagged overload 1
Boolean istagged(Item thing, Number tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the specified tag. For example, if you specify the tag 'Cutting Implement' and thing is tagged with the 'Knife' tag, and Knife is a Cutting Implement, then thing is a cutting implement.
| Parameter | Type | Description |
|---|---|---|
thing |
Item |
The thing whose tags you want to interrogate |
tag |
Number |
The id of the tag you want to test for |
Overload 2
istagged overload 2
Boolean istagged(Item thing, Tag tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the supplied tag.
| Parameter | Type | Description |
|---|---|---|
thing |
Item |
The thing whose tags you want to interrogate |
tag |
Tag |
The resolved tag to test |
Overload 3
istagged overload 3
Boolean istagged(Item thing, Text tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the specified tag. For example, if you specify the tag 'Cutting Implement' and thing is tagged with the 'Knife' tag, and Knife is a Cutting Implement, then thing is a cutting implement.
| Parameter | Type | Description |
|---|---|---|
thing |
Item |
The thing whose tags you want to interrogate |
tag |
Text |
The name of the tag you want to test for |
Overload 4
istagged overload 4
Boolean istagged(Location thing, Number tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the specified tag. For example, if you specify the tag 'Cutting Implement' and thing is tagged with the 'Knife' tag, and Knife is a Cutting Implement, then thing is a cutting implement.
| Parameter | Type | Description |
|---|---|---|
thing |
Location |
The thing whose tags you want to interrogate |
tag |
Number |
The id of the tag you want to test for |
Overload 5
istagged overload 5
Boolean istagged(Location thing, Tag tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the supplied tag.
| Parameter | Type | Description |
|---|---|---|
thing |
Location |
The thing whose tags you want to interrogate |
tag |
Tag |
The resolved tag to test |
Overload 6
istagged overload 6
Boolean istagged(Location thing, Text tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the specified tag. For example, if you specify the tag 'Cutting Implement' and thing is tagged with the 'Knife' tag, and Knife is a Cutting Implement, then thing is a cutting implement.
| Parameter | Type | Description |
|---|---|---|
thing |
Location |
The thing whose tags you want to interrogate |
tag |
Text |
The name of the tag you want to test for |
Overload 7
istagged overload 7
Boolean istagged(Terrain thing, Number tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the specified tag. For example, if you specify the tag 'Cutting Implement' and thing is tagged with the 'Knife' tag, and Knife is a Cutting Implement, then thing is a cutting implement.
| Parameter | Type | Description |
|---|---|---|
thing |
Terrain |
The thing whose tags you want to interrogate |
tag |
Number |
The id of the tag you want to test for |
Overload 8
istagged overload 8
Boolean istagged(Terrain thing, Tag tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the supplied tag.
| Parameter | Type | Description |
|---|---|---|
thing |
Terrain |
The thing whose tags you want to interrogate |
tag |
Tag |
The resolved tag to test |
Overload 9
istagged overload 9
Boolean istagged(Terrain thing, Text tag)
Available in
- computer function
- computer program
- standard futureprog
Returns whether or not the thing has or counts as the specified tag. For example, if you specify the tag 'Cutting Implement' and thing is tagged with the 'Knife' tag, and Knife is a Cutting Implement, then thing is a cutting implement.
| Parameter | Type | Description |
|---|---|---|
thing |
Terrain |
The thing whose tags you want to interrogate |
tag |
Text |
The name of the tag you want to test for |