Fixed recipes again

This commit is contained in:
Pao
2023-03-03 00:32:01 +01:00
parent b66707ba10
commit 46175964f1
3 changed files with 30 additions and 14 deletions

View File

@@ -119,6 +119,7 @@ function ProsthesisRecipes.OnCreateProsthesis(items, result, player, selectedIte
-- Set mod data for item with durability and all that crap
-- Get condition from the items
print("JCIO: setting stats for prosthesis item")
local condition = 0
for i=1,items:size() do
local item = items:get(i-1)

View File

@@ -74,7 +74,8 @@ recipe Craft prosthesis with Wooden Base and Wooden Hook
ProstPart_WoodenHook,
Time: 10.00,
Time: 10.0,
Result: Prost_WoodenBase_WoodenHook,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -89,7 +90,8 @@ recipe Craft prosthesis with Wooden Base and Metal Hook
ProstPart_MetalHook,
Time: 10.00,
Time: 10.0,
Result: Prost_WoodenBase_MetalHook,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -104,7 +106,8 @@ recipe Craft prosthesis with Wooden Base and Metal Hand
ProstPart_MetalHand,
Time: 10.00,
Time: 10.0,
Result: Prost_WoodenBase_MetalHand,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -119,7 +122,8 @@ recipe Craft prosthesis with Metal Base and Wooden Hook
ProstPart_WoodenHook,
Time: 10.00,
Time: 10.0,
Result: Prost_MetalBase_WoodenHook,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -134,7 +138,8 @@ recipe Craft prosthesis with Metal Base and Metal Hook
ProstPart_MetalHook,
Time: 10.00,
Time: 10.0,
Result: Prost_MetalBase_MetalHook,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -149,7 +154,8 @@ recipe Craft prosthesis with Metal Base and Metal Hand
ProstPart_MetalHand,
Time: 10.00,
Time: 10.0,
Result: Prost_MetalBase_MetalHand,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -164,7 +170,8 @@ recipe Craft prosthesis with Leather Base and Wooden Hook
ProstPart_WoodenHook,
Time: 10.00,
Time: 10.0,
Result: Prost_LeatherBase_WoodenHook,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -179,7 +186,8 @@ recipe Craft prosthesis with Leather Base and Metal Hook
ProstPart_MetalHook,
Time: 10.00,
Time: 10.0,
Result: Prost_LeatherBase_MetalHook,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -194,7 +202,8 @@ recipe Craft prosthesis with Leather Base and Metal Hand
ProstPart_MetalHand,
Time: 10.00,
Time: 10.0,
Result: Prost_LeatherBase_MetalHand,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
@@ -204,6 +213,7 @@ recipe Craft prosthesis with Leather Base and Metal Hand
Tooltip: Recipe_Tooltip_AssembleProsthesis,
}
/*************Disassemble Prosthetics*******************/