Testing a 'iOS compatible' flag for script mods
This commit is contained in:
@@ -3,7 +3,7 @@ package mindustry.mod;
|
||||
/** Mod listing as a data class. */
|
||||
public class ModListing{
|
||||
public String repo, name, internalName, subtitle, author, lastUpdated, description, minGameVersion;
|
||||
public boolean hasScripts, hasJava;
|
||||
public boolean hasScripts, hasJava, iosCompatible;
|
||||
public String[] contentTypes = {};
|
||||
public int stars;
|
||||
|
||||
|
||||
@@ -1419,6 +1419,8 @@ public class Mods implements Loadable{
|
||||
public boolean hidden;
|
||||
/** If true, this mod should be loaded as a Java class mod. This is technically optional, but highly recommended. */
|
||||
public boolean java;
|
||||
/** If true, this script mod is compatible with iOS. Only set this to true if you don't use extend()/JavaAdapter. */
|
||||
public boolean iosCompatible;
|
||||
/** To rescale textures with a different size. Represents the size in pixels of the sprite of a 1x1 block. */
|
||||
public float texturescale = 1.0f;
|
||||
/** If true, bleeding is skipped and no content icons are generated. */
|
||||
|
||||
Reference in New Issue
Block a user