LookFromString
A look’s one line back into its table.
kind=name pairs separated by ; (or , or spaces), in any order; a pair of another kind is skipped. "" is {}.
gender=female (or woman) sets gender = "female".
Syntax
Section titled “Syntax”LookFromString(text)| Parameter | Type | |
|---|---|---|
text |
string | the one-line form |
Returns
Section titled “Returns”table - {body, head, hair, beard, gender}
Example
Section titled “Example”local look = LookFromString(row.look)look.beard = "m_beard_00" -- a shaveSetPlayerLook(pid, look)See also
Section titled “See also”LookToString · the Looks and character creation group of the index
