Skip to content

Commit

Permalink
Fix #4085: Remove shatter logic from Old Aperture monitors
Browse files Browse the repository at this point in the history
Also move the instance into the monitors package, and remove the look-at logic
  • Loading branch information
Luke18033 authored and Luke18033 committed Feb 22, 2022
1 parent f64c0e4 commit d5c999c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 464 deletions.
30 changes: 1 addition & 29 deletions packages/monitors/items/monitor_retro.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,7 @@

"Monitor"
{
"bullseye_name" "turr_targ"
"bullseye_loc" "64 0 -56"
}

"QuoteEvent"
{
// Once shattered...
"ID" "BEE2_MONITOR_SHATTER"
"File" "" // No reaction by default
}
}

"Condition"
{
// Set by Monitor command.
"instvar" "$is_breakable 1"
"Result"
{
"AddOverlay"
{
"File" "instances/BEE2/clean/items/screen/monitor_laser.vmf"
"Offset" "0 0 8" // Account for motionless screen.
}
"QuoteEvent"
{
// When the monitor is first hit by a laser.
"ID" "BEE2_MONITOR_LASERED"
"File" "" // No reaction by default
}
// Old Aperture monitors don't break, so no turret bullseye.
}
}
}
Expand Down
Loading

0 comments on commit d5c999c

Please sign in to comment.