five-on-it / packages/sim/src/items / givePhone
Function: givePhone()
givePhone(
sim,eid):boolean
Defined in: packages/sim/src/items.ts:346
Gives a character its phone, in its strip's last slot (where nothing picked up goes before the others are full); in the first free one when that is taken. Returns whether it did (the room knows the item and a slot was free).
Parameters
sim
eid
number
Returns
boolean