Phrase Generator

Tool: / OXP: / Database:"

First, it randomly selects sentence patterns. Then, wherever the pattern has a number (in range 1-9), it randomly selects a word from one of the numbered word lists. You can either choose one of the sample sets of words and sentence patterns, or you can enter your own words and sentence patterns. The script tries to minimize repetitions e.g. 'black, black god of', but this is costly and reduced to one other random selection.

Word Lists
Samples: How many: Irregular verbs: Irregular nouns: Superlatives:

(prefixed with P + pattern #: for better orientation) : Return additional object: : Show stored values: : Recursion guards:

1 2 3 4 5 6 7 8 9
Patterns Rules

Split Rules - Readonly.
Custom - First entry must be number.
Set seed - Positive integer. 0 to clear.
Add Sample
Code - ready for c&p.


close

Comms Helper (Suggestion)

Bit Hex Meaning Influenced by Influenced by Influences
0 0x1 Mood neutral - - -
1 0x2 Mood relaxed - - -
2 0x4 Mood helpful - - -
3 0x8 Mood companion - - -
4 0x10 Mood stressed - - -
5 0x20 Mood under attack .shipBeingAttacked .shipBeingAttackedByCloaked -
6 0x40 Mood annoyed - - -
7 0x80 Mood rage - - -
8 0x100 Mood panic .shipEnergyIsLow .cascadeWeaponDetected -
9 0x200 - - - -
10 0x400 - - - -
11 0x800 - - - -
12 0x1000 Player suspicious player.bounty - Mood relaxed -
13 0x2000 Player victim .isPirate player.bounty Mood rage +
14 0x4000 Player attacked - - Mood rage +
15 0x8000 - - - -
16 0x10000 Ship escorted .escorts.length - Mood relaxed +
17 0x20000 Ship hasHostileTarget .hasHostileTarget - Mood relaxed -
18 0x40000 Ship jump capable .hasHyperSpaceMotor - Mood relaxed +
19 0x80000 Ship isPirateVictim .isPirateVictim - -
20 0x100000 Ship isPolice .isPolice - -
21 0x200000 Ship damaged .energy .shipTakingDamage Mood stressed +
22 0x400000 Ship temperature alert .temperature > 0.5 - Mood stressed +
23 0x800000 - - - -
24 0x1000000 - - - -
- # - $

All relations should be handled by the calling OXP. The Sample itself should only use, but not set values.

close

Overview:

next page



The mechanism is based on thinkzone.wlonk.com Poem Generator - expanded with rules and fields 10-18 .-)