FutureProg functions

addterritory

Artificial Intelligence · computer function, computer program, standard futureprog

Boolean addterritory(Character character, Location location)
Contexts: 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.
character: The character whose Territory effect should gain the room.
location: The room to add to the character's territory.

Boolean addterritory(Character character, Location location, Text flag1)
Contexts: 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.
character: The character whose Territory effect should gain the room.
location: The room to add to the character's territory.
flag1: A text tag to attach to this territory room for later AI checks.

Boolean addterritory(Character character, Location location, Text flag1, Text flag2)
Contexts: 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.
character: The character whose Territory effect should gain the room.
location: The room to add to the character's territory.
flag1: A text tag to attach to this territory room for later AI checks.
flag2: A second text tag to attach to this territory room.

Boolean addterritory(Character character, Location location, Text flag1, Text flag2, Text flag3)
Contexts: 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.
character: The character whose Territory effect should gain the room.
location: The room to add to the character's territory.
flag1: A text tag to attach to this territory room for later AI checks.
flag2: A second text tag to attach to this territory room.
flag3: A third text tag to attach to this territory room.

← Back to FutureProg functions