---
#
# Spittoon configuration for qdb's Comic Chat render mode.
#
# Deployed to $QDB_SPITTOON_DIR/config.yaml alongside artwork/ and
# backgrounds/. On simulacra the artwork/ dir holds the .avb-extracted
# original Microsoft Comic Chat character sprites; for local testing it
# is Spittoon's bundled example artwork (bucket/easy/melon/nibbles/taff).
#
# IMPORTANT: whatever artwork you drop in, each character must provide
# a face PNG for every name in face_sets and a pose PNG for every name
# in pose_sets, named <character>-<face>.png / <character>-<pose>.png.
# The .avb-extraction step (see README.txt) must map the original
# Comic Chat expressions onto these names.

comment: "Rendered by qdb via Spittoon (Microsoft Comic Chat algorithm)"

# Fonts --- drop a comic TTF in and point chat_font_file at it for the
# authentic look; the default font is used if left commented out.
#chat_font_file:         fonts/chatfont.ttf
chat_font_size:         13
chat_uppercase:         false
#title_font_file:        fonts/titlefont.ttf
title_font_size:        10
title_font_color:       grey50

# Stamped on every strip --- the viral back-link to gopherspace.
caption:                "gopher://gopher.someodd.zip  --  qdb"

panel_size:             300
strip_width:            480
strip_background_color: white
strip_padding:          10
max_chars_in_panel:     4
halo_size:              10
min_balloon_width:      50
balloon_padding:        8
balloon_stroke:         1.5
balloon_bulge:          4
tail_width:             5
body_on_head_distance:  0.6
shadows:                true

background_dir:         backgrounds
characters:
  - bucket
  - easy
  - melon
  - nibbles
  - taff

face_artwork_dir:       artwork/faces
face_sets:
  active:
    - shocked
    - speaking
    - surprised
    - grinning
    - happy
  passive:
    - bored
    - grinning
    - happy
    - listening
    - speaking
  positive:
    - grinning
    - happy
    - speaking
  negative:
    - annoyed
    - angry
    - bored
    - grossed

pose_artwork_dir:       artwork/poses
pose_sets:
  active:
    - exclaiming
    - explaining
    - pointing
    - question
    - surprised
  passive:
    - question
    - standing1
    - standing2
  other:
    - surprised
