  


        : 

    items.ltx,    config/misc/,   - , , , : 
[bread]:identity_immunities
GroupControlSection = spawn_group
discovery_dependency =
$spawn = "food and drugs\bread"
;$prefetch = 32
class = II_FOOD
cform = skeleton
visual = weapons\bred\bred.ogf
description = enc_equipment_food_bread1

inv_name = Bread
inv_name_short = Bread
inv_weight = 0.3 ;0.2

inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 11
inv_grid_y = 9
cost = 20

attach_angle_offset = -0.287979, 1.560923, 1.544060
attach_position_offset = 0.096910, -0.013594, 0.107925
attach_bone_name = bip01_r_hand
auto_attach = false

// should be deleted after update
bone_name = bip01_r_hand
position_offset = 0.0,0.0,0.0
angle_offset = 1.570790,1.570790,3.92699

; eatable item
eat_health = 0.05
eat_satiety = 0.2
eat_power = 0
eat_radiation = 0
wounds_heal_perc = 0
eat_portions_num = -1

; food item
slot = 4
animation_slot = 4

;hud item
hud = wpn_vodka_hud

    ,  : 

[bread] 

: 

[test] 

 : 
inv_name = Bread
inv_name_short = Bread 

: 
inv_name = test
inv_name_short = test

 description = enc_equipment_food_bread1  description = enc_equipment_food_bread1_test 

, , " ": 

eat_health = 0.05 eat_satiety = 0.2 eat_power = 0 eat_radiation = 0 wounds_heal_perc = 0 eat_portions_num = -1 

,  item.ltx  ,     ,  string_table_enc_equipment "".    :       : 

<string id="  inv_name"> <text>  </text> </string> 

: 

<string id="  description"> <text>  </text> </string> 

: 

<string id="test"> <text> </text> </string> 

: 

<string id="enc_equipment_food_bread1_test"> 

<text> ,      :)</text> 

</string> 

... !   !    , , . 

 trader_trader   config/misc (       ), : 

test = 0.3, 0.5 

 : 

[trader_generic_buy] 

  : 

[supplies_start] 

test = 10, 1 

 [supplies_after_fabric] 

test = 10, 1 

 [trader_start_sell] 

 : 

[trader_after_fabric_sell] 

test = 1. 3 

,  ,          :    -  :) 

  ,     ,     BAC9-FLCL.