;==============================================================
;
; Professor Hermann Logic (jup_b6_scientist_nuclear_physicist.ltx)
;	CoC 1.5b r4 - DoctorX Questlines 2.0
;
;	Modified by: DoctorX
;	Last revised: September 02, 2019
;
;==============================================================


[logic@jup_b6_scientist_nuclear_physicist]
suitable = {=check_npc_name(jup_b6_scientist_nuclear_physicist)} true
trade = misc\trade\trade_ecolog_hermann.ltx
prior = 200
active = walker@meet
level_spot = trader

[walker@meet]


;//////////////////////////////////////////////////////////////////////////////////////////////////
;
; Walk / look paths
;
;	Modified by DoctorX
;	for DoctorX Questlines 2.0
;	September 02, 2019
;
;--------------------------------------------------------------------------------------------------

; path_walk = nuc_walk
path_walk = bio_walk

; path_look  = nuc_look
path_look  = bio_look

; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


def_state_standing = wait_trade


;//////////////////////////////////////////////////////////////////////////////////////////////////
;
; Moving animation
;
;	Modified by DoctorX
;	for DoctorX Questlines 2.0
;	September 02, 2019
;
;--------------------------------------------------------------------------------------------------

; def_state_moving = walk_noweap
def_state_moving = wait_trade

; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


on_info = {+jup_b1_complete_end -jup_b6_ask !talking} %+jup_b6_ask%


;//////////////////////////////////////////////////////////////////////////////////////////////////
;
; Home location
;
;	Modified by DoctorX
;	for DoctorX Questlines 2.0
;	September 02, 2019
;
;--------------------------------------------------------------------------------------------------

; on_info2 = {!npc_in_zone(jup_b41_sr_light)} %=teleport_npc(jup_b41_nuc_walk)%
on_info2 = {!npc_in_zone(jup_b41_sr_light)} %=teleport_npc(jup_b41_bio_walk)%

; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


meet = meet@default
combat_ignore_cond = {=actor_enemy =check_enemy_name(actor)} false, true
combat_ignore_keep_when_attacked = true
invulnerable = {!actor_enemy} true, false
out_restr = jup_b41_sr_light
gather_items_enabled = false
help_wounded_enabled = false
corpse_detection_enabled = false

[meet@default]
close_snd_hello = jup_b6_scientist_nuclear_physicist_greeting
close_snd_bye = jup_b6_scientist_nuclear_physicist_farewell
close_anim 		= nil
close_victim 	= actor
far_anim 		= nil
far_victim 		= nil
close_distance  = 3
far_distance 	= 5
close_snd_distance = 3
use = {!actor_enemy +jup_b1_complete_end +jup_b6_ask -jup_b6_intro_end =dist_to_actor_ge(3)} self, {=actor_enemy} false, true
allow_break = false
trade_enable = true
meet_dialog	= {+jup_b1_complete_end +jup_b6_ask -jup_b6_intro_end} jup_b6_scientist_nuclear_physicist_b32_investigation_anomaly
