JCM:Resources Reload
From The District of Joban
Views
Actions
Namespaces
Variants
Tools
This page documents the procedure when an resource reload occurs.
- Read
jsblock:joban_custom_resources.json
if found. - Ignore (Along with a warning in console) if the json doesn't have
pids_images
. - Get
pids_images
as an array, and loop through it:- Get the ID of the pids preset
- Get weather visibility
- Get clock visibility
- Get if having custom text should push down arrivals. (Default false)
- Get fonts
- Get font color
- Get row visibility (Array)
- Get Background Image.
- Do not add if ID already exist
- Parse font color