User Tools

Site Tools


npc_behavior

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
npc_behavior [2023/05/06 21:13] justinnpc_behavior [2023/05/06 21:14] (current) justin
Line 30: Line 30:
 ^Key^Possible Values^Data Type^ ^Key^Possible Values^Data Type^
 |"interaction_by_player"|"none", "start_dialogue", "start_battle", "run_script"|[[String]]| |"interaction_by_player"|"none", "start_dialogue", "start_battle", "run_script"|[[String]]|
-|"interaction_by_player_dialogue"|[[Dialogue]] name when "interaction_by_player" is "start_dialogue"|[[String]]| +|"interaction_by_player_dialogue"|[[Dialogue]] name when "interaction_by_player" is "start_dialogue".|[[String]]| 
-|"interaction_by_player_battle"|[[Battle]] name when "interaction_by_player" is "start_battle"|[[String]]| +|"interaction_by_player_battle"|[[Battle]] name when "interaction_by_player" is "start_battle".|[[String]]| 
-|"interaction_by_player_script"|[[Script]] name when "interaction_by_player" is "run_script"|[[String]]|+|"interaction_by_player_script"|[[Script]] name when "interaction_by_player" is "run_script".|[[String]]|
 |"next_to_player"|"none", "start_dialogue", "start_battle", "run_script"|[[String]]| |"next_to_player"|"none", "start_dialogue", "start_battle", "run_script"|[[String]]|
-|"next_to_player_dialogue"|[[Dialogue]] name when "next_to_player" is "start_dialogue"|[[String]]| +|"next_to_player_dialogue"|[[Dialogue]] name when "next_to_player" is "start_dialogue".|[[String]]| 
-|"next_to_player_battle"|[[Battle]] name when "next_to_player" is "start_battle"|[[String]]| +|"next_to_player_battle"|[[Battle]] name when "next_to_player" is "start_battle".|[[String]]| 
-|"next_to_player_script"|[[Script]] name when "next_to_player" is "run_script"|[[String]]|+|"next_to_player_script"|[[Script]] name when "next_to_player" is "run_script".|[[String]]|
 |"collide_with_player"|"none", "run_script"|[[String]]| |"collide_with_player"|"none", "run_script"|[[String]]|
-|"collide_with_player_script"|[[Script]] name when "collide_with_player" is "run_script"|[[String]]|+|"collide_with_player_script"|[[Script]] name when "collide_with_player" is "run_script".|[[String]]|
 |"on_death"|"none", "run_script"|[[String]]| |"on_death"|"none", "run_script"|[[String]]|
-|"on_death_script"|[[Script]] name when "on_death" is "run_script"|[[String]]|+|"on_death_script"|[[Script]] name when "on_death" is "run_script".|[[String]]|
 |"can_trigger_scripts"|true, false|[[Boolean]]| |"can_trigger_scripts"|true, false|[[Boolean]]|
 |"attackable_in_realtime"|true, false|[[Boolean]]| |"attackable_in_realtime"|true, false|[[Boolean]]|
 |"hostility"|Hostility when "attackable_in_realtime" is true. Value can be "always", "attacked", or "never".|[[String]]| |"hostility"|Hostility when "attackable_in_realtime" is true. Value can be "always", "attacked", or "never".|[[String]]|
-|"loot_drop"|Loot drop name when "attackable_in_realtime" is true|[[String]]| +|"loot_drop"|Loot drop name when "attackable_in_realtime" is true.|[[String]]| 
-|"xp_value"|Experience points when "attackable_in_realtime" is true|[[Number]]|+|"xp_value"|Experience points when "attackable_in_realtime" is true.|[[Number]]|
 |"move_area"|"all", "none", "group"|[[String]]| |"move_area"|"all", "none", "group"|[[String]]|
-|"move_area_group"|[[groups|Group]] name when "move_area" is "group"|[[String]]|+|"move_area_group"|[[groups|Group]] name when "move_area" is "group".|[[String]]|
 |"move_interval"|"fixed", "random_range"|[[String]]| |"move_interval"|"fixed", "random_range"|[[String]]|
-|"move_interval_value"|Interval in seconds ([[number]] for "fixed" interval, [[array]] for "random_range" interval)|[[Number]], [[Array]]|+|"move_interval_value"|Interval in seconds ([[number]] for "fixed" interval, [[array]] for "random_range" interval).|[[Number]], [[Array]]|
 |"move_direction"|"none", "random", "random_forced", "forward", "backward", "opposite", "left", "right", "north", "south", "west", "east"|[[String]]| |"move_direction"|"none", "random", "random_forced", "forward", "backward", "opposite", "left", "right", "north", "south", "west", "east"|[[String]]|
 |"obstacle_reaction"|"none", "turn_left", "turn_right", "reverse_direction", "stop", "run_script"|[[String]]| |"obstacle_reaction"|"none", "turn_left", "turn_right", "reverse_direction", "stop", "run_script"|[[String]]|
-|"obstacle_reaction_script"|[[Script]] name when "obstacle_reaction" is "run_script"|[[String]]|+|"obstacle_reaction_script"|[[Script]] name when "obstacle_reaction" is "run_script".|[[String]]|
 |"player_interest"|"none", "seek_player", "avoid_player"|[[String]]| |"player_interest"|"none", "seek_player", "avoid_player"|[[String]]|
-|"player_interest_range"|Interest range in [[tile|tiles]] when "player_interest" is "seek_player" or "avoid_player"|[[Number]]|+|"player_interest_range"|Interest range in [[tile|tiles]] when "player_interest" is "seek_player" or "avoid_player".|[[Number]]|
  
 **Examples:** **Examples:**
npc_behavior.txt · Last modified: 2023/05/06 21:14 by justin