[gd_resource type="Resource" script_class="Role" load_steps=9 format=3 uid="uid://bruc88saijimc"] [ext_resource type="Script" path="res://scripts/prompt.gd" id="1_npaes"] [ext_resource type="Script" path="res://scripts/werewolf/role.gd" id="1_sdbtr"] [ext_resource type="Script" path="res://scripts/werewolf/team.gd" id="1_v2dpd"] [ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="1_vpixe"] [ext_resource type="Script" path="res://scripts/werewolf/night_actions/investigate_night_action.gd" id="3_56vox"] [ext_resource type="Resource" uid="uid://i30w138q5a0m" path="res://teams/town.tres" id="4_km506"] [sub_resource type="Resource" id="Resource_p46y4"] script = ExtResource("1_npaes") text = "Choose a player to investigate:" explaination = "If your action succeeds, you will learn what team your target is on. (if your action fails, you will be notified)." type = 5 options = Array[String]([]) interruptable = false [sub_resource type="Resource" id="Resource_a5xlh"] script = ExtResource("3_56vox") investigated_property = NodePath(":team:name") property_names = { "Town": "innocent.", "Werewolves": "a werewolf!!" } player_must_be_alive = true player_must_be_enemy = false can_self_target = true initial_prompt = SubResource("Resource_p46y4") message_success = "Your investigation succeeded; {target_name} is {property}" message_failure = "Your investigation failed, and you learned nothing about {target_them}." night_action_priority = 100 team_nightly_action = false able_to_kill = false [resource] script = ExtResource("1_sdbtr") global_enable = true name = "Investigator" description = "You can investigate players at night to see if they are [color=blue]human[/color] or [color=red]werewolf[/color]." flavour_text = "" postit = "" teams = Array[ExtResource("1_v2dpd")]([ExtResource("4_km506")]) night_action = SubResource("Resource_a5xlh") able_to_kill = false special_investigation_results = {} icon = ExtResource("1_vpixe") max_count = 1 balance = 1.5 chaos = 0.0 pointless_without = []