PalForge

Add your own content to Palworld

PalForge is a base mod that lets anyone add their own buildings, music, effects, pals, items, player behaviour, skills and menus to Palworld — or build entirely new content of their own — and see it in the game straight away. You describe what you want in a short text file, and PalForge puts it in the world.

Eight things you can make

Buildings, items, pals, skills, effects, sounds, models and menus. Each one is written the same way, so once you have made one you can make any of them.

Mistakes are caught as you type

Your editor completes every field and explains what it does. Misspell one and you get an error that tells you the name you meant, instead of something silently not working.

You are told what works

Every place your code can run is marked with whether the game actually triggers it yet. You will not spend an evening on a handler that was never going to fire.

One definition, start to finish

local pal = Pal{
    id          = "example:Boss",
    name        = "Boss Pal",
    description = "Greets you, loudly.",
    mesh        = Mesh{
        id    = "example:boss_body",
        model = "/Game/Pal/Model/Character/Monster/ChickenPal/SK_ChickenPal.SK_ChickenPal",
    },
    events = {
        onSpawned = function(pal, ctx)
            pal:renderOn(ctx.actor)
            Audio.get("AKE_BGM_Title"):play()
        end,
    },
}

pal:spawn(Player.coordinate())