Skip to content

Commit

Permalink
Add bingo events for hacking computers, using tech goggles, using reb…
Browse files Browse the repository at this point in the history
…reathers, killing birds, killing fish, and killing Ford Schick
  • Loading branch information
theastropath committed Jun 24, 2023
1 parent 0fd8d5f commit 5cf1657
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
18 changes: 18 additions & 0 deletions DXRModules/DeusEx/Classes/DXREvents.uc
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,9 @@ function SetWatchFlags() {
WatchFlag('LouisBerates');
RewatchFlag('KnowsGuntherKillphrase');

break;
case "10_PARIS_CHATEAU":
WatchFlag('ChateauInComputerRoom');
break;
case "11_PARIS_CATHEDRAL":
WatchFlag('GuntherKillswitch');
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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")
Expand Down
11 changes: 11 additions & 0 deletions DXRVanilla/DeusEx/Classes/DXRNetworkTerminal.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 5cf1657

Please sign in to comment.