diff options
author | Mandarinka Tasty | 2016-12-09 20:46:27 +0100 |
---|---|---|
committer | UbitUmarov | 2016-12-09 20:57:33 +0000 |
commit | 575825193b51d13c6576aabe1bbaf1f3dda1fad8 (patch) | |
tree | 09ee9eaf2ec55d2db93f07e7f4b09f4ebefb7e10 /OpenSim/Region | |
parent | HG: add missing information on GetRegion (diff) | |
download | opensim-SC_OLD-575825193b51d13c6576aabe1bbaf1f3dda1fad8.zip opensim-SC_OLD-575825193b51d13c6576aabe1bbaf1f3dda1fad8.tar.gz opensim-SC_OLD-575825193b51d13c6576aabe1bbaf1f3dda1fad8.tar.bz2 opensim-SC_OLD-575825193b51d13c6576aabe1bbaf1f3dda1fad8.tar.xz |
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>
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 71e8ca9..7efdc62 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6307,6 +6307,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6307 | { | 6307 | { |
6308 | return World.RegionInfo.ObjectCapacity.ToString(); | 6308 | return World.RegionInfo.ObjectCapacity.ToString(); |
6309 | } | 6309 | } |
6310 | else if (name == "region_object_bonus") | ||
6311 | { | ||
6312 | return World.RegionInfo.RegionSettings.ObjectBonus.ToString(); | ||
6313 | } | ||
6310 | else | 6314 | else |
6311 | { | 6315 | { |
6312 | return ""; | 6316 | return ""; |