-
Notifications
You must be signed in to change notification settings - Fork 9
Attributes
Attributes are positioned in bracket-encapsulation after a # in the keys field of an entry in the World Information interface.
- All of the attributes can be utilized in combination with each other.
- Keyword conditions are handled via Regular Expressions.
- Familiarity is recommended, but not strictly necessary.
- Treat
|as anORstatement and,as anANDstatement.- You can escape
,with\(\,) to prevent the creation of anANDcondition.
- You can escape
- Some attributes accept a value assignment via
=to further configure the behavior.- Examples:
[d=1],[rt=5],[am=3p=3rt]
- Examples:
-
Descriptor attribute.
-
Supplements the entry to the matching word of the last RegEx to form precise descriptors.
-
Default insertion becomes the
lastIndexOfofmatchwith the optional value assignment inserting it aftermatch.Examples
-
keys(your)(?!.*(his|her)).*(eyes?|iris)#[d]RegEx -
entryazure-blueYou look into her eyes. She looks into your azure-blue eyes.
-
-
linespositional attribute. -
Positions the entry relative to the length of
linesin context. -
Default position becomes
lines.lengthwith the optional value assignment pushing it further back.Examples
-
keys.#[p=3]RegEx -
entry[Author's Note: You are the danger.]- Functions the same as
authorsNote.
[Author's Note: You are the danger.] You walk to the mall to get yourself some milk. At the mall you notice that the store is closed. Unaware of the outlandish rage boiling within you, the manager is unprepared for the barrage of complaints you're about to unleash. - Functions the same as
-
-
memoryLinespositional attribute. -
Positions the entry relative to the length of
memoryLinesin context. -
Default position becomes
memoryLines.lengthwith the optional value assignment pushing it further back.Examples
-
keys(you).*(die|perish)#[m]RegEx -
entryDeath has promised to welcome your presence when the time comes.[... Remember] Death has promised to welcome your presence when the time comes. [... Story] In your final moments, you perish.
-
-
Trailing and relative positional attribute.
-
Trails and positions the entry relative to the last qualifying RegEx in context.
-
Default position becomes the line above the qualifier with the optional value pushing it further back.
Examples
-
keys(you).*(cast|summon|conjure).*(fire-?(ball|vortex|tornado))#[t]RegEx -
entry> You masterfully incinerate the enemies.> You masterfully incinerate the enemies. In the midst of battle, you summon a fire-tornado
-
-
Random selection attribute.
-
Randomly selects between contesting entries that share the same conditions.
Examples
KEYS | ENTRY (you).*(punch|hit|jab)#[rt] | > You fail miserably. (you).*(punch|hit|jab)#[rt] | > You masterfully land a blow. (you).*(punch|hit|jab)#[rd] | pitifully (you).*(shoot|fire)#[rt] | > You effortlessly hit your target with your superior fire-arm skills.- In the above examples, the three first entries have a
33%chance of executing themselves while the fourth is uncontested and thus has a100%execution rate.
- In the above examples, the three first entries have a
-
List of Attributes
- [d] Descriptor
- [f] Filter
- [i] Ignore
- [l] Length
- [p] Positional
- [m] Memory Positional
- [t] Trailing Positional
- [r] Random Selector
- [x] Exclude