FutureProg functions
addterritory
Overload 1
addterritory overload 1
Boolean addterritory(Character character, Location location)
Available in
- computer function
- computer program
- standard futureprog
Adds a room to a character's Territory effect, creating the effect if necessary. Optional text flags tag the room for later AI checks. Errors if the character or room is null; otherwise returns true.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should gain the room. |
location |
Location |
The room to add to the character's territory. |
Overload 2
addterritory overload 2
Boolean addterritory(Character character, Location location, Text flag1)
Available in
- computer function
- computer program
- standard futureprog
Adds a room to a character's Territory effect, creating the effect if necessary. Optional text flags tag the room for later AI checks. Errors if the character or room is null; otherwise returns true.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should gain the room. |
location |
Location |
The room to add to the character's territory. |
flag1 |
Text |
A text tag to attach to this territory room for later AI checks. |
Overload 3
addterritory overload 3
Boolean addterritory(Character character, Location location, Text flag1, Text flag2)
Available in
- computer function
- computer program
- standard futureprog
Adds a room to a character's Territory effect, creating the effect if necessary. Optional text flags tag the room for later AI checks. Errors if the character or room is null; otherwise returns true.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should gain the room. |
location |
Location |
The room to add to the character's territory. |
flag1 |
Text |
A text tag to attach to this territory room for later AI checks. |
flag2 |
Text |
A second text tag to attach to this territory room. |
Overload 4
addterritory overload 4
Boolean addterritory(Character character, Location location, Text flag1, Text flag2, Text flag3)
Available in
- computer function
- computer program
- standard futureprog
Adds a room to a character's Territory effect, creating the effect if necessary. Optional text flags tag the room for later AI checks. Errors if the character or room is null; otherwise returns true.
| Parameter | Type | Description |
|---|---|---|
character |
Character |
The character whose Territory effect should gain the room. |
location |
Location |
The room to add to the character's territory. |
flag1 |
Text |
A text tag to attach to this territory room for later AI checks. |
flag2 |
Text |
A second text tag to attach to this territory room. |
flag3 |
Text |
A third text tag to attach to this territory room. |