Advertisement
Guest User

Untitled

a guest
May 4th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. init python:
  2. def phoebe_func(st, at):
  3. filename = "{}_{}_{}_{}.png".format(
  4. hairType,
  5. colorHair,
  6. colorEye,
  7. skinColor,
  8. )
  9.  
  10. return filename, None
  11.  
  12. image phoebe = DynamicDisplayable(phoebe_func)
  13.  
  14.  
  15. label start:
  16. $ hairType = "short"
  17. $ colorHair = "red"
  18. $ colorEye = "green"
  19. $ skinColor = "white"
  20.  
  21. # Uses short_red_green_white.png.
  22. show phoebe
  23.  
  24. "Phoebe" "Hello, world."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement