fixing stuff
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Left_Hand_MetalHand_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Left_Hand_MetalHand_Female</m_FemaleModel>
|
||||
<m_GUID>2101af26-54b9-455b-abc0-7533ce37f84b</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Left_Hand_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Left_Hand_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>6b4f4e13-d51f-48ab-80b0-6e0923650fc4</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Left_Hand_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Left_Hand_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>0def629e-fe4f-4485-bdae-2d6032e150be</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\wood_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Left_LowerArm_LeatherBase_MetalHook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Left_LowerArm_LeatherBase_MetalHook_Female</m_FemaleModel>
|
||||
<m_GUID>129ee688-d4bb-4297-8eb2-f88974001217</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_hook_male</textureChoices>
|
||||
<textureChoices>Prosthesis\metal_hook_female</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Left_LowerArm_MetalHand_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Left_LowerArm_MetalHand_Female</m_FemaleModel>
|
||||
<m_GUID>0405a4c0-f71b-45a8-9edc-489fc81dca39</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Left_LowerArm_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Left_LowerArm_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>129ee688-d4bb-4297-8eb2-f88974001217</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_hook_male</textureChoices>
|
||||
<textureChoices>Prosthesis\metal_hook_female</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Left_LowerArm_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Left_LowerArm_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>aea8e02a-cba0-48d0-9eb0-7087651306b0</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\wood_hook_male</textureChoices>
|
||||
<textureChoices>Prosthesis\wood_hook_female</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Right_Hand_MetalHand_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Right_Hand_MetalHand_Female</m_FemaleModel>
|
||||
<m_GUID>731c280a-9682-4e2e-84cf-470bf00dd02f</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Right_Hand_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Right_Hand_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>dd7b749b-7e81-4547-91b0-81b1a1e9f7b8</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Right_Hand_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Right_Hand_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>1fcc7523-d577-4cb0-a019-f077ef281d3a</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\wood_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Right_LowerArm_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Right_LowerArm_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>1eb56768-d7ef-46e4-ac07-91d0e43d15fb</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_hook_male</textureChoices>
|
||||
<textureChoices>Prosthesis\metal_hook_female</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Right_LowerArm_MetalHand_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Right_LowerArm_MetalHand_Female</m_FemaleModel>
|
||||
<m_GUID>27758f1e-6298-42eb-b027-b9be31465c11</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_base</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Right_LowerArm_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Right_LowerArm_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>1eb56768-d7ef-46e4-ac07-91d0e43d15fb</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\metal_hook_male</textureChoices>
|
||||
<textureChoices>Prosthesis\metal_hook_female</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<clothingItem>
|
||||
<m_MaleModel>Prost_Right_LowerArm_Hook_Male</m_MaleModel>
|
||||
<m_FemaleModel>Prost_Right_LowerArm_Hook_Female</m_FemaleModel>
|
||||
<m_GUID>714b78a7-8895-4f48-a29d-b6f12909db0e</m_GUID>
|
||||
<m_Static>false</m_Static>
|
||||
<m_AllowRandomHue>false</m_AllowRandomHue>
|
||||
<m_AllowRandomTint>false</m_AllowRandomTint>
|
||||
<textureChoices>Prosthesis\wood_hook_male</textureChoices>
|
||||
<textureChoices>Prosthesis\wood_hook_female</textureChoices>
|
||||
</clothingItem>
|
||||
@@ -32,12 +32,12 @@ function TOC_LocalActions.Operate(_, player, partName, useOven)
|
||||
end
|
||||
end
|
||||
|
||||
-- TODO This is gonna get deleted
|
||||
function TOC_LocalActions.EquipProsthesis(_, player, partName)
|
||||
local surgeonInv = player:getInventory()
|
||||
local prosthesisToEquip = surgeonInv:getItemFromType('TOC.MetalHand') or
|
||||
surgeonInv:getItemFromType('TOC.MetalHook') or
|
||||
surgeonInv:getItemFromType('TOC.WoodenHook')
|
||||
|
||||
|
||||
-- TODO Find a better way to filter objects. Disabled for now and only gets LeatherBase
|
||||
local prosthesisToEquip = surgeonInv:getItemFromType('TOC.ProstNormal_LeatherBase_MetalHook')
|
||||
if prosthesisToEquip then
|
||||
ISTimedActionQueue.add(TOC_InstallProsthesisAction:new(player, player, prosthesisToEquip, partName))
|
||||
else
|
||||
|
||||
@@ -78,6 +78,10 @@ function GenerateEquippedProsthesis(prosthesisItem, inventory, limb)
|
||||
-- durability_top, speed_top = GetProsthesisStats(top_table, prosthesis_name)
|
||||
end
|
||||
|
||||
|
||||
local equippedProsthesisName = TocFindCorrectClothingProsthesis()
|
||||
|
||||
|
||||
local equippedProsthesis = inventory:AddItem(prosthesisName)
|
||||
equippedProsthesis:setCondition(prosthesisItem:getCondition())
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
media/models_X/WorldItems/MetalHook.fbx
Normal file
BIN
media/models_X/WorldItems/MetalHook.fbx
Normal file
Binary file not shown.
BIN
media/models_X/WorldItems/Prostetic1_.fbx
Normal file
BIN
media/models_X/WorldItems/Prostetic1_.fbx
Normal file
Binary file not shown.
BIN
media/models_X/WorldItems/Prosthetic1_Hook.fbx
Normal file
BIN
media/models_X/WorldItems/Prosthetic1_Hook.fbx
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,7 @@ module TOC
|
||||
{
|
||||
model MetalHook
|
||||
{
|
||||
mesh = WorldItems/hook,
|
||||
mesh = WorldItems/Prosthetic1_Hook,
|
||||
texture = WorldItems/metal,
|
||||
scale = 0.15,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user