Browse docs

Inventory Items

Phone, SIM, and optional physical tower item definitions for Sky Phone inventories.

Add the entries from your inventory's tab to its existing item catalogue. Update any entries with matching IDs in place. The item IDs in the catalogue and in your shops must match Phone.Item, Sim.RegisteredItem, and Sim.AnonymousItem in your active Phone configuration.

Register the phone for either device mode. With Phone.Unique = true, each handset needs its own inventory slot. With Phone.Unique = false, the phone item can stack. Add both SIM items when Sim.Enabled = true. Each physical SIM needs its own slot. Copy the matching PNGs from sky_phone/config/images/ to the image directory shown in your tab.

If you enable physical cell towers, also set up the physical tower items.

-- Adapter: ox; items: ox_inventory/data/items.lua; images: ox_inventory/web/images/
["phone"] = {
    label = "iFruit Phone",
    weight = 200,
    stack = false,
    close = true,
    consume = 0,
    client = { export = "sky_phone.UsePhoneItem" },
},
["sky_phone_sim_registered"] = {
    label = "Registered SIM",
    weight = 5,
    stack = false,
    close = true,
    consume = 0,
    client = { export = "sky_phone.UseSimItem" },
},
["sky_phone_sim_anonymous"] = {
    label = "Anonymous SIM",
    weight = 5,
    stack = false,
    close = true,
    consume = 0,
    client = { export = "sky_phone.UseSimItem" },
},

-- Optional repair item for physical cell towers. Reuse the existing lockpick item.
["radiotowerparts"] = {
    label = "Radio tower parts",
    weight = 1000,
    stack = true,
    close = true,
},

Physical tower items

Physical towers are disabled by default. You can enable them and check the item IDs in /phonepanel under Phone configurator → Cell towers → Physical towers, or under Config.CellTowers.Props in config/config.lua in file mode. Register the configured IDs in your active inventory and make the items available through your usual shops or item distribution. GitHub inventory setup

Default item IDPurposeSetting
lockpickOpens a closed tower cabinet. Each unlock uses one lockpick.CellTowers.Props.LockpickItem
radiotowerpartsRepairs a damaged tower. A successful repair uses one part.CellTowers.Props.RepairItem

Reuse your inventory's existing lockpick entry. If you use a custom item ID, register it in the same catalogue. Sky Phone handles both items through the cabinet interaction in the world.

The qb-inventory and ox_inventory tabs include a copyable radiotowerparts entry. Copy radiotowerparts.png from sky_phone/config/images/ to the image directory shown in your tab. For release ZIPs that predate the icon, use the direct PNG download.

For other providers, register the tower materials as ordinary stackable items in the active catalogue. For an ESX database catalogue, add missing rows to items using your installed schema and weight convention.