Divergent/mods/Anomaly Magazines Redux/gamedata/configs/items/weapons/magazines2/base.ltx

75 lines
3.3 KiB
TeX

[tch_mag_base]:identity_immunities
;from tch_part and tch_part_cond because of import order issues
;probably don't need all of this, but i'm covering my bases.
GroupControlSection = spawn_group
discovery_dependency =
$spawn = "food and drugs\harmonica_a"
cform = skeleton
class = II_ATTCH
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
use_condition = true
allow_repair = false
cond_part = false ;-- for ui_item.script
visual = dynamics\devices\dev_harmonica\dev_harmonica.ogf
description = st_mag_base_descr
inv_name = st_mag_base
inv_name_short = st_mag_base
inv_grid_width = 1
inv_grid_height = 2
inv_grid_x = 22
inv_grid_y = 1
inv_weight = 0.1
cost = 110
repair_type =
snd_on_take = outfit
tier = 3
is_mag = true
max_mag_size = 0
mag_size = small
load_delay = 0.4
load_sound = reload_shell
can_stack = false
kind = w_ammo
icons_texture = ui\ui_icon_magazines
use1_functor = magazines.unload_ammo
use1_action_functor = magazines.func_unload_ammo
use1_modes = inventory, loot
use1_containers = actor_bag, actor_equ, actor_belt, npc_bag
use6_functor = magazines.loadout_precondition
use6_action_functor = magazines.loadout_func
use6_modes = inventory, loot
use6_containers = actor_bag, actor_equ, actor_belt
use7_functor = magazines.retool_mag_precondition
use7_action_functor = magazines.retool_mag_functor
use7_modes = inventory, loot
use7_containers = actor_bag, actor_equ, actor_belt, npc_bag
script_binding = magazine_binder.bind
[tch_gear]
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 53
inv_grid_y = 0
[tch_mag_alt]
1icon_layer_x = 0
1icon_layer_y = 1
1icon_layer = tch_gear
[tch_mag_upgr]
1icon_layer_x = 0
1icon_layer_y = 1
1icon_layer = tch_upgr_ico