;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;    MEDICAL
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;--//------------------------
; ANTIRADS
;--//------------------------
[antirad_base]:eatable_item
class                        = II_ANTIR
visual                       = equipments\item_antirad.ogf
description                  = enc_equipment_medi_antirad1

inv_name                     = Antirad
inv_name_short               = Antirad_sh
inv_weight                   = 0.1
inv_volume                   = 0.06
inv_sort_prio				= 14

inv_grid_x                   = 23
inv_grid_y                   = 3
cost                         = 300

hud							= anm_antirad_hud
attach_angle_offset			= -1.50, 1.57, -1.58	; y,z,x
attach_position_offset		= 0.116, 0.000, 0.018
attach_bone_name			= bip01_r_hand

;use_sound                    = interface\inv_pills
use_time                     = 3.5
use_ppe                      = effector_med_injection
;--// сумма рестора = time_factor * boost_time
boost_time                   = 10.0
boost_radiation_restore      = 0.0125

[antirad]:antirad_base
$spawn                       = "food and drugs\antirad"

[anm_antirad_hud]:hud_base_usable
use_anim_time			= 0.75
use_sound				= interface\item_usage\antirad_use
use_actor_motions		= dmg_norm_torso_11_draw_0, 0.55, dmg_norm_torso_11_attack_0

hands_position			= -0.0055,-0.05, 0.32
hands_position_16x9		= -0.0055,-0.05, 0.32

hud2world_trans_scale	= 0.8

item_visual				= dynamics\weapons\wpn_eat\injectors\wpn_injector_big_antirad_hud.ogf
anm_use					= antirad_hands_eat_invtrans, antirad_wpn_eat

;--//------------------------
; ANTIPSY
;--//------------------------
[antipsy]:antirad_base
$spawn                       = "food and drugs\antipsy"
description                  = enc_equipment_medi_antipsy1

inv_name                     = Antipsy
inv_name_short               = Antipsy_sh

inv_grid_x                   = 33
inv_grid_y                   = 3
cost                         = 1100

eat_psy_health               = 0.25

boost_time                   = 120.0
boost_radiation_restore		 = 0.0
boost_telepat_protection     = 0.0075
boost_telepat_immunity       = 0.5

;--//------------------------
; MEDKITS
;--//------------------------
[medkit_base]:eatable_item
class                        = II_MEDKI
inv_weight                   = 0.3
inv_volume                   = 0.18
inv_sort_prio				= 11
;animation_slot				= 14
;use_sound                    = interface\inv_medkit
use_time                     = 4.5
use_ppe                      = effector_med_injection
attach_angle_offset          = -1.36, 3.22, -1.58	; y,z,x
attach_position_offset       = 0.126, 0.012, 0.025
attach_bone_name             = bip01_r_hand
detach_on_death_prb          = 0.9

[medkit]:medkit_base
$spawn                       = "food and drugs\medkit"
visual                       = equipments\item_aptechka.ogf
description                  = enc_equipment_medi_medkit1
inv_name                     = Medkit
inv_name_short               = Medkit
inv_grid_x                   = 20
inv_grid_y                   = 3
cost                         = 150

hud							= anm_medkit_hud

boost_time                   = 10.0
boost_health_restore         = 0.0108
boost_radiation_restore      = 0.0
boost_bleeding_restore       = 0.005

[anm_medkit_hud]:hud_base_usable
use_anim_time			= 0.68
use_sound				= interface\item_usage\medkit_use
use_actor_motions		= dmg_norm_torso_11_draw_0, 0.3, dmg_norm_torso_11_attack_0, 1.25
;use_actor_motions		= dmg_norm_torso_11_draw_0, 0.2, dmg_norm_torso_11_attack_0

hands_position			= -0.0055,-0.07, 0.36
hands_position_16x9		= -0.0055,-0.07, 0.36

hud2world_trans_scale	= 0.9

item_visual				= dynamics\weapons\wpn_eat\aptechki\wpn_aptechka_basic_hud.ogf
anm_use					= aptechka_hands_eat_invtrans,aptechka_wpn_eat, 1.2195

[medkit_army]:medkit_base
$spawn                       = "food and drugs\medkit_army"
visual                       = equipments\item_aptechka3.ogf
inv_name                     = Medkit_army
inv_name_short               = Medkit_army
description                  = enc_equipment_medi_medkit2
inv_grid_x                   = 21
inv_grid_y                   = 3
cost                         = 220

hud							= anm_medkit_army_hud

boost_time                   = 5.0
boost_health_restore         = 0.022
boost_radiation_restore      = 0.0
boost_bleeding_restore       = 0.02
boost_power_restore          = 0.03

[anm_medkit_army_hud]:anm_medkit_hud
item_visual				= dynamics\weapons\wpn_eat\aptechki\wpn_aptechka_army_hud.ogf

[medkit_scientic]:medkit_base
$spawn                       = "food and drugs\medkit_scientic"
visual                       = equipments\item_aptechka2.ogf
description                  = enc_equipment_medi_medkit3
inv_name                     = Medkit_scientific
inv_name_short               = Medkit_scientific
inv_grid_x                   = 22
inv_grid_y                   = 3
cost                         = 220

hud							= anm_medkit_sci_hud

eat_psy_health               = 0.25

boost_time                   = 10.0
boost_health_restore         = 0.0125
boost_radiation_restore      = 0.01
boost_bleeding_restore       = 0.005
boost_chemburn_protection    = 0.05

[anm_medkit_sci_hud]:anm_medkit_hud
item_visual				= dynamics\weapons\wpn_eat\aptechki\wpn_aptechka_scientific_hud.ogf

;--//------------------------
; BANDAGES
;--//------------------------
[bandage_base]:eatable_item
class                        = II_BANDG
visual                       = equipments\item_bandage.ogf
description                  = enc_equipment_medi_bandage1

inv_name                     = bandage
inv_name_short               = bandage
inv_weight                   = 0.1
inv_volume                   = 0.05
inv_sort_prio				= 12

inv_grid_x                   = 30
inv_grid_y                   = 3
cost                         = 50

animation_slot				= 12

hud							= anm_bandage_hud
; attach parameters
attach_angle_offset          = 1.57, 3.14, -1.7
attach_position_offset       = 0.11, 0.06, 0.05
attach_bone_name             = bip01_r_hand
detach_on_death_prb          = 0.6

wounds_heal_perc             = 0.3

boost_time                   = 10.0
boost_health_restore         = 0.002
boost_bleeding_restore       = 0.005

;use_sound                    = interface\inv_bandage
use_time                     = 3.5

[bandage]:bandage_base
$spawn                       = "food and drugs\bandage"

[anm_bandage_hud]:hud_base_usable
use_anim_time			= 0.5
use_sound				= interface\item_usage\bandage_use

hands_position			= -0.0055,-0.05, 0.35
hands_position_16x9		= -0.0055,-0.05, 0.35

hud2world_trans_scale	= 0.35

item_visual				= dynamics\weapons\wpn_eat\bints\wpn_bint_basic_hud.ogf
anm_use					= bint_hands_eat_alt_1_invtrans, bint_wpn_eat

;--//------------------------
; DRUGS
;--//------------------------
[drug_base]:eatable_item
class                        = II_ANTIR ; Rulix: Антирад, чтобы не падали на быстрый юз
inv_name                     = DrugBase
inv_name_short               = DrugBase
description                  = DrugBaseDescr
inv_grid_width               = 1
inv_grid_height              = 1
inv_sort_prio				= 16
;use_sound                    = interface\inv_pills
use_time                     = 2.9
use_mouth_require			= yes
; attach parameters (for pills)
attach_angle_offset          = -0.31, -0.084, 1.41
attach_position_offset       = 0.021, -0.0282, 0.067
attach_bone_name             = bip01_l_finger2
detach_on_death_prb          = 0.8

[drug_booster]:drug_base
$spawn                       = "food and drugs\drug_booster"
visual                       = equipments\medical\drug_booster.ogf
inv_name                     = st_drug_booster
inv_name_short               = st_drug_booster
description                  = st_drug_booster_descr

inv_grid_x                   = 29
inv_grid_y                   = 3
cost                         = 250
inv_weight                   = 0.33
inv_volume                   = 0.42

hud							= anm_booster_hud
attach_bone_name			= bip01_r_hand
attach_angle_offset     	= 0.000000, 0.026180, 0.000000
attach_position_offset  	= 0.087266, -0.093540, 0.052360

boost_time                   = 300.0
boost_max_weight             = 20.0
eat_thirst                   = 0.3
;use_sound                    = interface\inv_softdrink
use_time                     = 3.5

[anm_booster_hud]:anm_vodka_hud
item_visual				= dynamics\weapons\wpn_eat\drinks\wpn_drug_booster_hud.ogf

[drug_coagulant]:drug_base
class                        = II_BANDG
$spawn                       = "food and drugs\drug_coagulant"
visual                       = equipments\medical\drug_coagulant.ogf
inv_name                     = st_drug_coagulant
inv_name_short               = st_drug_coagulant
description                  = st_drug_coagulant_descr

inv_grid_x                   = 27
inv_grid_y                   = 3
cost                         = 100
inv_weight                   = 0.01
inv_volume                   = 0.02
inv_sort_prio				= 13

hud							= anm_coagulant_hud

boost_time                   = 40.0
boost_bleeding_restore       = 0.015

[anm_coagulant_hud]:hud_base_usable
use_anim_time			= 0.82
anim_time_use_done		= 0.82
use_sound				= interface\item_usage\pills_use
use_actor_motions		= raciya_0_draw_1, 0.7, raciya_0_hide_0

hands_position			= -0.0055,-0.07, 0.32
hands_position_16x9		= -0.0055,-0.07, 0.32

hud2world_trans_scale	= 0.35

item_visual				= dynamics\weapons\wpn_eat\tabletki\wpn_tabletki_drug_coagulant_hud.ogf
anm_use					= tabletki_1_hands_eat_invtrans, tabletki_1_wpn_eat

[drug_psy_blockade]:drug_base
$spawn                       = "food and drugs\drug_psy_blockade"
visual                       = equipments\medical\drug_psy_blockade.ogf
inv_name                     = st_drug_psy_blockade
inv_name_short               = st_drug_psy_blockade
description                  = st_drug_psy_blockade_descr

inv_grid_x                   = 24
inv_grid_y                   = 3
cost                         = 550
inv_weight                   = 0.01
inv_volume                   = 0.02

hud							= anm_psy_blockade_hud

eat_psy_health               = 0.15
boost_time                   = 90.0
boost_telepat_protection     = 0.005
boost_telepat_immunity       = 0.5

[anm_psy_blockade_hud]:anm_coagulant_hud
item_visual				= dynamics\weapons\wpn_eat\tabletki\wpn_tabletki_drug_psi_hud.ogf
anm_use					= tabletki_1_hands_eat_invtrans, tabletki_1_wpn_eat

[drug_antidot]:drug_base
$spawn                       = "food and drugs\drug_antidot"
visual                       = equipments\medical\drug_antidot.ogf
inv_name                     = st_drug_antidot
inv_name_short               = st_drug_antidot
description                  = st_drug_antidot_descr

inv_grid_x                   = 25
inv_grid_y                   = 3
cost                         = 200
inv_weight                   = 0.01
inv_volume                   = 0.02

hud							= anm_antidot_hud

boost_time                   = 150.0
boost_chemburn_protection    = 0.03	;0.004
boost_chemburn_immunity      = 0.2

[anm_antidot_hud]:anm_coagulant_hud
item_visual				= dynamics\weapons\wpn_eat\tabletki\wpn_tabletki_drug_hemical_hud.ogf	;wpn_tabletki_drug_antidot_hud.ogf
anm_use					= tabletki_1_hands_eat_invtrans, tabletki_2_wpn_eat

hud2world_trans_scale	= 0.2

[drug_radioprotector]:drug_base
$spawn                       = "food and drugs\drug_radioprotector"
visual                       = equipments\medical\drug_radioprotector.ogf
inv_name                     = st_drug_radioprotector
inv_name_short               = st_drug_radioprotector
description                  = st_drug_radioprotector_descr

inv_grid_x                   = 26
inv_grid_y                   = 3
cost                         = 250
inv_weight                   = 0.01
inv_volume                   = 0.02

hud							= anm_radioprotector_hud

boost_time                   = 120.0
boost_radiation_protection   = 0.0025
boost_radiation_immunity     = 0.35
;boost_radiation_restore      = 0.0005

[anm_radioprotector_hud]:anm_coagulant_hud
item_visual				= dynamics\weapons\wpn_eat\tabletki\wpn_tabletki_drug_radioprotector_hud.ogf
anm_use					= tabletki_1_hands_eat_invtrans, tabletki_3_wpn_eat

hud2world_trans_scale	= 0.25

[drug_anabiotic]:drug_base
$spawn                       = "food and drugs\drug_anabiotic"
visual                       = equipments\medical\drug_anabiotic.ogf
inv_name                     = st_drug_anabiotic
inv_name_short               = st_drug_anabiotic
description                  = st_drug_anabiotic_descr

inv_grid_x                   = 28
inv_grid_y                   = 3
cost                         = 1000
inv_weight                   = 0.01
inv_volume                   = 0.02

[drug_mezaton]:drug_base
$spawn 					= "food and drugs\drug_mezaton"
visual					= dynamics\prosectors\item_mezaton.ogf
inv_name				= st_drug_mezaton
inv_name_short			= st_drug_mezaton
description				= st_drug_mezaton_descr
use_sound				= interface\inv_eyedrops
use_time                = 5.5

inv_grid_width			= 1
inv_grid_height			= 1
inv_grid_x				= 31
inv_grid_y				= 3
cost					= 400
inv_weight				= 0.05
inv_volume				= 0.04

boost_time				= 480.0
;boost_bleeding_restore	= -0.001