fix(game): restore the six-way effect target
Implement the flagged object-84 selector and initially inactive type-4 object 149. Choose a different effect from 1-6, render the enabled target from its original active-table rectangle, award its static 500 points, then apply the recovered bonus or cashout action and disable it until reselected. This replaces the final unimplemented help-screen target effect with its original dispatcher values. Test Plan: - `cargo test --all-targets` -- 49 passed - `cargo clippy --all-targets -- -D warnings` -- passed - `cargo build --profile production` -- passed - live object-84 probe activated record 149 and selected effect 3 - effect selection/consumption test -- passed - `git diff --cached --check` -- passed
This commit is contained in:
@@ -333,6 +333,8 @@ pub const LOCK_HOLES: [MechanismSensor; 5] = [
|
||||
pub const WHEEL_RESET_SENSOR: MechanismSensor =
|
||||
MechanismSensor::new(148, Vec2::new(17.0, 23.0), 19.0);
|
||||
|
||||
pub const EFFECT_SENSOR: TargetSensor = TargetSensor::new(149, Vec2::new(68.0, 65.0), 16.0, 500);
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user