Kategorie: Objekte
/ Status
Ab Engineversion: 4.9.1.0 GWE
private func GetOwnMass(pClonk) { var iMass=GetMass(pClonk), i, pObj; while(pObj = Contents(i++, pClonk)) iMass -= GetMass(pObj); return(iMass); } protected func Activate(pByClonk) { [Essen] SetMass(GetOwnMass(pByClonk) + 100, pByClonk); Sound("ClonkMunch", 0, pByClonk); return(RemoveObject()); }