Crossfire Server, Trunk
Floor Namespace Reference

Functions

def GetObjectByName (Map, X, Y, Name)
 

Variables

 Arch = None
 
 Area = Width*Height
 
 Height = int(StopXY[1])-int(StartXY[1])
 
 Name
 
 Params = Crossfire.ScriptParameters()
 
 Quantity
 
 StartXY = Params.split(":")[0].split(',')
 
 StopXY = Params.split(":")[1].split(',')
 
 t = whoami.Map.ObjectAt(i,a)
 
 TmpArch = Arch.Split(1)
 
 Value
 
 whoami = Crossfire.WhoAmI()
 
 Width = int(StopXY[0])-int(StartXY[0])
 
 XRange = range(int(StartXY[0]),int(StopXY[0]))
 
 YRange = range(int(StartXY[1]),int(StopXY[1]))
 

Function Documentation

◆ GetObjectByName()

def Floor.GetObjectByName (   Map,
  X,
  Y,
  Name 
)

Definition at line 16 of file Floor.py.

Variable Documentation

◆ Arch

Floor.Arch = None

Definition at line 4 of file Floor.py.

◆ Area

Floor.Area = Width*Height

Definition at line 13 of file Floor.py.

◆ Height

Floor.Height = int(StopXY[1])-int(StartXY[1])

Definition at line 12 of file Floor.py.

◆ Name

Floor.Name

Definition at line 66 of file Floor.py.

◆ Params

Floor.Params = Crossfire.ScriptParameters()

Definition at line 2 of file Floor.py.

◆ Quantity

Floor.Quantity

Definition at line 27 of file Floor.py.

◆ StartXY

Floor.StartXY = Params.split(":")[0].split(',')

Definition at line 9 of file Floor.py.

◆ StopXY

Floor.StopXY = Params.split(":")[1].split(',')

Definition at line 10 of file Floor.py.

◆ t

◆ TmpArch

def Floor.TmpArch = Arch.Split(1)

Definition at line 48 of file Floor.py.

◆ Value

Floor.Value

Definition at line 25 of file Floor.py.

◆ whoami

Floor.whoami = Crossfire.WhoAmI()

Definition at line 3 of file Floor.py.

◆ Width

Floor.Width = int(StopXY[0])-int(StartXY[0])

Definition at line 11 of file Floor.py.

◆ XRange

Floor.XRange = range(int(StartXY[0]),int(StopXY[0]))

Definition at line 14 of file Floor.py.

◆ YRange

Floor.YRange = range(int(StartXY[1]),int(StopXY[1]))

Definition at line 15 of file Floor.py.