Skip to content

Instantly share code, notes, and snippets.

@distantcam
Created January 21, 2026 12:59
Show Gist options
  • Select an option

  • Save distantcam/3337256f44861d52f3b7590c24729c73 to your computer and use it in GitHub Desktop.

Select an option

Save distantcam/3337256f44861d52f3b7590c24729c73 to your computer and use it in GitHub Desktop.
Cyberpunk 2077 Mods
public func GetAddEddiesButtonAction() -> CName { return n"world_map_menu_cycle_filter_next"; }
@wrapMethod(MenuHubGameController)
protected cb func OnInitialize() -> Bool {
wrappedMethod();
this.m_buttonHintsController.AddButtonHint(GetAddEddiesButtonAction(), "Add Eddies");
}
@wrapMethod(MenuHubGameController)
protected cb func OnButtonRelease(evt: ref<inkPointerEvent>) -> Bool {
let bountyCompleteEvent: wref<BountyCompletionEvent>;
if evt.IsAction(GetAddEddiesButtonAction()) {
GameInstance
.GetTransactionSystem(this.m_player.GetGame())
.GiveItem(this.m_player, MarketSystem.Money(), 1000000);
bountyCompleteEvent = new BountyCompletionEvent();
bountyCompleteEvent.streetCredAwarded = 0;
bountyCompleteEvent.moneyAwarded = 1000000;
GameInstance.GetUISystem(this.m_player.GetGame()).QueueEvent(bountyCompleteEvent);
}
wrappedMethod(evt);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment