this string similarly, but for espeak. Phonograms = "AEb=UW=sEH=IHt=IHl=EHt=st=AAn=lOW=nUW=T=nOW=AEl=lEY=hEY=JEH=zEY=sEH=bIY=sOW=UHs=EHz=AEr=mAE=IHn=dIY=rEY=EH=UXr=AEt=EHn=bEH=rAX=lAX=vEH=tIY=EHd=AAr=kw=AXn=tEY=IHz=rIY=AAn= " this string represents the 4 character phonemes associated with each digram. If the second character of a digram is equal to this single-character string, it is dropped when generating planet names (but kept for other random names). Digrams (pairs of letters) are selected from it to build names.ĭigrams = "ABOUSEITILETSTONLONUTHNOALLEXEGEZACEBISOUSESARMAINDIREA’ERATENBERALAVETIEDORQUANTEISRION " this string must always be the same length (98 characters). *** Planet names and other random names *** " \177 " // Special: deletes following character in the string it's expanded into. *** Inhabitant description generator *** Not used - the weapon name is read from ist " number-group-separator " = " " // Non-breaking space. * If the plural rule list is empty, you will get index 0. * If the plural rule list is undefined, you will get English rules. The second rule will require use of #n. * If you require either of two conditions, you need two rules. * All conditions must be true for the rule to be true. - the end, so that it affects only this rule. - the start, so that it always affects following rules #n is therefore normally only useful in one of two places in any rule: * Parsing of the rule stops at the first false condition. rest of this rule only second time cancels ~ command remaining conditions' results are inverted affects following rules, is still incremented * Each rule is a string containing a list of commands and/or be used but the quantity is indeterminate. * The input is always an integer, and should be -1 if a plural should * |index| 1 (wrt the last rule) is returned if none are matched. * |index| is returned if a rule is matched. It is incremented by 1 for each following rule. * |index| is, by default, 0 for the first rule. * The format is an array of rules, each one a string, as set out below. = a random line from item $number of system_description Precision:N - Converts a number to a string with n decimalĮxample: if foo = 10, the operator sequence Rounds the result to an integer, then like icr. Idcr – Integer decicredits: divides a number by ten, Icr - Integer credits: like cr, but with no decimal place. Ĭr - Formats a number as a credits value, with one decimalĭcr - Decicredits: like cr, but divides the number by 10. expansions can have one or more formatting operatorsĪppended using a pipe character. Theįollowing variabes are always(ish) available:Ĭommander_shipname (the type of the ship) will be replaced with variable $text provided by the placeholders for numbers, using printf syntax. %N - better random - Placeholder for text to be inserted by the game. %I - The possessive form of the current system's name, in English %H - "homeworld", the name of the current system. In general, the following expansions are possible: Processed in different ways in different contexts. Most of the text in the game comes from ist.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |