Crossfire Server, Trunk
say Namespace Reference

Variables

 activator = Crossfire.WhoIsActivator()
 
 activatorname = activator.Name
 
 box = activator.CreateObject(item)
 
int count = 0
 
 id = activator.Map.CreateObject('writing pen', x, y)
 
 inv = activator.CheckInventory(sackName)
 
dictionary item = packages[text[0]][2]
 
 log = CFLog.CFLog()
 
 map = Crossfire.ReadyMap(storage_map)
 
dictionary max = packages[text[0]][1]
 
 Name
 
 NamePl
 
 next = inv.Below
 
dictionary packages
 
dictionary previous = item.Above
 
dictionary price = packages[text[0]][0]
 
int priceFactor = 50
 
int priceMailScroll = 2
 
int priceScrollOfLiteracy = 5000
 
int priceWritingPen = 100
 Constants ####. More...
 
string reply = "To send items, select one of our following containers:\n"
 
dictionary sackName = packages[package][3]
 
string storage_map = '/planes/IPO_storage'
 
int storage_x = 2
 
int storage_y = 2
 
 Str
 
 text = Crossfire.WhatIsMessage().split()
 
 text2 = inv.Name.split()
 
 Value
 
 WeightLimit
 
 whoami = Crossfire.WhoAmI()
 
 x = activator.X
 
 y = activator.Y
 

Variable Documentation

◆ activator

say.activator = Crossfire.WhoIsActivator()

Definition at line 46 of file say.py.

◆ activatorname

say.activatorname = activator.Name

Definition at line 47 of file say.py.

◆ box

◆ count

int say.count = 0

Definition at line 169 of file say.py.

◆ id

say.id = activator.Map.CreateObject('writing pen', x, y)

Definition at line 91 of file say.py.

◆ inv

say.inv = activator.CheckInventory(sackName)

Definition at line 172 of file say.py.

◆ item

◆ log

say.log = CFLog.CFLog()

Definition at line 53 of file say.py.

◆ map

say.map = Crossfire.ReadyMap(storage_map)

Definition at line 177 of file say.py.

◆ max

◆ Name

say.Name

Definition at line 92 of file say.py.

◆ NamePl

say.NamePl

Definition at line 102 of file say.py.

◆ next

say.next = inv.Below

Definition at line 174 of file say.py.

◆ packages

dictionary say.packages
Initial value:
1 = {'bag' : [ 5, 5000, 'bag', 'IPO-bag'],
2  'package' : [ 45, 50000, 'package', 'IPO-package' ],
3  'carton' : [ 90, 100000, 'carton_box_1', 'IPO-carton' ] }

Definition at line 33 of file say.py.

◆ previous

dictionary say.previous = item.Above

Definition at line 205 of file say.py.

Referenced by add_capacity(), CREExperienceWindow.CREExperienceWindow(), and re_get_token().

◆ price

dictionary say.price = packages[text[0]][0]

Definition at line 147 of file say.py.

Referenced by compute_price_variation_with_bargaining(), sell_item(), and shop_pay_unpaid().

◆ priceFactor

int say.priceFactor = 50

Definition at line 29 of file say.py.

◆ priceMailScroll

int say.priceMailScroll = 2

Definition at line 28 of file say.py.

◆ priceScrollOfLiteracy

int say.priceScrollOfLiteracy = 5000

Definition at line 27 of file say.py.

◆ priceWritingPen

int say.priceWritingPen = 100

Constants ####.

Definition at line 26 of file say.py.

◆ reply

string say.reply = "To send items, select one of our following containers:\n"

◆ sackName

dictionary say.sackName = packages[package][3]

Definition at line 171 of file say.py.

◆ storage_map

string say.storage_map = '/planes/IPO_storage'

Definition at line 38 of file say.py.

◆ storage_x

int say.storage_x = 2

Definition at line 39 of file say.py.

◆ storage_y

int say.storage_y = 2

Definition at line 40 of file say.py.

◆ Str

say.Str

Definition at line 155 of file say.py.

◆ text

say.text = Crossfire.WhatIsMessage().split()

Definition at line 54 of file say.py.

◆ text2

dictionary say.text2 = inv.Name.split()

Definition at line 175 of file say.py.

◆ Value

say.Value

Definition at line 93 of file say.py.

◆ WeightLimit

say.WeightLimit

Definition at line 154 of file say.py.

◆ whoami

say.whoami = Crossfire.WhoAmI()

Definition at line 48 of file say.py.

◆ x

say.x = activator.X

Definition at line 50 of file say.py.

◆ y

say.y = activator.Y

Definition at line 51 of file say.py.