* A bit of spice from here, a pinch of salt from there, some brains that attracts zombies.. a recipe for llRezObject

* Original patch by YZh Thanks YZH!!!!
* object_rez event patch by Melanie, Thanks Melanie!!!
* Some fixups, some missing things(velocity,rotation)
* script delay
* Recoil
* Standard error messages
* Standard silent failures
* Easter egg management
This commit is contained in:
Teravus Ovares
2008-05-05 00:03:30 +00:00
parent 7b446aba91
commit 1130c3067c
6 changed files with 133 additions and 6 deletions

View File

@@ -2526,5 +2526,17 @@ namespace OpenSim.Region.Environment.Scenes
}
}
}
public float GetMass()
{
float retmass = 0f;
lock (m_parts)
{
foreach (SceneObjectPart part in m_parts.Values)
{
retmass += part.GetMass();
}
}
return retmass;
}
}
}