Tiger

From Wiki of ZZT
Revision as of 19:12, 13 February 2021 by The Green Herring (talk | contribs) (Byte)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Tiger
ZZT-OOP nametiger
Internal ID42 (0x2A)
Character#char 227 π (0xE3)
Default colorcyan on black (0x0B)
Categorycreature
Stats
Default cycle2
P1Intelligence
P2Firing rate/type
Other traits
Score when shot2
Effect on movementpushable, squishable
Destructible?yes
Uses ZZT-OOP color names?no

Tigers are a type of built-in enemy creature in ZZT. They follow the Lion's movement logic, while adding the ability to shoot bullets or stars.

The chance of a Tiger shooting on a given tick is (⌊P2 / 3⌋ / 9), where P2 is equal to Firing Rate - 1. As such, the most powerful Tiger that can be created in the default editor, with P2 = 8, will shoot about 22% of the time. If the Player is within two horizontal spaces of the Tiger, it will opt to shoot in a vertical direction - otherwise, if the Player is within two vertical spaces of it, it will shoot in a horizontal direction.