diff options
Diffstat (limited to 'TemplePushing.c4s/CliffPushing.c4d/Extra.c4d/OGoblet.c4d/Script.c')
| -rw-r--r-- | TemplePushing.c4s/CliffPushing.c4d/Extra.c4d/OGoblet.c4d/Script.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/TemplePushing.c4s/CliffPushing.c4d/Extra.c4d/OGoblet.c4d/Script.c b/TemplePushing.c4s/CliffPushing.c4d/Extra.c4d/OGoblet.c4d/Script.c deleted file mode 100644 index a040037..0000000 --- a/TemplePushing.c4s/CliffPushing.c4d/Extra.c4d/OGoblet.c4d/Script.c +++ /dev/null @@ -1,54 +0,0 @@ -/*-- Kelch --*/ - -#strict - -local iTimer; - -func Initialize() - { - return(1); - } - -func FillCheck() - { - if(!Contained()) - if(Inside(GetR(), 20, 340)) - Hit(); - if(!(iTimer%5)) - { - var iX = Sin(GetR(), RandomX(-4,4) ); - var iY = -Cos(GetR(), RandomX(-4,1) ); - if(!Contained()) - CreateParticle("NoGravSpark", iX, iY,0,0,RandomX(25, 55),RGBa(255,255,0,120)); - } - iTimer++; - if(iTimer>=10) - { - if(GetOCF(Contained()) & OCF_CrewMember()) - DoEnergy(+15, Contained()); - iTimer=0; - } - return(1); - } - -func Hit() - { - if(!GBackLiquid()) - { - for(var i=15; i>0; i--) - { - var iX=Sin(GetR(), RandomX(4,8)), iY=-Cos(GetR(), RandomX(4,8)), iXDir=GetWind()*30/100, iYDir=-Cos(GetR()+RandomX(-2,2), Random(7)); - InsertMaterial(Material("Water"), iX, iY, iXDir, iYDir); - } - SetEmpty(); - } - } - -private func SetEmpty() - { - ChangeDef(EGBL); - return(1); - } - -// Mit Kelch: Aufwertung zum Magus -public func GetRevaluationCombo() { return(MAGE); } |
