File upandaway/lib/addstrings.lua
Utility functions for filling STRINGS.
Author:
Functions
Add.Names (names) |
Adds names to a set of prefabs. |
Add.QuotesBy (character) |
Adds a set of quotes for a character. |
Add.QuotesFor (prefab) |
Adds a set of quotes for a prefab. |
Tables
Add |
Table returned by the module. |
Functions
- Add.Names (names)
-
Adds names to a set of prefabs.
Parameters
-
names: Table mapping a prefab name to its user visible name.
- Add.QuotesBy (character)
-
Adds a set of quotes for a character.
Parameters
-
character: Character name.
Return value:
A function receiving a set of quotes, in the form of a table mapping a prefab name to a quote.
- Add.QuotesFor (prefab)
-
Adds a set of quotes for a prefab.
Parameters
-
prefab: Prefab name. If containing a period, the left part is taken as the actual prefab name and the right part as its status name.
Return value:
A function receiving a set of quotes, in the form of a table mapping a character name to a quote.
Tables
- Add
- Table returned by the module. All its functions are case insensitive in respect to prefab and character names.