1using System.Collections.Generic;
31 p.onProgressBegin = delegate
38 p.onProgress = delegate
43 p.onProgressComplete = delegate
47 num = ((num <= 0) ? 1 : (2 + num / 10));
76 case "floor_water_shallow2":
77 ChangeFloor(
"floor_water_shallow");
79 case "floor_water_shallow":
80 ChangeFloor(
"floor_water");
83 ChangeFloor(
"floor_water_deep");
86 ChangeFloor(
"floor_water_shallow2");
103 void ChangeFloor(
string id)
108 p.cell._bridge = (byte)row.
id;
113 p.cell._floor = (byte)row.
id;
ElementContainerCard elements
SourceMaterial.Row DyeMat
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
void ModCharge(int a, bool destroy=false)
void Say(string lang, string ref1=null, string ref2=null)
SourceMaterial.Row matFloor
SourceFloor.Row sourceSurface
static SourceManager sources
static Effect Get(Effect original)
void Play(float delay, Point from, float fixY=0f, Point to=null, Sprite sprite=null)
void ModExp(int ele, float a, bool chain=false)
static SourceMaterial.Row sourceWaterSea
void SetLiquid(int x, int z, CellEffect effect=null)
List< Point > ListPointsInSquare(Point center, int radius, bool mustBeWalkable=true, bool los=true)
SourceMaterial.Row matFloor
SourceMaterial.Row matBridge
SourceFloor.Row sourceFloor
void RefreshNeighborTiles()
void Animate(AnimeID id, bool animeBlock=false)
SourceFloor.Row sourceBridge
override bool CanManualCancel()
override void OnCreateProgress(Progress_Custom p)
override bool CanPressRepeat
override bool CanProgress()
override HitResult GetHitResult()