Wallet script to create wallets/purses items as stashes.
- Original Backpack Script by snipe-scripts
- Deconvolutes Inventory
- Robbable
- Only Stores items that weigh 0.0
Add the following items to shared.lua/items.lua
["wallet"] = {["name"] = "wallet", ["label"] = "Leather Wallet", ["weight"] = 2000, ["type"] = "item", ["image"] = "wallet.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Leather Wallet"},
["dswallet"] = {["name"] = "dswallet", ["label"] = "Didier Sachs Wallet", ["weight"] = 2000, ["type"] = "item", ["image"] = "dswallet.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Didier Sachs Wallet"},
["gnocchiwallet"] = {["name"] = "gnocchiwallet", ["label"] = "Gnocchi Wallet", ["weight"] = 2000, ["type"] = "item", ["image"] = "gnocchiwallet.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Gnocchi Wallet"},
["gnocchiclutch"] = {["name"] = "gnocchiclutch", ["label"] = "Gnocchi Clutch", ["weight"] = 2000, ["type"] = "item", ["image"] = "gnocchiclutch.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Gnocchi Clutch"},
["gnocchipurse"] = {["name"] = "gnocchipurse", ["label"] = "Gnocchi Purse", ["weight"] = 2000, ["type"] = "item", ["image"] = "gnocchipurse.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Gnocchi Purse"},
["dsclutch"] = {["name"] = "dsclutch", ["label"] = "Didier Sachs Clutch", ["weight"] = 2000, ["type"] = "item", ["image"] = "dsclutch.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Didier Sachs Clutch"},
["dspurse"] = {["name"] = "dspurse", ["label"] = "Didier Sachs Purse", ["weight"] = 2000, ["type"] = "item", ["image"] = "dspurse.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Didier Sachs Purse"},
["perseusclutch"] = {["name"] = "perseusclutch", ["label"] = "Perseus Clutch", ["weight"] = 2000, ["type"] = "item", ["image"] = "perseusclutch.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Perseus Clutch"},
["perseuspurse"] = {["name"] = "perseuspurse", ["label"] = "Perseus Purse", ["weight"] = 2000, ["type"] = "item", ["image"] = "perseuspurse.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Perseus Purse"},
["cacaclutch"] = {["name"] = "cacaclutch", ["label"] = "Caca Clutch", ["weight"] = 2000, ["type"] = "item", ["image"] = "cacaclutch.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Caca Clutch"},
["cacapurse"] = {["name"] = "cacapurse", ["label"] = "Caca Purse", ["weight"] = 2000, ["type"] = "item", ["image"] = "cacapurse.png", ["unique"] = true, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Caca Purse"},
Make the following changes in inventory/html/app.js to display the backpack id when you hover over the item (optional)
Look for this logic
else if (itemData.name == "labkey") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Lab: " + itemData.info.lab + "</p>");
}
and add the following lines below it, like this
else if (itemData.name == "labkey") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Lab: " + itemData.info.lab + "</p><p style=\"font-size:11px\"><b>Weight: </b>" + itemData.weight + " | <b>Amount: </b> " + itemData.amount + " | <b>Quality: </b> " + "<a style=\"font-size:11px;color:green\">" + Math.floor(itemData.info.quality) + "</a>");
} else if (itemData.name == "labkey") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Lab: " + itemData.info.lab + "</p>");
} else if (itemData.name == "wallet") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Wallet ID: " + itemData.info.walletid + "</p>");
} else if (itemData.name == "lvwallet") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Louis Vuitton Wallet ID: " + itemData.info.walletid + "</p>");
} else if (itemData.name == "gucciwallet") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Gucci Wallet ID: " + itemData.info.walletid + "</p>");
} else if (itemData.name == "spadeclutch") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Kate Spade Clutch ID: " + itemData.info.clutchid + "</p>");
} else if (itemData.name == "spadepurse") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Kate Spade Purse ID: " + itemData.info.purseid + "</p>");
} else if (itemData.name == "lvclutch") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Louis Vuitton Clutch ID: " + itemData.info.clutchid + "</p>");
} else if (itemData.name == "lvpurse") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Louis Vuitton Purse ID: " + itemData.info.purseid + "</p>");
} else if (itemData.name == "gucciclutch") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Gucci Clutch ID: " + itemData.info.clutchid + "</p>");
} else if (itemData.name == "guccipurse") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Gucci Purse ID: " + itemData.info.purseid + "</p>");
} else if (itemData.name == "chanelclutch") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Chanel Clutch ID: " + itemData.info.clutchid + "</p>");
} else if (itemData.name == "chanelpurse") {
$(".item-info-title").html("<p>" + itemData.label + "</p>");
$(".item-info-description").html("<p>Chanel Purse ID: " + itemData.info.purseid + "</p>");
}