Translations:Modding:Asset System/12/en

From Vintage Story Wiki
Revision as of 14:04, 12 November 2023 by FuzzyBot (talk | contribs) (FuzzyBot moved page Translations:Modding:The Asset System/12/en to Translations:Modding:Asset System/12/en without leaving a redirect: Part of translatable page "Modding:The Asset System")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When packaging a mod you specify a domain by placing a directory inside the mod assets directory with all your mod assets inside. The name of your domain directory will be the "current domain" for all assets inside it. If no domain has been specified in an asset code the game will assume it is in the current domain, meaning you only have to add a domain prefix if you want to refer to something outside the current domain.