File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Projects/Example Projects/ModCreatorKit Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments