Crossfire Server, Trunk
pshop.py File Reference

Go to the source code of this file.

Namespaces

 pshop
 

Functions

def pshop.Expire ()
 
def pshop.GetInvCount (object)
 
def pshop.GetObjectAt (Map, X, Y, Name)
 
def pshop.GetObjectByName (object, Name)
 
def pshop.GetObjectByUID (object, UID)
 
def pshop.GetObjectByWeightLimit (object, WeightLimit)
 

Variables

 pshop.activator = Crossfire.WhoIsActivator()
 
 pshop.bank = CFBank.open()
 
 pshop.CFDB = CFDataBase.CFDataBase("PShop")
 
 pshop.CoinType = CoinTypes.get(Message[i].upper())
 
int pshop.Ctrl = 1
 
 pshop.Date = VariableList[1].split(": ")[1]
 
 pshop.Day
 
 pshop.Days = int(VariableList[2].split(": ")[1])
 
tuple pshop.DaysPast = (Today-LastDate).days
 
 pshop.Dict = CFDB.get(pshop, {})
 
int pshop.DT120 = 120-Days
 
int pshop.DT150 = 150-Days
 
int pshop.DT180 = 180-Days
 
int pshop.DT210 = 210-Days
 
int pshop.DT240 = 240-Days
 
int pshop.DT270 = 270-Days
 
int pshop.DT30 = 30-Days
 
int pshop.DT300 = 300-Days
 
int pshop.DT330 = 330-Days
 
int pshop.DT366 = 366-Days
 
int pshop.DT60 = 60-Days
 
int pshop.DT90 = 90-Days
 
 pshop.Face
 
 pshop.GlassReplica = whoami.CreateObject("icecube")
 
 pshop.Inv = activator.Inventory
 
def pshop.InvCount = GetInvCount(whoami)
 
 pshop.Inventory = whoami.Inventory
 
 pshop.Item = whoami.Inventory
 
list pshop.Items = []
 
 pshop.LastDate = datetime.datetime(int(Year),int(Month),int(Day))
 
 pshop.MaxDays = int(Params)
 
 pshop.Message = Crossfire.WhatIsMessage()
 
list pshop.MissingItems = []
 
 pshop.Month
 
 pshop.Name = ''
 
 pshop.NamePl
 
 pshop.Owner = VariableList[0].split(": ")[1]
 
 pshop.Package = whoami.CreateObject("dust_generic")
 
 pshop.PicDB = CFDataBase.CFDataBase("PicDB")
 
 pshop.PicDict = PicDB.get("Dict")
 
int pshop.Price = 0
 
 pshop.pshop = whoami.Map.Path.replace("/","_")
 
 pshop.Quantity = int(Message[i-1])
 
list pshop.RealItems = []
 
 pshop.Slaying
 
 pshop.Speed
 
 pshop.Str = Dict.get(str(i))
 
 pshop.t = GlassReplica.CreateObject("event_drop")
 
 pshop.Title = ''
 
 pshop.tmp = whoami.CreateObject("silvercoin")
 
 pshop.Today = datetime.date(1,2,3).today()
 
 pshop.Trash = whoami.Map.ObjectAt(37,0)
 
 pshop.Trash1 = Trash.Above
 
int pshop.Value = 0
 
 pshop.VariableList = Variables.Message.split('\n')
 
 pshop.Variables = whoami.Map.ObjectAt(49,0)
 
 pshop.Weight
 
 pshop.WeightLimit
 
 pshop.whoami = Crossfire.WhoAmI()
 
 pshop.Year
 
 pshop.z = Package.CreateObject("event_pickup")