The new string-parameter: "region_object_bonus" for llGetEnv(string name);

Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
melanie
Mandarinka Tasty 2016-12-09 20:46:27 +01:00 committed by UbitUmarov
parent 82fb737b8d
commit 575825193b
1 changed files with 4 additions and 0 deletions

View File

@ -6307,6 +6307,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
return World.RegionInfo.ObjectCapacity.ToString(); return World.RegionInfo.ObjectCapacity.ToString();
} }
else if (name == "region_object_bonus")
{
return World.RegionInfo.RegionSettings.ObjectBonus.ToString();
}
else else
{ {
return ""; return "";