Crossfire Server, Trunk
weapon_shop Namespace Reference

Functions

def do_give ()
 
def do_timer ()
 

Variables

 color = Crossfire.MessageFlag.NDI_BROWN
 
 command = Crossfire.WhatIsMessage()
 
 event = Crossfire.WhatIsEvent()
 
 pl = Crossfire.WhoIsActivator()
 
 whoami = Crossfire.WhoAmI()
 
 whoisother = Crossfire.WhoIsOther()
 

Detailed Description

This script is part of the Witherspoon quest, that starts in /scorn/mansion/witherspoon_manor_attic.
Check the README file in the same directory as this file for more details.

Script for the shop owner of the weapon shop in Scorn.

Will handle the 'give' event to examine the dagger, and various events.

This script should be called for the 'TIMER', 'TIME' and 'custom' events.

Function Documentation

◆ do_give()

def weapon_shop.do_give ( )
Player gives an item to the owner.

Definition at line 23 of file weapon_shop.py.

Referenced by do_timer().

+ Here is the caller graph for this function:

◆ do_timer()

def weapon_shop.do_timer ( )
Owner finished examining the item.

Definition at line 37 of file weapon_shop.py.

References do_give().

+ Here is the call graph for this function:

Variable Documentation

◆ color

weapon_shop.color = Crossfire.MessageFlag.NDI_BROWN

Definition at line 21 of file weapon_shop.py.

◆ command

weapon_shop.command = Crossfire.WhatIsMessage()

Definition at line 16 of file weapon_shop.py.

◆ event

weapon_shop.event = Crossfire.WhatIsEvent()

Definition at line 17 of file weapon_shop.py.

◆ pl

weapon_shop.pl = Crossfire.WhoIsActivator()

Definition at line 18 of file weapon_shop.py.

◆ whoami

weapon_shop.whoami = Crossfire.WhoAmI()

Definition at line 14 of file weapon_shop.py.

◆ whoisother

weapon_shop.whoisother = Crossfire.WhoIsOther()

Definition at line 15 of file weapon_shop.py.