add real names of clothes and hair styles
This commit is contained in:
@@ -178,13 +178,13 @@ export default function clotheShopList(globalData: IGlobalData) {
|
|||||||
var txData = getClothingName(key, item.ClotheId, gender);
|
var txData = getClothingName(key, item.ClotheId, gender);
|
||||||
|
|
||||||
for (const x of txData) {
|
for (const x of txData) {
|
||||||
//var itemDescription = (key === 11 ? mp.game.ui.getLabelText(x.undershirt[1].GXT) : "Clothing item.");
|
var itemDescription = (key === 11 ? mp.game.ui.getLabelText(x.undershirt[1].GXT) : "Clothing item.");
|
||||||
var itemDescription = (key === 11 ? x.undershirt[1].GXT + " - " + x.id: "Clothing item.");
|
//var itemDescription = (key === 11 ? x.undershirt[1].GXT + " - " + x.id: "Clothing item.");
|
||||||
if (itemDescription == "NULL") {
|
if (itemDescription == "NULL") {
|
||||||
itemDescription = "Clothing item.";
|
itemDescription = "Clothing item.";
|
||||||
}
|
}
|
||||||
//const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription);
|
const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription);
|
||||||
const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id , itemDescription);
|
//const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id , itemDescription);
|
||||||
|
|
||||||
tempItem.SetRightLabel(`${item.Price > 0 ? `$${item.Price}` : "FREE"}`);
|
tempItem.SetRightLabel(`${item.Price > 0 ? `$${item.Price}` : "FREE"}`);
|
||||||
|
|
||||||
|
|||||||
@@ -116,8 +116,8 @@ export default function friseurShopList(globalData: IGlobalData) {
|
|||||||
if (itemDescription == "NULL") {
|
if (itemDescription == "NULL") {
|
||||||
itemDescription = "Clothing item.";
|
itemDescription = "Clothing item.";
|
||||||
}
|
}
|
||||||
//const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription);
|
const tempItem = new UIMenuItem(mp.game.ui.getLabelText(x.data[0].GXT), itemDescription);
|
||||||
const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id, itemDescription);
|
//const tempItem = new UIMenuItem(x.data[0].GXT + " - " + x.id, itemDescription);
|
||||||
|
|
||||||
tempItem.SetRightLabel(`${item.Price > 0 ? `$${item.Price}` : "FREE"}`);
|
tempItem.SetRightLabel(`${item.Price > 0 ? `$${item.Price}` : "FREE"}`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user