Settings
Settings can be modified in Edit > Project Settings > Stoch (Editor).
Squelch Import Warnings (Missing Columns)
When importing a loot table template, warnings about missing columns are ignored. E.g., consider this table formatted as a CSV file:
RowName,RefTable,RefRowName,Weight,RefMode
"Y","DataTable'/Game/Stoch/DataTables/TableA.TableA'","X","100","Row"
Loot Table Template A (Unlimited) | ||||
---|---|---|---|---|
Row Name | Ref Table | Ref Row Name | Weight | Ref Mode |
Y | Table A | X | 100 | Row |
Importing this table would cause a warning about missing the Weight Inherit Mode column. It will still import successfully but rows with missing columns will receive a default value.
Fixup Row References
When a row in a data table or loot table gets renamed, all loot table rows which reference that row will automatically get updated to the new name.
This feature is experimental. There are some cases where updates do not occur correctly. As such, it is Disabled by default.
Enabling this feature with source control may cause excessive check-outs. Use with caution.
Suppose we have the following tables:
Data Table Fruits | |
---|---|
Row Name | |
Apple | |
Banana |
Loot Table Template B (Unlimited) | |||||
---|---|---|---|---|---|
Row Name | Ref Table | Ref Row Name | Ref Mode | Weight | Weight Inherit Mode |
X | Fruits | Apple | Row | 200 | Parent |
With this option enabled, renaming the row Apple from Data Table Fruits to Apple_Renamed would cause Loot Table B, Row X to have its ref row name changed to Apple_Renamed. E.g.:
Data Table Fruits (After Rename) | |
---|---|
Row Name | |
Apple_Renamed | |
Banana |
Loot Table Template B (Unlimited) | |||||
---|---|---|---|---|---|
Row Name | Ref Table | Ref Row Name | Ref Mode | Weight | Weight Inherit Mode |
X | Fruits | Apple_Renamed | Row | 200 | Parent |
Auto Save After Reference Fixup
When a row reference is fixed up from the Fixup Row References setting, automatically save the loot table templates that were updated.
This feature is experimental. It can cause excessive check-outs when using source control.