Skip to content

Commit 703a5cb

Browse files
committed
Added 'devPollen' and 'devOTDB' cheats to ModCreatorKit
1 parent b663549 commit 703a5cb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Projects/Example Projects/ModCreatorKit/Cheats.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,14 @@ void AddCheats()
7878
AddressCheat::AddCheat(Address(ModAPI::ChooseAddress(0x14648AC, 0x1460514)), "devViewMgr");
7979
AddressCheat::AddCheat(Address(ModAPI::ChooseAddress(0x146A29C, 0x1465EF4)), "devStarMgr");
8080
AddressCheat::AddCheat(Address(ModAPI::ChooseAddress(0x147CC5C, 0x147889C)), "devGtn");
81+
AddressCheat::AddCheat(Address(ModAPI::ChooseAddress(0x13F7690, 0x13F4678)), "devOTDB");
82+
83+
// Special cheat: is also an IUnmanagedMessageListener, so we need to replace two vftables
84+
auto pollenCheat = new int[6];
85+
pollenCheat[0] = Address(ModAPI::ChooseAddress(0x13FF02C, 0x13FB894));
86+
pollenCheat[1] = 0;
87+
pollenCheat[2] = 0;
88+
pollenCheat[4] = Address(ModAPI::ChooseAddress(0x13FF024, 0x13FB88C));
89+
pollenCheat[5] = 0;
90+
CheatManager.AddCheat("devPollen", (ArgScript::ICommand*)pollenCheat);
8191
}

0 commit comments

Comments
 (0)