Some WIP stuff for modular prosthesis
This commit is contained in:
@@ -59,4 +59,143 @@ function TheOnlyCure.UnequipProsthesis(patient, part_name, equipped_prosthesis)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
---------------------------------------------------------------------------------------------
|
||||
-- TEST MODULAR SYSTEM
|
||||
---------------------------------------------------------------------------------------------
|
||||
|
||||
function TocModular()
|
||||
|
||||
|
||||
-- Should affect comfort, so mobility (equal speed of actions)
|
||||
local prost_straps = {
|
||||
"leather_strap", -
|
||||
"sheet_strap"
|
||||
}
|
||||
|
||||
-- A better base has a better resistance. During use it's gonna break sooner or later so a leather base is the best inbetween
|
||||
local prost_base_forearm = {
|
||||
"leather_base_forearm", -- Good resistance and speed
|
||||
"wood_base_forearm", -- Shitty resistance and low speed
|
||||
"metal_base_forearm" -- Really high resistance and very low speed
|
||||
}
|
||||
|
||||
local prost_base_hand = {
|
||||
"wood_base_hand",
|
||||
"metal_base_hand"
|
||||
}
|
||||
|
||||
|
||||
|
||||
local prost_top = {
|
||||
"metal_hook", -- Decent action speed (around 0.75), good durability, restores hand
|
||||
"metal_knife", -- Doesn't count as an hand, but substitute the primary attack... Gonna need a way to disable it to make LIR work (retractable)
|
||||
"wooden_hook", -- Shitty action speed (around 0.3), bad durability, restores hand
|
||||
"metal_hand" -- Good action speed, amazing durability, restores hand
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
local TOC_straps = {
|
||||
leather_strap = {
|
||||
time_modifier = 1,
|
||||
durability = 1,
|
||||
},
|
||||
sheet_strap = {
|
||||
time_modifier = 0.3,
|
||||
durability = 0.4
|
||||
}
|
||||
}
|
||||
|
||||
local TOC_base_lowerarm = {
|
||||
leather_base = {
|
||||
durability = 1,
|
||||
time_modifier = 1
|
||||
},
|
||||
wood_base = {
|
||||
durability = 1,
|
||||
time_modifier = 1,
|
||||
},
|
||||
metal_base = {
|
||||
durability = 1,
|
||||
time_modifier = 1,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
local TOC_base_hand = {
|
||||
wood_base = {
|
||||
durability = 1,
|
||||
time_modifier = 1,
|
||||
},
|
||||
metal_base = {
|
||||
durability = 1,
|
||||
time_modifier = 1,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
local TOC_top = {
|
||||
metal_hook = {
|
||||
type = "Normal", -- restores functioning hand
|
||||
durability = 1,
|
||||
time_modifier = 1,
|
||||
},
|
||||
wooden_hook = {
|
||||
type = "Normal",
|
||||
durability = 1,
|
||||
time_modifier = 1,
|
||||
},
|
||||
|
||||
metal_hand = {
|
||||
type = "Normal",
|
||||
durability = 1,
|
||||
time_modifier = 1,
|
||||
},
|
||||
|
||||
metal_knife = {
|
||||
type = "Attack"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
-- We need A LOT of recipes... or use another menu from the toc one
|
||||
|
||||
-- RECIPES FOR FOREARM = 24 RECIPES in total
|
||||
-- Would be 48 items in TOC_items since we need them for both sides
|
||||
|
||||
|
||||
-- RECIPES FOR HAND = 8 RECIPES in total
|
||||
-- Would be in total 16 items
|
||||
|
||||
|
||||
|
||||
-- TOTAL = 64 ITEMS and 32 RECIPES
|
||||
|
||||
-- Leather strap + leather base forearm + metal hook
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- Base Item that can be crafted\found
|
||||
|
||||
-- Different type of hooks
|
||||
|
||||
-- Addons that can be added to the base item
|
||||
|
||||
|
||||
-- Equip and unequip pretty much the same
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user