Divergent/mods/Lootboxes/gamedata/configs/items/items/lootbox_.ltx

213 lines
11 KiB
TeX

[tch_loot]
GroupControlSection = spawn_group
discovery_dependency =
$spawn = "food and drugs\harmonica_a"
cform = skeleton
class = II_ATTCH
kind = i_misc
inv_grid_width = 1
inv_grid_height = 1
attach_angle_offset = 0.000000, -1.204452, -1.262921
attach_position_offset = 0.081856, -0.035081, 0.011694
attach_bone_name = bip01_l_hand
auto_attach = false
cost = 0
inv_weight = 0.01
use5_functor = ui_itm_details.menu_details
use5_action_functor = ui_itm_details.func_details
use5_modes = inventory, loot, trade, repair
use5_containers = actor_bag, actor_equ, actor_belt, actor_trade, actor_trade_bag, npc_bag, npc_trade, npc_trade_bag
use6_functor = item_parts.menu_disassembly
use6_action_functor = item_parts.func_disassembly
use6_modes = inventory, loot
use6_containers = actor_bag, actor_equ, actor_belt, npc_bag
use7_functor = ui_debug_launcher.menu_cond_inc
use7_action_functor = ui_debug_launcher.func_cond_inc
use8_functor = ui_debug_launcher.menu_cond_dec
use8_action_functor = ui_debug_launcher.func_cond_dec
use9_functor = ui_debug_launcher.menu_release
use9_action_functor = ui_debug_launcher.func_release
immunities_sect = sect_identity_immunities
slot = -1
inv_name = st_lockpick
inv_name_short = st_lockpick
description = no_description
default_to_ruck = false
sprint_allowed = true
control_inertion_factor = 1.0
zoom_rotate_time = 0.25
can_trade = true
quest_item = false
condition_bar = condition_progess_bar
snd_on_take = other
; -- Lockpicks
[lockpick]:tch_loot
visual = dynamics\equipments\trade\ammo.ogf
description = st_lockpick_descr
inv_name = st_lockpick
inv_name_short = st_lockpick
icons_texture = ui\ui_icon_lootboxes
class = WP_GLAUN
grenade_vel = 76
kind = i_part
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 8
inv_grid_y = 0
cost = 2212
inv_weight = 0.01
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
snd_on_take = part
tier = 1
replacement = 1
; use1_functor = pickset_binder.try_bundle
; use1_action_functor = pickset_binder.bundle_picks
[bundle_lockpick]:tch_loot
visual = dynamics\equipments\trade\ammo.ogf
description = st_lockpick_bundle_descr
inv_name = st_lockpick_bundle
inv_name_short = st_lockpick_bundle
icons_texture = ui\ui_icon_lootboxes
kind = i_part
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 9
inv_grid_y = 0
cost = 11060
inv_weight = 0.05
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
snd_on_take = part
tier = 1
replacement = 5
use1_functor = pickset_binder.try_split
use1_action_functor = pickset_binder.split_picks
[snapgun]:tch_loot
kind = i_part
visual = dynamics\equipments\trade\ammo.ogf
description = st_snapgun_descr
inv_name = st_snapgun
inv_name_short = st_snapgun
icons_texture = ui\ui_icon_lootboxes
cost = 5523
inv_weight = 1.25
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 10
inv_grid_y = 2
open_power = 5
[skeleton_key]:tch_loot
kind = i_part
visual = dynamics\equipments\trade\ammo.ogf
description = st_skelekey_descr
inv_name = st_skelekey
inv_name_short = st_skelekey
icons_texture = ui\ui_icon_lootboxes
inv_grid_width = 1
inv_grid_height = 2
inv_grid_x = 10
inv_grid_y = 0
cost = 11014
inv_weight = 0.05
[lockpick_set]:tch_loot
visual = dynamics\part\prt_o_fabrics_1.ogf
description = st_lockpick_set_descr
inv_name = st_lockpick_set
inv_name_short = st_lockpick_set
icons_texture = ui\ui_icon_lootboxes
inv_grid_width = 2
inv_grid_height = 1
inv_grid_x = 6
inv_grid_y = 0
inv_weight = 0.34
cost = 5392
allow_repair = false
snd_on_take = outfit
; use1_functor = pickset_binder.menu_empty
; use1_action_functor = pickset_binder.empty
; script_binding = pickset_binder.bind
[arcade_tokens]:tch_loot
kind = i_part
visual = dynamics\equipments\trade\ammo.ogf
description = st_tokens_descr
inv_name = st_tokens
inv_name_short = st_tokens
icons_texture = ui\ui_icon_lootboxes
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 11
inv_grid_y = 0
cost = 10
inv_weight = 0.01
;-- Lootbox base item
[lootbox]:tch_loot
GroupControlSection = spawn_group
discovery_dependency =
$spawn = "food and drugs\harmonica_a"
cform = skeleton
class = WP_GLAUN
grenade_vel = 76
launch_speed = 76
kind = i_part
visual = dynamics\equipments\blue_box.ogf
description = st_wpn_spareparts_descr
inv_name = st_wpn_spareparts
inv_name_short = st_wpn_spareparts
icons_texture = ui\ui_icon_lootboxes
attach_angle_offset = -0.287979, 1.560923, 1.544060
attach_position_offset = 0.096910, -0.013594, 0.107925
inv_grid_width = 1
inv_grid_height = 1
inv_grid_x = 0
inv_grid_y = 46
cost = 14010
inv_weight = 0.05
difficulty = 1
contents = bad
attach_bone_name = bip01_r_hand
auto_attach = false
snd_on_take = other
box_group = 0
use_condition = true
unique_contents = underwear,10
loot_type = grab
weapon_condition = 40
diff_str = arti_lootboxes.build_diff
items_range = 6, 10
bias_range = 1, 3
multiuse_full = false
open_with = lockpick,skeleton_key,snapgun
script_binding = lootbox_binder.bind
use1_functor = arti_lootboxes.str_pick
use1_action_functor = arti_lootboxes.do_pick
use1_modes = inventory
use1_containers = actor_bag
use2_functor = arti_lootboxes.str_snap
use2_action_functor = arti_lootboxes.do_snap
use2_modes = inventory
use2_containers = actor_bag
use3_functor = arti_lootboxes.str_coin
use3_action_functor = arti_lootboxes.do_coin
use3_modes = inventory
use3_containers = actor_bag