Give the player a phone - ThePix/QuestJS GitHub Wiki

There is no built-in template for this, but we can give the player a phone fairly easily.

createItem("phone", { contactList:['Kyle', 'Lara'], loc:"me",

verbFunction:function(verbList) { verbList.pop() verbList.push("Contacts") verbList.push("News") verbList.push("Search") verbList.push("Photos") },

contacts:function() { this.usePhone(this.contactList.map(el => w[el].phoneAlias, "Look up a contact")) },