This is an Irregular Webcomic! themed task.*
Death is a rather extensive orginization, and, although Head Death has had no trouble telling his employees apart, certain other entities connected to the orginization have had trouble keeping track of them all.
Thus, your task here is to, given the title of one of the various Deaths, generate the corresponding 32x32 pixel image of that Death.
Furthermore, as Head Death is rather bureaucratic (and a little bit stingy), the shortest program (after a few bonuses have been taken into account) will be the one chosen for official use.
Input must be case-insensitive. Additionally, the prefixes Death Of
, Death By
, and The Death Of
should be treated as equivalent.
The output image may be saved to a file (in any lossless bitmap image format) or displayed on the screen.
The following are the EXACT RGB values to be used:
White 255 255 255
Black 0 0 0
Dark Gray 125 125 125
Bone Gray 170 170 170
Purple 60 0 140
Brown 120 40 0
Blue 0 80 200
Green 0 100 0
Neon Green 100 255 0
Red 0 255 0
(Note that no one Death uses all of those colors, and the only color which is common to all of them is bone gray)
Each output image shown here is shown first at actual size and then at 3x close-up.
You are required to support the following Deaths:
The Death of Insanely Overpowered Fireballs
The Death of Choking On A Giant Frog
Head Death
The Death of Being Wrestled To Death By Steve
The Death of Inhaling Hatmaking Chemicals
Charon
(Note that Charon's exact role in the organization is unknown)
You are not required to support the following Deaths, but may do so for various bonuses
Death by Having Your Pelvis Crushed (-8% bonus)
The Death of Being Ground By A Mars Rover Rock Abrasion Tool (-10% bonus)
The Death of Drowning in a Reactor Pool (-10% bonus)
The Death of Being Impaled By A Javelin (-8% bonus)
The Death of Being Stabbed By A Cutlass (-9% bonus)
The Death of Bad Pizza Deliveries (-7% bonus)
(Probably the only Death not to wear a cape. Don't ask me why.)
If you add include all of them, the final multiplier is 0.92*0.9*0.9*0.92*0.91*0.93≈0.58
.
Additional Bonus
If you use an RGBA format and replace the white background with transparency, save an extra 12%.
*
Irregular Webcomic! is ©2002-Present David Morgan-Mar. CC BY-NC-SA.