-
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.Click for Examples
keys entry result RegEx (your)(?!.*(his|her)).*(eyes?|iris)#[d]azure-blue You look at her eyes.
She looks at your azure-blue eyes.RegEx (your)(?!.*(his|her)).*(sword|dagger|lance)#[d]legendary You equip your dagger then unsheathe your legendary sword. John#[d=1](Your Party's Healer) John (Your Party's Healer) casts his spells.
-
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.Click for Examples
keys entry result regex .#[p=3][Author's Note: You are the danger.] [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.RegEx .#[p=3][Editor's Note: Be indescriptive, let the reader extrapolate information.] [Editor's Note: Be indescriptive, let the reader extrapolate information.]
The enemy is.
Enemy swing.
You ouch.
(forest|woods?|underbush),goblin#[p=3]Another wave of goblins prepare to strike from the bushes. Another wave of goblins prepare to strike from the bushes.
> You attack the goblins.
You kill the goblins and gain goblin loot.
The next wave of goblins rush at you.
-
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.Click for Examples
keys entry result RegEx (you).*(die|perish)#[m]Death 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.RegEx
-
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.
Click for Examples
keys entry result RegEx (you).*(cast|summon|conjure).*(fire-?(ball|vortex|tornado))#[t]> You masterfully incinerate the enemies. > You masterfully incinerate the enemies.
In the midst of battle, you summon a fire-tornadoRegEx
- Random selection attribute.
- Randomly selects between contesting entries that share the same conditions.
Click for 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.
-
List of Attributes
- [d] Descriptor
- [f] Filter
- [i] Ignore
- [l] Length
- [p] Positional
- [m] Memory Positional
- [t] Trailing Positional
- [r] Random Selector
- [x] Exclude