Colors accessible from ZZT

From Wiki of ZZT
Revision as of 01:37, 25 April 2021 by Rbts (talk | contribs) (high-intensity -> bright)
Jump to navigation Jump to search

ZZT-OOP has seven named colors: blue, green, cyan, red, purple, yellow and white. These correspond to the seven bright colors in the default 16-color CGA palette. With the exception of doors, named colors apply to an element's foreground color, and are paired with a black background. A handful of additional colors can be obtained through ZZT-OOP by using the change and put commands on built-in entities with hard-coded colors.

Below are examples of how to obtain gems of various colors using ZZT-OOP.


Dark colors on black

Dark brown on black

#put e torch

#change torch gem


Alternatively:

#put e bear

#change bear gem


Dark cyan on black

#put e ammo

#change ammo gem


Dark purple on black

#put e energizer

#change energizer gem


Gray on black

#put e shark

#change shark gem


Black on dark colors

Black on dark green

#put e forest

#change forest gem


Black on gray

#put e empty

#put e gem


White on dark colors

White on gray

#put e door

#change door gem


White on dark blue

#put e blue door

#change door gem


White on dark green

#put e green door

#change door gem


White on dark red

#put e red door

#change door gem


White on dark purple

#put e purple door

#change door gem


White on brown

#put e yellow door

#change door gem


Blinking white on black and dark colors

Blinking white on black

#put e forest

#change forest door

#change door gem


Blinking white on dark cyan

#put e ammo

#put e door

#put e gem

Note: The ammo won't automatically be overwritten by the newly-created door. You can delete it with #change ammo empty, or put the object next to an obstacle such that the ammo gets crushed when the door is created.


Blinking white on dark purple

#put e energizer

#put e door

#change door gem


Blinking white on brown

#put e torch

#put e door

#change door gem


Blinking white on gray

#put e shark

#put e door

#change door gem


References

Mystical Winds Encyclopedia v1.4: $MWENC_B.ZZT: 7. MW More In-Game Colors