Table of Contents

Class PatchModDependence

Namespace
Vintagestory.ServerMods.NoObf
Assembly
VSEssentials.dll

A mod-dependence for a json patch. If your patch depends on another mod, you need to use this. Open in GitHub

[DocumentAsJson]
public class PatchModDependence
Inheritance
PatchModDependence

Fields

modid (Required)

The mod ID that this patch relies on.

[DocumentAsJson]
public string modid

Field Value

string

invert (Optional) (Default: False)

If true, then the patch will only occur if the specified mod is not installed.

[DocumentAsJson]
public bool invert

Field Value

bool