Methods
-
createRumor(witness, target, perp, action) → {Object}
-
Parameters:
Name Type Description witness
any The
Entity
that witnessed the actiontarget
any The
Entity
that was the receiver of the actionperp
any The perpetrator of the action
action
any the actual action
- Source:
Returns:
Possible values of
action
are:killed
- Type
- Object
-
createRumor(witness, target, perp, action) → {Object}
-
Parameters:
Name Type Description witness
any The
Entity
that witnessed the actiontarget
any The
Entity
that was the receiver of the actionperp
any The perpetrator of the action
action
any the actual action
- Source:
Returns:
Possible values of
action
are:killed
- Type
- Object
-
getNearbyRep(point, k)
-
Get the average reputation of the k nearest entities.
Parameters:
Name Type Description point
Entity k
number - Source:
-
getNearbyRep(point, k)
-
Get the average reputation of the k nearest entities.
Parameters:
Name Type Description point
Entity k
number - Source:
-
triggerConversation(e)
-
Parameters:
Name Type Description e
any - Deprecated:
-
- Yes
- Source:
-
triggerConversation(e)
-
Parameters:
Name Type Description e
any - Deprecated:
-
- Yes
- Source: