forked from Mirrors/openclonk
22 lines
391 B
C
22 lines
391 B
C
/*--- Nugget ---*/
|
|
|
|
protected func Construction()
|
|
{
|
|
var graphic = Random(5);
|
|
if(graphic)
|
|
SetGraphics(Format("%d",graphic));
|
|
}
|
|
|
|
protected func Hit(x, y)
|
|
{
|
|
StonyObjectHit(x,y);
|
|
return true;
|
|
}
|
|
|
|
public func IsFoundryIngredient() { return true; }
|
|
public func IsValuable(){ return true; }
|
|
|
|
local Collectible = 1;
|
|
local Name = "$Name$";
|
|
local Description = "$Description$";
|
|
local Plane = 470; |