Ruffian: Difference between revisions
(Unsure if I got the probabilities right (I'm tired).) |
(No difference)
|
Latest revision as of 08:00, 14 February 2021
| Ruffian | |
|---|---|
| ZZT-OOP name | ruffian |
| Internal ID | 35 (0x23) |
| Character | #char 5 ♣ (0x05) |
| Default color | purple on black (0x0D) |
| Category | creature |
| Stats | |
| X/Y-step | Yes |
| Default cycle | 1 |
| P1 | Intelligence |
| P2 | Resting Time |
| Other traits | |
| Score when shot | 2 |
| Effect on movement | pushable |
| Destructible? | yes |
| Uses ZZT-OOP color names? | no |
Ruffians are a type of built-in enemy known for their fast, erratic movement.
Ruffians have two states: resting and moving. While resting, the chance they choose to begin moving on a given tick is (Resting Time+7)/17. If they choose to move, they then randomly choose whether to move towards the player or in a random direction depending on their intelligence stat.
In their moving state, if they are aligned with the player they have a random chance of seeking towards the player (depending on their intelligence). Otherwise, they keep moving in a straight line until they leave their moving state. The chance that a moving ruffian returns to its resting state on a given tick is (Resting Time+7)/17. Hitting a wall also puts them back into their resting state.
| Elements | |
|---|---|
| Special | |
| Items | |
| Terrain | |
| Creatures | |
| Text | |