I'm a dum dum and my brain no work

This commit is contained in:
Pao
2023-02-10 04:10:06 +01:00
parent dad01605d0
commit 031af29b51
5 changed files with 110 additions and 2 deletions

View File

@@ -137,4 +137,14 @@ function TocTestBodyLocations()
print(list:get(i -1):getId())
end
end
function TocTestItem()
local player = getPlayer()
local player_inventory = player:getInventory()
local item_name = "TOC.Amputation_" .. "Right" .. "_" .. "Hand"
local found_item = player_inventory:FindAndReturn(item_name)
print(found_item:getID())
end