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