diff --git a/Client/Gui/Inventory/inventory.js b/Client/Gui/Inventory/inventory.js index cd5edc23..a4e8346d 100644 --- a/Client/Gui/Inventory/inventory.js +++ b/Client/Gui/Inventory/inventory.js @@ -15,7 +15,6 @@ var inventoryWeight; var items = [[]]; var grid = []; - grid[0] = [0.3375, 0.305] grid[1] = [0.4195, 0.305] grid[2] = [0.5015, 0.305] @@ -65,20 +64,6 @@ mp.events.add("showInventory", (invWeight, itemArr) => { mp.events.add("render", () => { if (show === true) { var pos = mp.gui.cursor.position; - //DEBUG 2D-SCREEN-KOORDINATEN - //mp.game.graphics.drawText("~r~X: " + pos[0] + " ~g~Y: " + pos[1] + "~s~ ---~b~" + parseFloat(pos[0] / screenX).toFixed(3) + " ~y~" + parseFloat(pos[1] / screenY).toFixed(3) + " " + mouseLDown, [pos[0] / screenX, (pos[1] / screenY) - 0.02], { - // font: 0, - // color: [255, 255, 255, 185], - // scale: [0.3, 0.3], - // outline: true, - //}); - - //mp.game.graphics.drawText("~r~drag: " + dragItem + "~s~... ~b~hover:" + hoverItem + "~y~....FREESLOT: " + isMouseOverFreeSlot(pos[0], pos[1]) + "..." + isItemOverSameItem(pos[0], pos[1]), [0.5, 0.02], { - // font: 0, - // color: [255, 255, 255, 185], - // scale: [0.3, 0.3], - // outline: true, - //}); mp.game.graphics.set2dLayer(1); //INVENTARHINTERGRUND @@ -339,10 +324,4 @@ mp.events.add('click', (x, y, upOrDown, leftOrRight, relativeX, relativeY, world } } } -}); - -//items[userItems.IndexOf(item)][0] = iItem.Name; -//items[userItems.IndexOf(item)][1] = iItem.Description; -//items[userItems.IndexOf(item)][2] = iItem.Gewicht.ToString(); -//items[userItems.IndexOf(item)][3] = item.Amount.ToString(); -//items[userItems.IndexOf(item)][4] = item.Slot.ToString(); \ No newline at end of file +}); \ No newline at end of file diff --git a/Client/dlcpacks/itemimages/dlc.rpf b/Client/dlcpacks/itemimages/dlc.rpf new file mode 100644 index 00000000..6d0ea250 Binary files /dev/null and b/Client/dlcpacks/itemimages/dlc.rpf differ