forked from Mirrors/openclonk
Boomshire Blinker works now, Grass is visible again on StoneDoors
parent
acf7c0d955
commit
de7b4b5a61
|
@ -5,7 +5,7 @@
|
|||
|
||||
public func ControlUp(object clonk)
|
||||
{
|
||||
if(GetEffect("SparklingAttention")) RemoveEffect("SparklingAttention");
|
||||
if(GetEffect("SparklingAttention",this)) RemoveEffect("SparklingAttention",this);
|
||||
if (GetAction() == "Still" && targetdoor)
|
||||
{
|
||||
targetdoor->OpenGateDoor();
|
||||
|
|
|
@ -11,11 +11,13 @@ protected func Initialize()
|
|||
{
|
||||
plants[GetLength(plants)]=CreateObject(Grass,-6,-15+i*5,NO_OWNER);
|
||||
plants[GetLength(plants)-1]->SetR(-90);
|
||||
plants[GetLength(plants)-1]->SetCategory(C4D_StaticBack);
|
||||
}
|
||||
for(var i=0; i<8; i++)
|
||||
{
|
||||
plants[GetLength(plants)]=CreateObject(Grass,+6,-15+i*5,NO_OWNER);
|
||||
plants[GetLength(plants)-1]->SetR(+90);
|
||||
plants[GetLength(plants)-1]->SetCategory(C4D_StaticBack);
|
||||
}
|
||||
|
||||
SetAction("Door");
|
||||
|
|
Loading…
Reference in New Issue