Modding:Entity Json Properties: Difference between revisions
From Vintage Story Wiki
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
A '''domain prefix''' will be added dynamically depending on the location of the file. Every mod and VintageStory itself have a unique prefix. | A '''domain prefix''' will be added dynamically depending on the location of the file. Every mod and VintageStory itself have a unique prefix. | ||
For example the code '''<code> | For example the code '''<code>rabbit</code>''' turns into '''<code>game:rabbit</code>'''. | ||
The code identifier has to be unique inside its domain. In theory there could be equal identifiers with different domain prefixes. | The code identifier has to be unique inside its domain. In theory there could be equal identifiers with different domain prefixes. |