From ecee8b06e7772906f79dc2884df72d0850da7162 Mon Sep 17 00:00:00 2001 From: ZioPao Date: Mon, 18 Dec 2023 22:59:40 +0100 Subject: [PATCH] Base stuff for recipes --- dev_stuff/python_helpers/main.py | 5 + .../outputs/output_item/script.txt | 99 +++++++++++++++++++ media/scripts/TOC_recipes.txt | 39 ++++++++ 3 files changed, 143 insertions(+) create mode 100644 media/scripts/TOC_recipes.txt diff --git a/dev_stuff/python_helpers/main.py b/dev_stuff/python_helpers/main.py index b0607ca..165a79e 100644 --- a/dev_stuff/python_helpers/main.py +++ b/dev_stuff/python_helpers/main.py @@ -5,6 +5,11 @@ import openpyxl import os + +#### ITEMS FORMAT SHOULD BE + +# Prost_Something_HookArm_L + os.chdir(os.getcwd() + "\\dev_stuff\\python_helpers\\") diff --git a/dev_stuff/python_helpers/outputs/output_item/script.txt b/dev_stuff/python_helpers/outputs/output_item/script.txt index ee7f9fa..5581c9e 100644 --- a/dev_stuff/python_helpers/outputs/output_item/script.txt +++ b/dev_stuff/python_helpers/outputs/output_item/script.txt @@ -97,3 +97,102 @@ item LeatherBase_MetalHand CanHaveHoles = false, WorldStaticModel = TOC.MetalHook, } +item WoodenBase_WoodenHook + { + Weight = 0.90, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Wooden Base and Wooden Hook, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item WoodenBase_MetalHook + { + Weight = 1.20, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Wooden Base and Metal Hook, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item WoodenBase_MetalHand + { + Weight = 1.40, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Wooden Base and Metal Hand, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item MetalBase_WoodenHook + { + Weight = 1.40, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Metal Base and Wooden Hook, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item MetalBase_MetalHook + { + Weight = 1.70, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Metal Base and Metal Hook, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item MetalBase_MetalHand + { + Weight = 1.90, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Metal Base and Metal Hand, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item LeatherBase_WoodenHook + { + Weight = 1.20, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Leather Base and Wooden Hook, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item LeatherBase_MetalHook + { + Weight = 1.50, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Leather Base and Metal Hook, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } +item LeatherBase_MetalHand + { + Weight = 1.70, + Type = Normal, + DisplayCategory = Prosthesis, + DisplayName = Prosthesis - Leather Base and Metal Hand, + Icon = metalLeg, + Tooltip = TempTooltip, + CanHaveHoles = false, + WorldStaticModel = TOC.MetalHook, + } diff --git a/media/scripts/TOC_recipes.txt b/media/scripts/TOC_recipes.txt new file mode 100644 index 0000000..554c4d3 --- /dev/null +++ b/media/scripts/TOC_recipes.txt @@ -0,0 +1,39 @@ +module TOC +{ + imports + { + Base + } + /*************Craft Prosthetics*******************/ + recipe Craft Prosthetic Arm + { + ProstPart_WoodenBase, + ProstPart_WoodenHook, + + Time: 10.0, + Result: Prost_NormalArm_L, + NeedToBeLearn: true, + CanBeDoneFromFloor: false, + OnGiveXP: NoXP_OnGiveXP, + SkillRequired: FirstAid=2, + Category: Surgeon, + OnCreate:ProsthesisRecipes.OnCreateProsthesis, + Tooltip: Recipe_Tooltip_AssembleProsthesis, + } + + recipe Craft Prosthetic Hook + { + ProstPart_WoodenBase, + ProstPart_WoodenHook, + + Time: 10.0, + Result: Prost_HookArm_L, + NeedToBeLearn: true, + CanBeDoneFromFloor: false, + OnGiveXP: NoXP_OnGiveXP, + SkillRequired: FirstAid=2, + Category: Surgeon, + OnCreate:ProsthesisRecipes.OnCreateProsthesis, + Tooltip: Recipe_Tooltip_AssembleProsthesis, + } +} \ No newline at end of file