4
0
Fork 0
WolfBox/roles/physician.tres

48 lines
2.0 KiB
Plaintext
Raw Normal View History

2025-06-21 14:36:09 +01:00
[gd_resource type="Resource" script_class="Role" load_steps=10 format=3 uid="uid://ecfmgpdrpakk"]
[ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="1_knjgd"]
[ext_resource type="Script" path="res://scripts/prompt.gd" id="2_j04iu"]
[ext_resource type="Script" path="res://scripts/werewolf/role.gd" id="2_v6jjq"]
[ext_resource type="Script" path="res://scripts/werewolf/night_actions/protect_night_action.gd" id="3_jgkax"]
[ext_resource type="Script" path="res://scripts/werewolf/team.gd" id="3_kg6fe"]
[ext_resource type="Resource" uid="uid://i30w138q5a0m" path="res://teams/town.tres" id="5_0x8sn"]
[ext_resource type="Resource" uid="uid://xsmxg7eedjkr" path="res://teams/werewolves.tres" id="6_yx3b2"]
[sub_resource type="Resource" id="Resource_fp7jb"]
script = ExtResource("2_j04iu")
text = "Choose a player to protect:"
explaination = "Your target will be safe from a single attempt on their life tonight."
type = 5
options = Array[String]([])
interruptable = false
[sub_resource type="Resource" id="Resource_hxrx4"]
script = ExtResource("3_jgkax")
infinite_protection = false
player_must_be_alive = true
player_must_be_enemy = false
can_self_target = false
initial_prompt = SubResource("Resource_fp7jb")
message_success = "You successfully protected {target_name}."
message_failure = "Your action failed, and {target_name} was left defenceless..."
night_action_priority = 60
team_nightly_action = false
able_to_kill = false
[resource]
script = ExtResource("2_v6jjq")
global_enable = true
name = "Physician"
description = "During the night, you may [b]protect[/b] a player. They will be [b]saved[/b] from [i]one[/i] attempt on their life that night."
flavour_text = ""
postit = ""
teams = Array[ExtResource("3_kg6fe")]([ExtResource("5_0x8sn"), ExtResource("6_yx3b2")])
night_action = SubResource("Resource_hxrx4")
able_to_kill = false
special_investigation_results = {}
icon = ExtResource("1_knjgd")
max_count = 1
balance = 1.5
chaos = 0.0
pointless_without = []