PERMISSIONS - Achaea Online Help

6.21 PERMISSIONS

Our permissionssystem allows you to specify who can access something, or who
is affected by something. The housing system (HELP HOUSING) uses it to decide
who can and cannot open a door in a house. If there are no permissions set on
a door it will default to anyone can open. The library system (HELP LIBRARIES)
uses the system to determine who can check out volumes, at what cost, and for
how long. The ship system (HELP SHIPS) uses the permission system to determine
who is allowed to be crew as well as who may board the ship. The totems system
(HELP TOTEMS) also uses permissions.
Permissions are a series of statements that are either true or false. Example:
RANK 10 OF PHAESTUS.
That permission means that people who are rank 10 in the Order of Phaestus pass
the test. You can also combine multiple permissions:
MEMBER OF CYRENE
NOT ENEMIES
Which would apply to any member of Cyrene and all those not your enemies.
To get even more elaborate, you can also use the 'not' modifier to take the
opposite of a permission string. You may also use 'except' to exclude
certain people or groups of people.
An example of permissions using everything you've learned so far could be:
NOT ENEMY
RANK 10 OF PHAESTUS
SARAPIS
NOT MEMBER OF CYRENE
EXCEPT NOT RANK 3 OF ASHTAN
EXCEPT AEYR
The following would pass the permissions test:
- People who aren't your enemies. (Note that this is most people.)
- People who are rank 10 in Phaestus' order.
- Sarapis -- even if He was on your enemy list!
- Everyone who is NOT a member of Cyrene.
It would prevent people from opening the door who are:
- Less than city rank 3 in Ashtan.
- Aeyr -- even if He was rank 10 of Phaestus!
Obviously this is a bit of a silly set of permissions, but it shows how
elaborate you can get. The following are the specific permissions that you can
use:
PERSON
- A specific person.
ALLY
- Your allies.
ENEMY
- Your enemies.
FRIEND
- Your friends.
MEMBER OF <organisation>
- A member of an organisation, including clans, Houses, orders, cities,
Oakstone etc.
ENEMY OF <organisation>
- An enemy of an organisation.
COUNCIL_MEMBER OF <org>
- A member of the ruling council of a city.
LEADER/HOUSEMASTER OF <org>
- A city leader, a Housemaster, or the leader of a clan.
RANK <x> OF <org>
- At least rank <x> in cities, House, or orders.
NEWCOMERHEAD OF <House>
- The newcomerhead of a House.
POSITION <x> OF <House>
- Holder of position <x> in a House.
<ministry> OF <city>
- A minister of a city. For instance: AMBASSADOR OF ASHTAN
<ministry>_AIDES of <org>
- A minister and his aides. For instance: AMBASSADOR_AIDES OF ASHTAN
CLANPOSITION <number> OF <clanname>
- Members of a clan in a specific position.
e.g. HOUSING SET DOOR PERMS out clanposition 1 of acc