Mods and file packs for Desktop Goose
View the Project on GitHub DesktopGooseUnofficial/ResourceHub
A very simple mod that allows you to make your goose honk at will with the F key
DesktopGoose v0.3
First, make sure that you are running Desktop Goose 0.3/0.31 on Windows. The macOS version does not support mods.
Mods folder in the Assets folder.Honcker.Honcker.dll file inside the Honcker folder.config.ini file and change EnableMods=False to EnableMods=True, then save it.Need help? You can ask for support in the #goose-modding channel on the Discord server.
public class ModMain : IMod
{
[DllImport("user32.dll")]
public static extern short GetAsyncKeyState(Keys vKey);
public void Init()
{
InjectionPoints.PreTickEvent += PreTick;
}
public void PreTick(GooseEntity goose) {
bool pressingHonk = false;
if (GetAsyncKeyState(Keys.F) != 0)
{
if (!pressingHonk)
{
API.Goose.playHonckSound();
pressingHonk = true;
}
}
else
{
pressingHonk = false;
}
}
}