Skip to content

Gon General⚓︎

.Gon modding is the "coding", per say, of Mewgenics. However, .gons are not as open as python or lua files.

What is a Gon file?⚓︎

A .Gon file is a piece of text read by the Tyler Glaiel game engine. Most of the time, a function or object defined by the .Gon stays global unless the object is defined by a internal frame from a swf file, in which the "name" defining the object will be a number. In that case, those objects are file specific and cannot be loaded in another file.

In essence, a .gon file is basically a type of .txt file.

Appendation and when it's important⚓︎

While objects are generally global, the game will only read the files they are put in. Therefore, instead of replacing a .gon file, you can append a .gon file. This means creating a file by the same name as the one you want to add to, and giving ita suffix such as ".patch" as a extension.

Example Code

enemies.gon.patch

To see how appendation fully works, read this this article.

What's the difference between "meta" and "shared"?⚓︎

Meta enumerations are variables and stats used across widely different objects for different purposes, while still affecting or using the stat. For instance, stats are used in ability objects, event objects, and more.

Shared enumerations are variables and stats used across seperate files and objects, but to achieve or represent very similar purposes. For instance, spawn is a variable only used in ability_templates and ability objects.