From 1909d74d5fa8e6cea151bb5ff6b8e40b197b9f90 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 23 Apr 2008 22:44:59 +0000 Subject: * Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie! * Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 9277954..ba851fc 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -96,6 +96,8 @@ namespace OpenSim.Region.Environment.Scenes public int SalePrice; public uint Category; + // TODO: This needs to be persisted in next XML version update! + [XmlIgnore] public int[] PayPrice = {0,0,0,0,0}; public Int32 CreationDate; public uint ParentID = 0; @@ -2456,6 +2458,7 @@ namespace OpenSim.Region.Environment.Scenes info.AddValue("m_clickAction", m_clickAction); info.AddValue("m_shape", m_shape); info.AddValue("m_parentGroup", m_parentGroup); + info.AddValue("PayPrice", PayPrice); } } -- cgit v1.1