Crossfire Server, Trunk
reputation_trigger_connect Namespace Reference

Functions

def check ()
 

Detailed Description

reputation_trigger_connect.py -- trigger connections based on reputation

Use in a check_inv trigger with a event_trigger.

Arguments:
    faction - name of faction to check against
    threshold - number between -100 and 100
    conn_geq - connection to trigger if reputation greater or equal than thresh
    conn_lt - connection to trigger if reputation less than thresh

If any connection is 0, the connection will not be used.

Function Documentation

◆ check()

def reputation_trigger_connect.check ( )

Definition at line 18 of file reputation_trigger_connect.py.

References make_face_from_files.int, and CFReputation.reputation().

+ Here is the call graph for this function: