Tiger: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Element |name=Tiger |zzt-oop name=tiger |category=creature |id=2Ah |color={{ColorSwatch|fg=cyan|bg=black}} |char={{CharSwatch|227}} |stats=yes |cycle=2 |p1=Intelligence |p2=...") |
m (Byte) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
|zzt-oop name=tiger | |zzt-oop name=tiger | ||
|category=creature | |category=creature | ||
|id= | |id={{Byte|42}} | ||
|color={{ColorSwatch|fg=cyan|bg=black}} | |color={{ColorSwatch|fg=cyan|bg=black}} | ||
|char={{CharSwatch|227}} | |char={{CharSwatch|227}} | ||
| Line 17: | Line 17: | ||
'''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. | '''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 <code>(⌊P2 / 3⌋ / 9)</code>, where <code>P2</code> is equal to <code>Firing Rate - 1</code>. As such, the most powerful Tiger that can be created, with <code>P2 = 8</code>, 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, it will shoot in a horizontal direction. | The chance of a Tiger shooting on a given tick is <code>(⌊P2 / 3⌋ / 9)</code>, where <code>P2</code> is equal to <code>Firing Rate - 1</code>. As such, the most powerful Tiger that can be created in the default editor, with <code>P2 = 8</code>, 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. | ||
[[Category:Elements]] | [[Category:Elements]] | ||
{{ElementsNavbox}} | {{ElementsNavbox}} | ||
Latest revision as of 19:12, 13 February 2021
| Tiger | |
|---|---|
| ZZT-OOP name | tiger |
| Internal ID | 42 (0x2A) |
| Character | #char 227 π (0xE3) |
| Default color | cyan on black (0x0B) |
| Category | creature |
| Stats | |
| Default cycle | 2 |
| P1 | Intelligence |
| P2 | Firing rate/type |
| Other traits | |
| Score when shot | 2 |
| Effect on movement | pushable, 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.
| Elements | |
|---|---|
| Special | |
| Items | |
| Terrain | |
| Creatures | |
| Text | |