updating scripts.txt
This commit is contained in:
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@@ -57,6 +57,8 @@
|
||||
"ISWearClothing",
|
||||
"SyncXp",
|
||||
"ISClothingExtraAction",
|
||||
"SwapItConfig"
|
||||
"SwapItConfig",
|
||||
"getTimestamp",
|
||||
"addSound"
|
||||
]
|
||||
}
|
||||
@@ -2,6 +2,13 @@ import lxml.etree as gfg
|
||||
import pandas as pd
|
||||
import uuid
|
||||
import openpyxl
|
||||
import os
|
||||
|
||||
|
||||
os.chdir(os.getcwd() + "\\dev_stuff\\python_helpers\\")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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.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:
|
||||
@@ -154,8 +172,12 @@ prost_bodylocations = ["JCIO_ArmRightProsthesis", "JCIO_ArmLeftProsthesis"]
|
||||
texture_types = ["Wooden", "Metal"]
|
||||
|
||||
|
||||
|
||||
#########################
|
||||
|
||||
# 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():
|
||||
base_name = base_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)
|
||||
|
||||
# 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():
|
||||
base_id = base_row[1]["Base"]
|
||||
top_id = top_row[1]["Top"]
|
||||
@@ -186,25 +209,15 @@ for base_row in df_base.iterrows():
|
||||
icon = "metalLeg"
|
||||
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
|
||||
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")
|
||||
|
||||
|
||||
generate_normal_items(df_base, "Base")
|
||||
generate_normal_items(df_top, "Top")
|
||||
def run_single_part_item_generation():
|
||||
generate_normal_items(df_base, "Base")
|
||||
generate_normal_items(df_top, "Top")
|
||||
|
||||
|
||||
# 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():
|
||||
|
||||
base_name = base_row[1]["Base"]
|
||||
@@ -223,12 +236,13 @@ for base_row in df_base.iterrows():
|
||||
on_create_func = "ProsthesisRecipes.OnCreateProsthesis"
|
||||
time = 10 # 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)
|
||||
|
||||
|
||||
# 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():
|
||||
|
||||
base_name = base_row[1]["Base"]
|
||||
@@ -242,9 +256,14 @@ for base_row in df_base.iterrows():
|
||||
on_create_func = "ProsthesisRecipes.OnDisassembleProsthesis"
|
||||
time = 10 # 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)
|
||||
|
||||
|
||||
# RECIPE GENERATION PASS - Single parts - Base
|
||||
# TODO do this
|
||||
|
||||
|
||||
|
||||
|
||||
run_single_part_item_generation()
|
||||
@@ -43,7 +43,6 @@ function JCIO_CutLimbAction:stop()
|
||||
--print("Stopping ISCutLimb")
|
||||
|
||||
-- Handles sound
|
||||
|
||||
if self.sawSound and self.sawSound ~= 0 and self.surgeon:getEmitter():isPlaying(self.sawSound) then
|
||||
self.surgeon:getEmitter():stopSound(self.sawSound)
|
||||
end
|
||||
|
||||
@@ -10,7 +10,8 @@ Tooltip_EN = {
|
||||
|
||||
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.",
|
||||
|
||||
@@ -330,47 +330,542 @@ imports
|
||||
|
||||
/************************ Prosthesis base items ************************/
|
||||
|
||||
item WoodenHook
|
||||
item ProstPart_WoodenBase
|
||||
{
|
||||
Weight = 1,
|
||||
Weight = 0.70,
|
||||
Type = Normal,
|
||||
DisplayCategory = Prosthesis,
|
||||
DisplayName = DisplayName_WoodenHook,
|
||||
Icon = woodenHook,
|
||||
Tooltip = Tooltip_prosthesic_limb,
|
||||
WorldStaticModel = TOC.WoodenHook,
|
||||
DisplayName = Wooden Base,
|
||||
Icon = ProstTestBase,
|
||||
Tooltip = TempTooltip,
|
||||
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,
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ module JCIO
|
||||
TOC
|
||||
}
|
||||
|
||||
/*************RECIPES*******************/
|
||||
/*************Surgeon Kits*******************/
|
||||
|
||||
recipe Combine improvised surgeon kit
|
||||
{
|
||||
@@ -66,61 +66,130 @@ recipe Combine real surgeon kit
|
||||
NeedToBeLearn: true,
|
||||
}
|
||||
|
||||
recipe Make wooden hook
|
||||
{
|
||||
Nails=10,
|
||||
Plank=3,
|
||||
keep [Recipe.GetItemTypes.Saw],
|
||||
keep [Recipe.GetItemTypes.Hammer],
|
||||
|
||||
Result: WoodenHook,
|
||||
Time: 100.0,
|
||||
NeedToBeLearn: false,
|
||||
|
||||
/*************Craft Prosthetics*******************/
|
||||
recipe Craft prosthesis with Wooden Base and Wooden Hook
|
||||
{
|
||||
ProstPart_WoodenBase,
|
||||
ProstPart_WoodenHook,
|
||||
|
||||
|
||||
Time: 10.00,
|
||||
NeedToBeLearn: true,
|
||||
CanBeDoneFromFloor: false,
|
||||
OnGiveXP: NoXP_OnGiveXP,
|
||||
SkillRequired: Carpentry=4,
|
||||
SkillRequired: FirstAid=2,
|
||||
Category: Surgeon,
|
||||
Tooltip: Recipe_Tooltip_Wooden_hook,
|
||||
NeedToBeLearn: true,
|
||||
|
||||
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
|
||||
Tooltip: Recipe_Tooltip_AssembleProsthesis,
|
||||
}
|
||||
|
||||
recipe Make metal hook
|
||||
recipe Craft prosthesis with Wooden Base and Metal Hook
|
||||
{
|
||||
SheetMetal,
|
||||
BlowTorch=7,
|
||||
keep WeldingMask,
|
||||
ProstPart_WoodenBase,
|
||||
ProstPart_MetalHook,
|
||||
|
||||
Result: MetalHook,
|
||||
Time: 250.0,
|
||||
NeedToBeLearn: false,
|
||||
|
||||
Time: 10.00,
|
||||
NeedToBeLearn: true,
|
||||
CanBeDoneFromFloor: false,
|
||||
OnGiveXP: NoXP_OnGiveXP,
|
||||
SkillRequired: MetalWelding=4,
|
||||
SkillRequired: FirstAid=2,
|
||||
Category: Surgeon,
|
||||
Tooltip: Recipe_Tooltip_Metal_hook,
|
||||
NeedToBeLearn: true,
|
||||
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
|
||||
Tooltip: Recipe_Tooltip_AssembleProsthesis,
|
||||
}
|
||||
|
||||
recipe Make metal hand
|
||||
recipe Craft prosthesis with Wooden Base and Metal Hand
|
||||
{
|
||||
Nails=10,
|
||||
Plank,
|
||||
keep [Recipe.GetItemTypes.Saw],
|
||||
keep [Recipe.GetItemTypes.Hammer],
|
||||
SheetMetal,
|
||||
BlowTorch=7,
|
||||
keep WeldingMask,
|
||||
ProstPart_WoodenBase,
|
||||
ProstPart_MetalHand,
|
||||
|
||||
Result: MetalHand,
|
||||
Time: 250.0,
|
||||
NeedToBeLearn: false,
|
||||
|
||||
Time: 10.00,
|
||||
NeedToBeLearn: true,
|
||||
CanBeDoneFromFloor: false,
|
||||
OnGiveXP: NoXP_OnGiveXP,
|
||||
SkillRequired: Carpentry=8,
|
||||
SkillRequired: MetalWelding=8,
|
||||
SkillRequired: FirstAid=2,
|
||||
Category: Surgeon,
|
||||
Tooltip: Recipe_Tooltip_Metal_hand,
|
||||
NeedToBeLearn: true,
|
||||
OnCreate:ProsthesisRecipes.OnCreateProsthesis,
|
||||
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*******************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user