updating scripts.txt

This commit is contained in:
Pao
2023-03-02 20:07:48 +01:00
parent f75b80583a
commit 711f20d4eb
6 changed files with 736 additions and 151 deletions

View File

@@ -57,6 +57,8 @@
"ISWearClothing", "ISWearClothing",
"SyncXp", "SyncXp",
"ISClothingExtraAction", "ISClothingExtraAction",
"SwapItConfig" "SwapItConfig",
"getTimestamp",
"addSound"
] ]
} }

View File

@@ -2,6 +2,13 @@ import lxml.etree as gfg
import pandas as pd import pandas as pd
import uuid import uuid
import openpyxl import openpyxl
import os
os.chdir(os.getcwd() + "\\dev_stuff\\python_helpers\\")
def generate_clothing_item(name, model, texture_choices): def generate_clothing_item(name, model, texture_choices):
@@ -124,6 +131,17 @@ def generate_item(item_name, weight, item_type, display_category, display_name,
file.write(root_element) file.write(root_element)
file.close() file.close()
def generate_normal_items(df, part_type):
for row in df.iterrows():
item_id = "ProstPart_" + row[1][part_type]
item_type = "Normal"
weight = "{0:.2f}".format(float(row[1]["Weight"]))
display_category = "Prosthesis"
display_name = row[1]["Display Name"]
icon = "ProstTest" + part_type
generate_item(item_id, weight, item_type, display_category, display_name, icon, "TempTooltip", "false")
########################################################################################### ###########################################################################################
def read_table(file_name: str, table_name: str) -> pd.DataFrame: def read_table(file_name: str, table_name: str) -> pd.DataFrame:
@@ -154,8 +172,12 @@ prost_bodylocations = ["JCIO_ArmRightProsthesis", "JCIO_ArmLeftProsthesis"]
texture_types = ["Wooden", "Metal"] texture_types = ["Wooden", "Metal"]
#########################
# CLOTHING GENERATION PASS # CLOTHING GENERATION PASS
for base_row in df_base.iterrows(): def run_clothing_generation():
for base_row in df_base.iterrows():
for top_row in df_top.iterrows(): for top_row in df_top.iterrows():
base_name = base_row[1][0] base_name = base_row[1][0]
top_name = top_row[1][0] top_name = top_row[1][0]
@@ -167,7 +189,8 @@ for base_row in df_base.iterrows():
generate_clothing_item(current_name, "test", texture_choices) generate_clothing_item(current_name, "test", texture_choices)
# ITEM GENERATION PASS - ASSEMBLED # ITEM GENERATION PASS - ASSEMBLED
for base_row in df_base.iterrows(): def run_assembled_item_generation():
for base_row in df_base.iterrows():
for top_row in df_top.iterrows(): for top_row in df_top.iterrows():
base_id = base_row[1]["Base"] base_id = base_row[1]["Base"]
top_id = top_row[1]["Top"] top_id = top_row[1]["Top"]
@@ -186,25 +209,15 @@ for base_row in df_base.iterrows():
icon = "metalLeg" icon = "metalLeg"
generate_item(item_id, weight, item_type, display_category, display_name, icon, "TempTooltip", "false", clothing_item_name, bl, "Hands") generate_item(item_id, weight, item_type, display_category, display_name, icon, "TempTooltip", "false", clothing_item_name, bl, "Hands")
# ITEM GENERATION PASS - Single item to assemble stuff # ITEM GENERATION PASS - Single item to assemble stuff
def generate_normal_items(df, part_type): def run_single_part_item_generation():
for row in df.iterrows(): generate_normal_items(df_base, "Base")
item_id = "ProstPart_" + row[1][part_type] generate_normal_items(df_top, "Top")
item_type = "Normal"
weight = "{0:.2f}".format(float(row[1]["Weight"]))
display_category = "Prosthesis"
display_name = row[1]["Display Name"]
icon = "ProstTest" + part_type
generate_item(item_id, weight, item_type, display_category, display_name, icon, "TempTooltip", "false")
generate_normal_items(df_base, "Base")
generate_normal_items(df_top, "Top")
# RECIPE GENERATION PASS - Assembly # RECIPE GENERATION PASS - Assembly
for base_row in df_base.iterrows(): def run_recipe_assemble_generation():
for base_row in df_base.iterrows():
for top_row in df_top.iterrows(): for top_row in df_top.iterrows():
base_name = base_row[1]["Base"] base_name = base_row[1]["Base"]
@@ -223,12 +236,13 @@ for base_row in df_base.iterrows():
on_create_func = "ProsthesisRecipes.OnCreateProsthesis" on_create_func = "ProsthesisRecipes.OnCreateProsthesis"
time = 10 # TODO Change this time = 10 # TODO Change this
skill_required = ["FirstAid", "2"] # TODO Change this skill_required = ["FirstAid", "2"] # TODO Change this
tooltip = "Tooltip_test" tooltip = "Recipe_Tooltip_AssembleProsthesis"
generate_recipe(recipe_name, recipe_items, on_create_func, time, skill_required, tooltip) generate_recipe(recipe_name, recipe_items, on_create_func, time, skill_required, tooltip)
# RECIPE GENERATION PASS - Disassembly # RECIPE GENERATION PASS - Disassembly
for base_row in df_base.iterrows(): def run_recipe_disassemble_generation():
for base_row in df_base.iterrows():
for top_row in df_top.iterrows(): for top_row in df_top.iterrows():
base_name = base_row[1]["Base"] base_name = base_row[1]["Base"]
@@ -242,9 +256,14 @@ for base_row in df_base.iterrows():
on_create_func = "ProsthesisRecipes.OnDisassembleProsthesis" on_create_func = "ProsthesisRecipes.OnDisassembleProsthesis"
time = 10 # TODO Change this time = 10 # TODO Change this
skill_required = ["FirstAid", "2"] # TODO Change this skill_required = ["FirstAid", "2"] # TODO Change this
tooltip = "Tooltip_test" tooltip = "Recipe_Tooltip_DisassembleProsthesis"
generate_recipe(recipe_name, recipe_item, on_create_func, time, skill_required, tooltip) generate_recipe(recipe_name, recipe_item, on_create_func, time, skill_required, tooltip)
# RECIPE GENERATION PASS - Single parts - Base # RECIPE GENERATION PASS - Single parts - Base
# TODO do this # TODO do this
run_single_part_item_generation()

View File

@@ -43,7 +43,6 @@ function JCIO_CutLimbAction:stop()
--print("Stopping ISCutLimb") --print("Stopping ISCutLimb")
-- Handles sound -- Handles sound
if self.sawSound and self.sawSound ~= 0 and self.surgeon:getEmitter():isPlaying(self.sawSound) then if self.sawSound and self.sawSound ~= 0 and self.surgeon:getEmitter():isPlaying(self.sawSound) then
self.surgeon:getEmitter():stopSound(self.sawSound) self.surgeon:getEmitter():stopSound(self.sawSound)
end end

View File

@@ -10,7 +10,8 @@ Tooltip_EN = {
Tooltip_ProstheticKnife = "Prost Knife test", Tooltip_ProstheticKnife = "Prost Knife test",
Recipe_Tooltip_AssembleProsthesis = "Make a prosthetic limb",
Recipe_Tooltip_DisassembleProsthesis = "Disassemble a prosthetic limb",
Recipe_Tooltip_Wooden_hook = "Make a prosthesic wooden hook.<br>Can be used on an amputated hand or forearm.<br>Can't be equipped if the upper arm is amputated.", Recipe_Tooltip_Wooden_hook = "Make a prosthesic wooden hook.<br>Can be used on an amputated hand or forearm.<br>Can't be equipped if the upper arm is amputated.",

View File

@@ -330,47 +330,542 @@ imports
/************************ Prosthesis base items ************************/ /************************ Prosthesis base items ************************/
item WoodenHook item ProstPart_WoodenBase
{ {
Weight = 1, Weight = 0.70,
Type = Normal, Type = Normal,
DisplayCategory = Prosthesis, DisplayCategory = Prosthesis,
DisplayName = DisplayName_WoodenHook, DisplayName = Wooden Base,
Icon = woodenHook, Icon = ProstTestBase,
Tooltip = Tooltip_prosthesic_limb, Tooltip = TempTooltip,
WorldStaticModel = TOC.WoodenHook, CanHaveHoles = false,
}
item ProstPart_MetalBase
{
Weight = 1.20,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = Metal Base,
Icon = ProstTestBase,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item ProstPart_LeatherBase
{
Weight = 1.00,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = Leather Base,
Icon = ProstTestBase,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item ProstPart_WoodenHook
{
Weight = 0.20,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = Wooden Hook,
Icon = ProstTestTop,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item ProstPart_MetalHook
{
Weight = 0.50,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = Metal Hook,
Icon = ProstTestTop,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item ProstPart_MetalHand
{
Weight = 0.70,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = Metal Hand,
Icon = ProstTestTop,
Tooltip = TempTooltip,
CanHaveHoles = false,
} }
item MetalHook
{
Weight = 0.5,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = DisplayName_MetalHook,
Icon = metalHook,
Tooltip = Tooltip_prosthesic_limb,
WorldStaticModel = TOC.MetalHook,
/************************ Prosthesis full items ************************/
item Prost_WoodenBase_WoodenHook
{
Weight = 0.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Wooden Hook,
ClothingItem = Prost_Left_Hand_WoodenBase_WoodenHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_WoodenHook
{
Weight = 0.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Wooden Hook,
ClothingItem = Prost_Right_Hand_WoodenBase_WoodenHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_WoodenHook
{
Weight = 0.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Wooden Hook,
ClothingItem = Prost_Left_LowerArm_WoodenBase_WoodenHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_WoodenHook
{
Weight = 0.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Wooden Hook,
ClothingItem = Prost_Right_LowerArm_WoodenBase_WoodenHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hook,
ClothingItem = Prost_Left_Hand_WoodenBase_MetalHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hook,
ClothingItem = Prost_Right_Hand_WoodenBase_MetalHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hook,
ClothingItem = Prost_Left_LowerArm_WoodenBase_MetalHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hook,
ClothingItem = Prost_Right_LowerArm_WoodenBase_MetalHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHand
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hand,
ClothingItem = Prost_Left_Hand_WoodenBase_MetalHand,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHand
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hand,
ClothingItem = Prost_Right_Hand_WoodenBase_MetalHand,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHand
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hand,
ClothingItem = Prost_Left_LowerArm_WoodenBase_MetalHand,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_WoodenBase_MetalHand
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Wooden Base and Metal Hand,
ClothingItem = Prost_Right_LowerArm_WoodenBase_MetalHand,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_WoodenHook
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Wooden Hook,
ClothingItem = Prost_Left_Hand_MetalBase_WoodenHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_WoodenHook
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Wooden Hook,
ClothingItem = Prost_Right_Hand_MetalBase_WoodenHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_WoodenHook
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Wooden Hook,
ClothingItem = Prost_Left_LowerArm_MetalBase_WoodenHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_WoodenHook
{
Weight = 1.40,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Wooden Hook,
ClothingItem = Prost_Right_LowerArm_MetalBase_WoodenHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHook
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hook,
ClothingItem = Prost_Left_Hand_MetalBase_MetalHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHook
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hook,
ClothingItem = Prost_Right_Hand_MetalBase_MetalHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHook
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hook,
ClothingItem = Prost_Left_LowerArm_MetalBase_MetalHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHook
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hook,
ClothingItem = Prost_Right_LowerArm_MetalBase_MetalHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHand
{
Weight = 1.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hand,
ClothingItem = Prost_Left_Hand_MetalBase_MetalHand,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHand
{
Weight = 1.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hand,
ClothingItem = Prost_Right_Hand_MetalBase_MetalHand,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHand
{
Weight = 1.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hand,
ClothingItem = Prost_Left_LowerArm_MetalBase_MetalHand,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_MetalBase_MetalHand
{
Weight = 1.90,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Metal Base and Metal Hand,
ClothingItem = Prost_Right_LowerArm_MetalBase_MetalHand,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_WoodenHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Wooden Hook,
ClothingItem = Prost_Left_Hand_LeatherBase_WoodenHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_WoodenHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Wooden Hook,
ClothingItem = Prost_Right_Hand_LeatherBase_WoodenHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_WoodenHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Wooden Hook,
ClothingItem = Prost_Left_LowerArm_LeatherBase_WoodenHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_WoodenHook
{
Weight = 1.20,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Wooden Hook,
ClothingItem = Prost_Right_LowerArm_LeatherBase_WoodenHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHook
{
Weight = 1.50,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hook,
ClothingItem = Prost_Left_Hand_LeatherBase_MetalHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHook
{
Weight = 1.50,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hook,
ClothingItem = Prost_Right_Hand_LeatherBase_MetalHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHook
{
Weight = 1.50,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hook,
ClothingItem = Prost_Left_LowerArm_LeatherBase_MetalHook,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHook
{
Weight = 1.50,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hook,
ClothingItem = Prost_Right_LowerArm_LeatherBase_MetalHook,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHand
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hand,
ClothingItem = Prost_Left_Hand_LeatherBase_MetalHand,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHand
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hand,
ClothingItem = Prost_Right_Hand_LeatherBase_MetalHand,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHand
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hand,
ClothingItem = Prost_Left_LowerArm_LeatherBase_MetalHand,
BodyLocation = JCIO_ArmLeftProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
}
item Prost_LeatherBase_MetalHand
{
Weight = 1.70,
Type = Clothing,
DisplayCategory = Prosthesis,
DisplayName = Prosthesis - Leather Base and Metal Hand,
ClothingItem = Prost_Right_LowerArm_LeatherBase_MetalHand,
BodyLocation = JCIO_ArmRightProsthesis,
BloodLocation = Hands,
Icon = metalLeg,
Tooltip = TempTooltip,
CanHaveHoles = false,
} }
item MetalHand
{
Weight = 0.3,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = DisplayName_MetalHand,
Icon = metalHand,
Tooltip = Tooltip_prosthesic_limb,
}
item ProstheticKnife
{
Weight = 0.5,
Type = Normal,
DisplayCategory = Prosthesis,
DisplayName = DisplayName_ProstheticKnife,
Icon = metalHand,
Tooltip = Tooltip_ProstheticKnife,
}

View File

@@ -6,7 +6,7 @@ module JCIO
TOC TOC
} }
/*************RECIPES*******************/ /*************Surgeon Kits*******************/
recipe Combine improvised surgeon kit recipe Combine improvised surgeon kit
{ {
@@ -66,61 +66,130 @@ recipe Combine real surgeon kit
NeedToBeLearn: true, NeedToBeLearn: true,
} }
recipe Make wooden hook
{
Nails=10,
Plank=3,
keep [Recipe.GetItemTypes.Saw],
keep [Recipe.GetItemTypes.Hammer],
Result: WoodenHook,
Time: 100.0, /*************Craft Prosthetics*******************/
NeedToBeLearn: false, recipe Craft prosthesis with Wooden Base and Wooden Hook
{
ProstPart_WoodenBase,
ProstPart_WoodenHook,
Time: 10.00,
NeedToBeLearn: true,
CanBeDoneFromFloor: false, CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP, OnGiveXP: NoXP_OnGiveXP,
SkillRequired: Carpentry=4, SkillRequired: FirstAid=2,
Category: Surgeon, Category: Surgeon,
Tooltip: Recipe_Tooltip_Wooden_hook, OnCreate:ProsthesisRecipes.OnCreateProsthesis,
NeedToBeLearn: true, Tooltip: Recipe_Tooltip_AssembleProsthesis,
} }
recipe Craft prosthesis with Wooden Base and Metal Hook
recipe Make metal hook
{ {
SheetMetal, ProstPart_WoodenBase,
BlowTorch=7, ProstPart_MetalHook,
keep WeldingMask,
Result: MetalHook,
Time: 250.0, Time: 10.00,
NeedToBeLearn: false, NeedToBeLearn: true,
CanBeDoneFromFloor: false, CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP, OnGiveXP: NoXP_OnGiveXP,
SkillRequired: MetalWelding=4, SkillRequired: FirstAid=2,
Category: Surgeon, Category: Surgeon,
Tooltip: Recipe_Tooltip_Metal_hook, OnCreate:ProsthesisRecipes.OnCreateProsthesis,
NeedToBeLearn: true, Tooltip: Recipe_Tooltip_AssembleProsthesis,
} }
recipe Craft prosthesis with Wooden Base and Metal Hand
recipe Make metal hand
{ {
Nails=10, ProstPart_WoodenBase,
Plank, ProstPart_MetalHand,
keep [Recipe.GetItemTypes.Saw],
keep [Recipe.GetItemTypes.Hammer],
SheetMetal,
BlowTorch=7,
keep WeldingMask,
Result: MetalHand,
Time: 250.0, Time: 10.00,
NeedToBeLearn: false, NeedToBeLearn: true,
CanBeDoneFromFloor: false, CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP, OnGiveXP: NoXP_OnGiveXP,
SkillRequired: Carpentry=8, SkillRequired: FirstAid=2,
SkillRequired: MetalWelding=8,
Category: Surgeon, Category: Surgeon,
Tooltip: Recipe_Tooltip_Metal_hand, OnCreate:ProsthesisRecipes.OnCreateProsthesis,
NeedToBeLearn: true, Tooltip: Recipe_Tooltip_AssembleProsthesis,
} }
} recipe Craft prosthesis with Metal Base and Wooden Hook
{
ProstPart_MetalBase,
ProstPart_WoodenHook,
Time: 10.00,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
SkillRequired: FirstAid=2,
Category: Surgeon,
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
Tooltip: Recipe_Tooltip_AssembleProsthesis,
}
recipe Craft prosthesis with Metal Base and Metal Hook
{
ProstPart_MetalBase,
ProstPart_MetalHook,
Time: 10.00,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
SkillRequired: FirstAid=2,
Category: Surgeon,
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
Tooltip: Recipe_Tooltip_AssembleProsthesis,
}
recipe Craft prosthesis with Metal Base and Metal Hand
{
ProstPart_MetalBase,
ProstPart_MetalHand,
Time: 10.00,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
SkillRequired: FirstAid=2,
Category: Surgeon,
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
Tooltip: Recipe_Tooltip_AssembleProsthesis,
}
recipe Craft prosthesis with Leather Base and Wooden Hook
{
ProstPart_LeatherBase,
ProstPart_WoodenHook,
Time: 10.00,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
SkillRequired: FirstAid=2,
Category: Surgeon,
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
Tooltip: Recipe_Tooltip_AssembleProsthesis,
}
recipe Craft prosthesis with Leather Base and Metal Hook
{
ProstPart_LeatherBase,
ProstPart_MetalHook,
Time: 10.00,
NeedToBeLearn: true,
CanBeDoneFromFloor: false,
OnGiveXP: NoXP_OnGiveXP,
SkillRequired: FirstAid=2,
Category: Surgeon,
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
Tooltip: Recipe_Tooltip_AssembleProsthesis,
}
recipe Craft prosthesis with Leather Base and Metal Hand
/*************Disassemble Prosthetics*******************/