turnTimer.json 597 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "items":
  3. [
  4. { //backgound color
  5. "type": "drawRect",
  6. "rect": {"x": 4, "y": 4, "w": 72, "h": 24},
  7. "color": [10, 10, 10, 255]
  8. },
  9. { //clocks icon
  10. "type": "image",
  11. "image": "VCMI/BATTLEQUEUE/STATESSMALL",
  12. "frame": 1,
  13. "position": {"x": 4, "y": 6}
  14. },
  15. { //timer field label
  16. "name": "timer",
  17. "type": "label",
  18. "font": "big",
  19. "alignment": "left",
  20. "color": "yellow",
  21. "text": "",
  22. "position": {"x": 26, "y": 2}
  23. },
  24. ],
  25. "variables":
  26. {
  27. "notificationTime": [0, 1, 2, 3, 4, 5, 20],
  28. "notificationSound": "WE5",
  29. "textColorFromPlayerColor": true
  30. }
  31. }