Table of Contents

Class: Trader mudlib/trade.py
Base Classes   
shadow.Shadow
Methods   
appraise
banCustomer
buy
buyItems
discount
displayInventoryAppraisal
displayInventoryInquiry
displayItemAppraisal
displayItemInquiry
enterEnvironment
getItemBuyValue
getItemSellValue
giveMoney
inquire
isShopkeeper
leaveEnvironment
markup
objectEnteredEnvironment
objectLeftEnvironment
sell
sellItems
setDiscount
setInventoryContainer
setMarkup
setShopLocation
shadowLoaded
takeMoney
  appraise 
appraise (
        self,
        actionString,
        arguments,
        rawinput,
        )

  banCustomer 
banCustomer (
        self,
        actionString,
        arguments,
        rawinput,
        )

  buy 
buy (
        self,
        actionString,
        arguments,
        rawinput,
        )

  buyItems 
buyItems (
        self,
        thisPlayer,
        items,
        )

  discount 
discount (
        self,
        actionString,
        arguments,
        rawinput,
        )

  displayInventoryAppraisal 
displayInventoryAppraisal ( self,  thisPlayer )

  displayInventoryInquiry 
displayInventoryInquiry ( self,  thisPlayer )

  displayItemAppraisal 
displayItemAppraisal (
        self,
        thisPlayer,
        items,
        )

  displayItemInquiry 
displayItemInquiry (
        self,
        thisPlayer,
        items,
        )

  enterEnvironment 
enterEnvironment ( self,  environment )

see mudlib.core.Object

  getItemBuyValue 
getItemBuyValue ( self,  item )

  getItemSellValue 
getItemSellValue ( self,  item )

  giveMoney 
giveMoney (
        self,
        thisPlayer,
        cost,
        )

  inquire 
inquire (
        self,
        actionString,
        arguments,
        rawinput,
        )

  isShopkeeper 
isShopkeeper ( self )

  leaveEnvironment 
leaveEnvironment ( self,  environment )

see mudlib.core.Object

  markup 
markup (
        self,
        actionString,
        arguments,
        rawinput,
        )

  objectEnteredEnvironment 
objectEnteredEnvironment ( self,  object )

see mudlib.core.Object

  objectLeftEnvironment 
objectLeftEnvironment ( self,  object )

see mudlib.core.Object

  sell 
sell (
        self,
        actionString,
        arguments,
        rawinput,
        )

  sellItems 
sellItems (
        self,
        thisPlayer,
        items,
        )

  setDiscount 
setDiscount ( self,  discount )

This is the standard percent discount that will be applied to items in that will be bought, if the item does not have a item specific discount.

  setInventoryContainer 
setInventoryContainer ( self,  inventoryContainer )

This is the container in which the traders wares should come from and be put into. In the case of a trader with a shop it might be an inventory room or lockbox.

  setMarkup 
setMarkup ( self,  markup )

This is the standard percent markup that will be applied to items in the trader's inventory, if the item does not have a item specific markup.

  setShopLocation 
setShopLocation ( self,  storeRoom )

If a trader has a shop then use this method to set the location of there store. Note: You can only have one trader per store.

  shadowLoaded 
shadowLoaded ( self,  shadowedObject )

  takeMoney 
takeMoney (
        self,
        thisPlayer,
        cost,
        )


Table of Contents

This document was automatically generated on Thu Jan 24 08:57:43 2002 by HappyDoc version 2.0