From 5cf1657450c4fcbf055251c9447dc3fd9f03d9dc Mon Sep 17 00:00:00 2001 From: "theastropath@gmail.com" Date: Fri, 23 Jun 2023 22:02:21 -0400 Subject: [PATCH] Add bingo events for hacking computers, using tech goggles, using rebreathers, killing birds, killing fish, and killing Ford Schick --- DXRModules/DeusEx/Classes/DXREvents.uc | 18 ++++++++++++++++++ .../DeusEx/Classes/DXRNetworkTerminal.uc | 11 +++++++++++ 2 files changed, 29 insertions(+) diff --git a/DXRModules/DeusEx/Classes/DXREvents.uc b/DXRModules/DeusEx/Classes/DXREvents.uc index bbb3b9401..379fb5dbb 100644 --- a/DXRModules/DeusEx/Classes/DXREvents.uc +++ b/DXRModules/DeusEx/Classes/DXREvents.uc @@ -565,6 +565,9 @@ function SetWatchFlags() { WatchFlag('LouisBerates'); RewatchFlag('KnowsGuntherKillphrase'); + break; + case "10_PARIS_CHATEAU": + WatchFlag('ChateauInComputerRoom'); break; case "11_PARIS_CATHEDRAL": WatchFlag('GuntherKillswitch'); @@ -1766,6 +1769,12 @@ function string RemapBingoEvent(string eventname) case "Liquor40oz_Activated": case "WineBottle_Activated": return "DrinkAlcohol"; + case "Pigeon_ClassDead": + case "Seagull_ClassDead": + return "PerformBurder"; + case "Fish_ClassDead": + case "Fish2_ClassDead": + return "GoneFishing"; default: return eventname; } @@ -2130,6 +2139,15 @@ defaultproperties bingo_options(183)=(event="AdaptiveArmor_Activated",desc="Use %s Thermoptic Camos",max=3) bingo_options(184)=(event="DrinkAlcohol",desc="Drink %s bottles of alcohol",max=75) bingo_options(185)=(event="ToxicShip",desc="Enter the toxic ship",max=1,missions=64) +#ifdef injections + bingo_options(186)=(event="ComputerHacked",desc="Hack %s computers",max=10) +#endif + bingo_options(187)=(event="TechGoggles_Activated",desc="Use %s tech goggles",max=3) + bingo_options(188)=(event="Rebreather_Activated",desc="Use %s rebreathers",max=3) + bingo_options(189)=(event="PerformBurder",desc="Hunt %s birds",max=10) + bingo_options(190)=(event="GoneFishing",desc="Kill %s fish",max=10) + bingo_options(191)=(event="FordSchick_Dead",desc="Kill Ford Schick",max=1,missions=276) + bingo_options(192)=(event="ChateauInComputerRoom",desc="Find Beth's secret routing station",max=1,missions=1024) mutually_exclusive(0)=(e1="PaulDenton_Dead",e2="SavedPaul") mutually_exclusive(1)=(e1="JockBlewUp",e2="GotHelicopterInfo") diff --git a/DXRVanilla/DeusEx/Classes/DXRNetworkTerminal.uc b/DXRVanilla/DeusEx/Classes/DXRNetworkTerminal.uc index 0bb0efc91..d8eab0206 100644 --- a/DXRVanilla/DeusEx/Classes/DXRNetworkTerminal.uc +++ b/DXRVanilla/DeusEx/Classes/DXRNetworkTerminal.uc @@ -129,3 +129,14 @@ function CloseKnownAccountsWindow() winKnownShadow = None; } } + +function ComputerHacked() +{ + local DXRando dxr; + Super.ComputerHacked(); + + foreach Player.AllActors(class'DXRando',dxr){ + class'DXREvents'.static.MarkBingo(dxr,"ComputerHacked"); + break; + } +}