Lucky Shot
Install with App

Details

Latest version
2.0.4
Last Updated
First Uploaded
Downloads
472
Likes
0
Size
213KB
Dependants

Categories

Changelog

2.0.1

  • Game update fix: Harmony hooks moved to GameEvents.PublishShotFired and ShopManager.TryPurchase (removed HandleShotFired / TryBuy).

2.0.0

  • Diegetic MODS hub rewrite: World-space settings panel (grows with options, scroll ▲▼, shootable controls).
  • Fluent ModMenu API: ModMenu.Tab("Name").Toggle/Bool/Slider/Float/Int/Enum/Info/Button — AcceptableValueRange auto min/max, upsert-by-label.
  • OpenShotApi: stable Guid / Version / IsLoaded / Try / OnMainMenuReady / OnSettingsChanged.
  • Settings events: mods subscribe to OpenShotApi.OnSettingsChanged instead of polling config every frame.
  • MainMenu API: AddButton, SetLabel, Hide, OnShot, WhenReady; full-width injected cards (no thin MODS squash).
  • Performance: menu discovery backoff, collider fit only on scroll/change, removed unused per-frame camera Harmony patch.
  • Breaking for UI: old F1 / IMGUI-only tabs are obsolete — register settings via fluent API (legacy Register* still works).

1.3.0

  • Main Menu UI rewrite: Replaced the fragile MainMenuInjector with a modular diegetic menu system (CardFactory, MenuLayout, ButtonRegistry, ModHubPanel).
  • MainMenu API: AddButton, SetLabel, Hide, and OnShot for easy custom cards and adapting existing game buttons.
  • Layout fix: Narrow columns are redistributed across the canvas so added buttons no longer clip off-screen.
  • Mod hub: Curve-safe narrow cards, dynamic setting slots (up to 12), still shootable toggles/sliders.
  • Docs updated (removed outdated F1 / Register3DButton / IMGUI menu examples).

1.2.0

  • 3D Main Menu Injection: Added an in-world 3D "MODS" button to the game's physical main menu. Modders can use ModMenu.Register3DButton() to add their own physical buttons.
  • UI Theming: Entirely overhauled the IMGUI theming to a modern, flat Cyberpunk/Dark Mode aesthetic with proper hover states.
  • Object Pool API: Added ObjectPoolAPI to allow mods to recycle GameObjects (like bullets) and save massive CPU overhead.
  • Update Checker: Automatically checks Thunderstore for updates asynchronously in the background.

1.1.0

  • Custom Attributes Registration: Modders can now use [ConsoleCommand] and [OpenShotMenuTab] attributes to automatically register UI tabs and commands via reflection.
  • AssetBundle Loader: Added AssetLoader.GetPrefab() to automatically load and cache prefabs from .bundle files in the plugins folder.
  • Localization API: Mods can now easily support multiple languages using LocalizationAPI.GetString() and corresponding JSON files.
  • GameEvents 2.0: Key events (OnShotFired, OnShopTryBuy, OnWeaponReloaded) are now cancelable using a ref bool cancel parameter, allowing mods to intercept and block game actions!

1.0.0

  • Initial release.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.