forked from Mirrors/openclonk
Foundry only collects objects that are IsFuel() or IsFoundryIngredient()
parent
e44b216230
commit
f1d07f8449
|
@ -101,6 +101,13 @@ public func OnProductEjection(object product)
|
|||
return;
|
||||
}
|
||||
|
||||
protected func RejectCollect(id id_def, object collect)
|
||||
{
|
||||
if(collect->~IsFoundryIngredient() || collect->~IsFuel()) return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
func Definition(def) {
|
||||
SetProperty("PictureTransformation", Trans_Mul(Trans_Translate(2000,0,7000),Trans_Rotate(-20,1,0,0),Trans_Rotate(30,0,1,0)), def);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue