Foundry only collects objects that are IsFuel() or IsFoundryIngredient()

Charles Spurrill 2011-10-15 18:03:13 -07:00
parent e44b216230
commit f1d07f8449
1 changed files with 7 additions and 0 deletions

View File

@ -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);
}