[98] added use_all to ribbon overlays

This commit is contained in:
meisnate12 2023-08-18 11:45:13 -04:00
parent cd29b352e8
commit 5fa5eb0fd0
3 changed files with 11 additions and 2 deletions

View file

@ -1 +1 @@
1.19.0-develop97
1.19.0-develop98

View file

@ -64,9 +64,16 @@ templates:
- back_line_width
- addon_offset
- addon_position
conditionals:
final_use:
conditions:
- use_<<key>>.exists: true
value: <<use_<<key>>>>
- use_all: false
value: false
builder_level: <<builder_level>>
run_definition:
- <<use_<<key>>>>
- <<final_use>>
- <<use_<<alt>>>>
- <<allowed_libraries>>
suppress_overlays: <<suppress_overlays>>

View file

@ -30,6 +30,7 @@ Supported Overlay Level: Movie, Show
| Metacritic Must See | `metacritic` | `30` |
| Commonsense Selection | `common` | `20` |
| Razzies Winner | `razzie` | `10` |
## Config
The below YAML in your config.yml will create the overlays:
@ -61,6 +62,7 @@ All [Shared Overlay Variables](../overlay_variables) are available with the defa
| Variable | Description & Values |
|:-----------------------------|:------------------------------------------------------------------------------------------------------------------------|
| `use_all` | **Description:** Used to turn on/off all keys. <br>**Default:** `true` <br>**Values:** `true` or `false` |
| `weight_<<key>>`<sup>1</sup> | **Description:** Controls the weight of the Overlay. Higher numbers have priority.<br>**Values:** Any Number |
| `style` | **Description:** Controls the color of the ribbon. <br>**Default:** `yellow` <br>**Values:** `yellow, gray, black, red` |