five-on-it / packages/sim/src/cash / cashTaker
Function: cashTaker()
cashTaker(
sim,eid,item):number
Defined in: packages/sim/src/cash.ts:61
Whether items taken by an entity become Cash: the item is the cash item and the entity a player's character (a client id on a character). Returns the client id to pay, or 0.
Parameters
sim
eid
number
item
number
Returns
number