Buttons: Difference between revisions

22 bytes added ,  3 April 2020
m
→‎Orange button: forgot to mention gray buttons in this part; links
(expanded orange button section; added some alternate terms; moved orange button under machine buttons; proper section capitalization)
m (→‎Orange button: forgot to mention gray buttons in this part; links)
Line 52: Line 52:
|moves = No
|moves = No
}}
}}
The '''orange button''' or '''flame jet button''' is a button introduced in [[Chip's Challenge 2]]. Each time they change from unpressed to pressed or vice versa, they invert the state of a corresponding [[flame jet]]. Consequently, if multiple orange buttons connect to the same flame jet, they interact with each other in an exclusive or-like fashion: if an even number of them are held down, the flame jet maintains its original state, and if an odd number of them are held down, the flame jet maintains the opposite state. Flame jets also toggle their state when a wire connected to it changes from unpowered to powered; this is an independent interaction which effectively changes the "initial state" that orange buttons see.
The '''orange button''' or '''flame jet button''' is a button introduced in [[Chip's Challenge 2]]. Each time they change from unpressed to pressed or vice versa, they invert the state of a corresponding [[flame jet]]. Consequently, if multiple orange buttons connect to the same flame jet, they interact with each other in an exclusive or-like fashion: if an even number of them are held down, the flame jet maintains its original state, and if an odd number of them are held down, the flame jet maintains the opposite state. Flame jets also toggle their state when a nearby gray button is pressed or a [[wire]] connected to it changes from unpowered to powered; these are independent interactions which effectively change the "initial state" that orange buttons see.


An orange button connects to a flame jet in a diamond grow pattern, prioritizing the rightmost flame jet and then searching in a counterclockwise fashion. However, this search seems to stop before the distance exceeds the maximum of the width and height of the map. <!--More research needed. Note that square and non-square grids (or perhaps width and height?) seem to behave differently.-->
An orange button connects to a flame jet in a diamond grow pattern, prioritizing the rightmost flame jet and then searching in a counterclockwise fashion. However, this search seems to stop before the distance exceeds the maximum of the width and height of the map. <!--More research needed. Note that square and non-square grids (and/or width and height?) seem to behave differently.-->


Orange buttons only switch from pressed to unpressed, and vice versa, when they detect something moving onto or off of them. Destroying an entity holding down an orange button using a [[bowling ball]] or [[dynamite]] will keep the button pressed, because the destroyed entity never actually moved off of the button. This permanently reverses the state of the affected flame jet, as though it were activated by a [[gray button]] or [[wire]]. Something similar to this can happen with [[black button]]s, but their behavior will return to normal as soon as something moves back onto them.
Orange buttons only switch from pressed to unpressed, and vice versa, when they detect something moving onto or off of them. Destroying an entity holding down an orange button using a [[bowling ball]] or [[dynamite]] will keep the button pressed, because the destroyed entity never actually moved off of the button. This permanently reverses the state of the affected flame jet, as though it were activated by a gray button or wire. Something similar to this can happen with black buttons, but their behavior will return to normal as soon as something moves back onto them.


{{clear}}
{{clear}}
trusted-editors
994

edits