OpenShot is a powerful core library and API for modding Lucky Shot. It provides essential tools and global events to make modding easier, cleaner, and conflict-free.
help).OnTargetSpawned, OnShotFired, OnShopTryBuy, OnAmmoDisplayUpdated, and more without needing to write your own Harmony patches..wav or .ogg files dynamically from the disk with a single method call AudioAPI.PlaySound().Update() loop.OpenShot.dll into your BepInEx/plugins folder.To use OpenShot in your mod, simply add OpenShot.dll as a reference in your C# project.
using OpenShot.Events;
using OpenShot.UI;
// Example: Add a button to the Mod Menu
ModMenu.RegisterTab(() => {
if (UIHelper.DrawButton("Click Me!")) {
// Do something
}
});