4
0
Fork 0
WolfBox/roles/detective.tres

51 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2025-06-21 14:36:09 +01:00
[gd_resource type="Resource" script_class="Role" load_steps=9 format=3 uid="uid://bgjxyuyfw5s88"]
[ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="1_qmjnd"]
[ext_resource type="Script" path="res://scripts/prompt.gd" id="2_4utfg"]
[ext_resource type="Script" path="res://scripts/werewolf/night_actions/investigate_night_action.gd" id="3_hbgrp"]
[ext_resource type="Script" path="res://scripts/werewolf/role.gd" id="4_4aryk"]
[ext_resource type="Script" path="res://scripts/werewolf/team.gd" id="5_oxrei"]
[ext_resource type="Resource" uid="uid://i30w138q5a0m" path="res://teams/town.tres" id="6_wh3m3"]
[sub_resource type="Resource" id="Resource_lxrdn"]
script = ExtResource("2_4utfg")
text = "Choose a player to investigate."
explaination = "You will learn if they are able to kill."
type = 5
options = Array[String]([])
interruptable = false
[sub_resource type="Resource" id="Resource_cgocx"]
script = ExtResource("3_hbgrp")
investigated_property = NodePath(":role:able_to_kill")
property_names = {
false: "is harmless.",
true: "has what it takes to kill.."
}
player_must_be_alive = true
player_must_be_enemy = false
can_self_target = false
initial_prompt = SubResource("Resource_lxrdn")
message_success = "Your investigation succeeded! {target_name} {property}"
message_failure = "Your investigation into {target_name} failed, and you learned nothing about {target_them}."
night_action_priority = 100
team_nightly_action = false
able_to_kill = false
[resource]
script = ExtResource("4_4aryk")
global_enable = false
name = "Psychic"
description = "You can investigate players at night to see if they are [b]capable of murder[/b]. This does not [i]necessarily[/i] mean they are your enemy."
flavour_text = ""
postit = ""
teams = Array[ExtResource("5_oxrei")]([ExtResource("6_wh3m3")])
night_action = SubResource("Resource_cgocx")
able_to_kill = false
special_investigation_results = {}
icon = ExtResource("1_qmjnd")
max_count = 1
balance = 1.2
chaos = 0.0
pointless_without = []