| 392 | export const mutators = dialogNode => dialogNode?.mutators |
| 393 | |
| 394 | const backgroundObject = triggers => { |
| 395 | const bgObject = (triggers || {}).backgroundObject |
| 396 | if (!(bgObject || {}).thangType) { |
| 397 | return |
| 398 | } |
| 399 | |
| 400 | return _.merge(DEFAULT_THANGTYPE(), bgObject.thangType) |
| 401 | } |
| 402 | |
| 403 | /** |
| 404 | * @param {Object} triggers |
nothing calls this directly
no test coverage detected