Elin Modding Docs Doc
Loading...
Searching...
No Matches
MATERIAL Class Reference
Inheritance diagram for MATERIAL:
EClass

Static Public Member Functions

static SourceMaterial.Row GetRandomMaterial (int lv, string group=null, bool tryLevelMatTier=false)
 
static SourceMaterial.Row GetRandomMaterialFromCategory (int lv, string cat, SourceMaterial.Row fallback)
 
static SourceMaterial.Row GetRandomMaterialFromCategory (int lv, string[] cat, SourceMaterial.Row fallback)
 
- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 

Static Public Attributes

const byte oak = 1
 
const byte granite = 3
 
const byte mud = 4
 
const byte sand = 8
 
const byte soil = 45
 
const byte snow = 48
 
const byte water = 66
 
const byte water_fresh = 67
 
const byte ice = 61
 
const byte gold = 12
 
const byte water_sea = 88
 
const byte process = 94
 
const byte sand_sea = 97
 
static SourceMaterial.Row sourceSnow = EClass.sources.materials.rows[48]
 
static SourceMaterial.Row sourceIce = EClass.sources.materials.rows[61]
 
static SourceMaterial.Row sourceGold = EClass.sources.materials.rows[12]
 
static SourceMaterial.Row sourceOak = EClass.sources.materials.rows[1]
 
- Static Public Attributes inherited from EClass
static Core core
 

Properties

static SourceMaterial.Row sourceWaterSea [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 7 of file MATERIAL.cs.

Member Function Documentation

◆ GetRandomMaterial()

static SourceMaterial.Row MATERIAL.GetRandomMaterial ( int lv,
string group = null,
bool tryLevelMatTier = false )
static

Definition at line 20 of file MATERIAL.cs.

◆ GetRandomMaterialFromCategory() [1/2]

static SourceMaterial.Row MATERIAL.GetRandomMaterialFromCategory ( int lv,
string cat,
SourceMaterial.Row fallback )
static

Definition at line 70 of file MATERIAL.cs.

◆ GetRandomMaterialFromCategory() [2/2]

static SourceMaterial.Row MATERIAL.GetRandomMaterialFromCategory ( int lv,
string[] cat,
SourceMaterial.Row fallback )
static

Definition at line 79 of file MATERIAL.cs.

Member Data Documentation

◆ gold

const byte MATERIAL.gold = 12
static

Definition at line 122 of file MATERIAL.cs.

◆ granite

const byte MATERIAL.granite = 3
static

Definition at line 98 of file MATERIAL.cs.

◆ ice

const byte MATERIAL.ice = 61
static

Definition at line 119 of file MATERIAL.cs.

◆ mud

const byte MATERIAL.mud = 4
static

Definition at line 101 of file MATERIAL.cs.

◆ oak

const byte MATERIAL.oak = 1
static

Definition at line 95 of file MATERIAL.cs.

◆ process

const byte MATERIAL.process = 94
static

Definition at line 128 of file MATERIAL.cs.

◆ sand

const byte MATERIAL.sand = 8
static

Definition at line 104 of file MATERIAL.cs.

◆ sand_sea

const byte MATERIAL.sand_sea = 97
static

Definition at line 131 of file MATERIAL.cs.

◆ snow

const byte MATERIAL.snow = 48
static

Definition at line 110 of file MATERIAL.cs.

◆ soil

const byte MATERIAL.soil = 45
static

Definition at line 107 of file MATERIAL.cs.

◆ sourceGold

SourceMaterial.Row MATERIAL.sourceGold = EClass.sources.materials.rows[12]
static

Definition at line 140 of file MATERIAL.cs.

◆ sourceIce

SourceMaterial.Row MATERIAL.sourceIce = EClass.sources.materials.rows[61]
static

Definition at line 137 of file MATERIAL.cs.

◆ sourceOak

SourceMaterial.Row MATERIAL.sourceOak = EClass.sources.materials.rows[1]
static

Definition at line 143 of file MATERIAL.cs.

◆ sourceSnow

SourceMaterial.Row MATERIAL.sourceSnow = EClass.sources.materials.rows[48]
static

Definition at line 134 of file MATERIAL.cs.

◆ water

const byte MATERIAL.water = 66
static

Definition at line 113 of file MATERIAL.cs.

◆ water_fresh

const byte MATERIAL.water_fresh = 67
static

Definition at line 116 of file MATERIAL.cs.

◆ water_sea

const byte MATERIAL.water_sea = 88
static

Definition at line 125 of file MATERIAL.cs.

Property Documentation

◆ sourceWaterSea

SourceMaterial.Row MATERIAL.sourceWaterSea
staticget

Definition at line 11 of file MATERIAL.cs.


The documentation for this class was generated from the following file: