Lion: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Element |name=Lion |zzt-oop name=lion |category=creature |id=29h |color=red on black (0Ch) |char=234 (EAh) |stats=yes |movement effect=pushable, squishable |put color=red }}...") |
m (Byte) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
|zzt-oop name=lion | |zzt-oop name=lion | ||
|category=creature | |category=creature | ||
|id= | |id={{Byte|41}} | ||
|color=red | |color={{ColorSwatch|fg=red|bg=black}} | ||
|char=234 | |char={{CharSwatch|234}} | ||
|stats=yes | |stats=yes | ||
|movement | |cycle=2 | ||
| | |p1=Intelligence | ||
|score=1 | |||
|destructible=yes | |||
|effect on movement=pushable, squishable | |||
|uses zzt-oop color=no | |||
}} | }} | ||
'''Lions''' are a type of built-in enemy creature in ZZT. They move around semi-randomly, with a tendency to seek out the player. They can only do damage on contact, which destroys the lion as well. | |||
The chance of a lion following the player as opposed to moving randomly is <code>((P1 + 1) * 0.1)</code>, where <code>P1</code> is equal to <code>Intelligence - 1</code>. As such, in the default editor, it's possible to create lions with player-seeking behaviour expressed within between 10% and 90% of movements. | |||
[[Category:Elements]] | |||
{{ElementsNavbox}} | |||
Latest revision as of 19:11, 13 February 2021
| Lion | |
|---|---|
| ZZT-OOP name | lion |
| Internal ID | 41 (0x29) |
| Character | #char 234 Ω (0xEA) |
| Default color | red on black (0x0C) |
| Category | creature |
| Stats | |
| Default cycle | 2 |
| P1 | Intelligence |
| Other traits | |
| Score when shot | 1 |
| Effect on movement | pushable, squishable |
| Destructible? | yes |
| Uses ZZT-OOP color names? | no |
Lions are a type of built-in enemy creature in ZZT. They move around semi-randomly, with a tendency to seek out the player. They can only do damage on contact, which destroys the lion as well.
The chance of a lion following the player as opposed to moving randomly is ((P1 + 1) * 0.1), where P1 is equal to Intelligence - 1. As such, in the default editor, it's possible to create lions with player-seeking behaviour expressed within between 10% and 90% of movements.
| Elements | |
|---|---|
| Special | |
| Items | |
| Terrain | |
| Creatures | |
| Text | |