Ricochet: Difference between revisions
Jump to navigation
Jump to search
m (correct color) |
(added a gif) |
||
| Line 18: | Line 18: | ||
If a bullet hits a wall and there are ricochets directly perpendicular to its direction of travel on ''both'' sides, then the bullet simply disappears. | If a bullet hits a wall and there are ricochets directly perpendicular to its direction of travel on ''both'' sides, then the bullet simply disappears. | ||
[[File:Ricochet-demo.gif|thumb|Ricochets can reflect bullets back where they came from and deflect them to the side.]] | |||
{{ElementsNavbox}} | {{ElementsNavbox}} | ||
Revision as of 07:37, 14 February 2021
| Ricochet | |
|---|---|
| ZZT-OOP name | ricochet |
| Internal ID | 32 (0x20) |
| Character | #char 42 * (0x2A) |
| Default color | green on black (0x0A) |
| Category | terrain |
| Stats? | no |
| Other traits | |
| Effect on movement | solid |
| Destructible? | no |
| Uses ZZT-OOP color names? | no |
Ricochets are solid walls that can either reflect or deflect bullets.
If a bullet hits a ricochet head-on then the bullet is reflected back where it came from.
If a bullet hits a wall and there is a ricochet directly perpendicular to its direction of travel on one side, then the bullet is deflected at a right angle away from the ricochet.
If a bullet hits a wall and there are ricochets directly perpendicular to its direction of travel on both sides, then the bullet simply disappears.
| Elements | |
|---|---|
| Special | |
| Items | |
| Terrain | |
| Creatures | |
| Text | |
