<aside> 📌
You can use this class to set up or modify in-game books. You’ll need to use the DDS editor to provide the text.
</aside>
| Parameter | Input Format | Input Details | Notes |
|---|---|---|---|
| copyDataFrom | <book> | Copy all below parameters from an existing in-game book. | |
| bookName | <name> | The name of this book as referred to internally. | |
| author | <author name> | The author name for this book. | |
| genre | [ <integer>, … ] | 0 = crime | |
| 1 = history | |||
| 2 = esoteric | |||
| 3 = romance | |||
| 4 = medical | |||
| 5 = science | |||
| 6 = architecture | |||
| 7 = sciFi | |||
| 8 = memoir | |||
| 9 = propaganda | |||
| 10 = politics | |||
| 11 = beauty | |||
| 12 = food | |||
| 13 = nature | |||
| 14 = poetry | List of applicable genres. | ||
| isSeries | true/false | Is this book part of a series? | |
| seriesTag | <integer> | 0 = none | |
| 1 = detectiveGill | |||
| 2 = talesOfTheHeart | |||
| 3 = candorHistory | |||
| 4 = customSeries1 | |||
| 5 = customSeries2 | |||
| 6 = customSeries3 | |||
| 7 = customSeries4 | |||
| 8 = customSeries5 | |||
| 9 = customSeries6 | |||
| 10 = customSeries7 | |||
| 11 = customSeries8 | |||
| 12 = customSeries9 | |||
| 13 = customSeries10 | A tag given to the series. | ||
| seriesNumber | <integer> | Number of this book in its series. | |
| common | <integer> | 0 - 1 | How common this book is. |
| baseChance | <integer> | 0 - 1 | How likely anyone is to own this. |
| pickRules1 | [ true/false, <float>, <integer>, <character trait>, … ] | Element 0 = mustPassForApplication | |
| Element 1 = scoreModifier | |||
| Element 2 = | |||
| 0 = ifAnyOfThese | |||
| 1 = ifAllOfThese | |||
| 2 = ifNoneOfThese | |||
| 3 = ifPartnerAnyOfThese | |||
| Element 3+ = <character trait> | Pass the correct values into this to configure a citizen modifier check for spawning this item. | ||
| pickRules2 | [ true/false, <float>, <integer>, <character trait>, … ] | Element 0 = mustPassForApplication | |
| Element 1 = scoreModifier | |||
| Element 2 = | |||
| 0 = ifAnyOfThese | |||
| 1 = ifAllOfThese | |||
| 2 = ifNoneOfThese | |||
| 3 = ifPartnerAnyOfThese | |||
| Element 3+ = <character trait> | Pass the correct values into this to configure a citizen modifier check for spawning this item. | ||
| pickRules3 | [ true/false, <float>, <integer>, <character trait> ,… ] | Element 0 = mustPassForApplication | |
| Element 1 = scoreModifier | |||
| Element 2 = | |||
| 0 = ifAnyOfThese | |||
| 1 = ifAllOfThese | |||
| 2 = ifNoneOfThese | |||
| 3 = ifPartnerAnyOfThese | |||
| Element 3+ = <character trait> | Pass the correct values into this to configure a citizen modifier check for spawning this item. | ||
| spawnRule | <integer> | 0 = onlyAtHome | |
| 1 = onlyAtWork | |||
| 2 = homeOrWork | |||
| 3 = secret | Where should this book spawn? | ||
| bookMesh | <book> | Input another existing book for this book to copy the model from. | |
| bookMaterial | <book> | Input another existing book for this book to copy the material from. | |
| ddsMessage | <DDS Message ID> | A ID for a DDS message corresponding to the text. The first block is the title, the second is the content. |