4
0
Fork 0
WolfBox/roles/thief.tres

65 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2025-06-21 14:36:09 +01:00
[gd_resource type="Resource" script_class="Role" load_steps=12 format=3 uid="uid://dcmoidjr4xa18"]
[ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="1_1dke6"]
[ext_resource type="Script" path="res://scripts/werewolf/role.gd" id="2_qmari"]
[ext_resource type="Script" path="res://scripts/prompt.gd" id="2_xmjap"]
[ext_resource type="Script" path="res://scripts/werewolf/night_actions/thief_night_action.gd" id="3_ptq37"]
[ext_resource type="Script" path="res://scripts/werewolf/team.gd" id="3_wf2tx"]
[ext_resource type="Resource" uid="uid://i30w138q5a0m" path="res://teams/town.tres" id="4_0jfif"]
[ext_resource type="Resource" uid="uid://xsmxg7eedjkr" path="res://teams/werewolves.tres" id="5_q1fu5"]
[sub_resource type="Resource" id="Resource_ge4m1"]
script = ExtResource("2_xmjap")
text = "Choose a player to steal the role of:"
explaination = ""
type = 5
options = Array[String]([])
interruptable = false
[sub_resource type="Resource" id="Resource_mg8vo"]
script = ExtResource("2_xmjap")
text = "You sucessfully robbed {target_name}! You have taken {target_their} role:"
explaination = "You are still on the same team."
type = 8
options = Array[String]([])
interruptable = false
[sub_resource type="Resource" id="Resource_37clk"]
script = ExtResource("2_xmjap")
text = "A Thief has struck in the night! Your role has changed:"
explaination = "You are still on the same team."
type = 8
options = Array[String]([])
interruptable = false
[sub_resource type="Resource" id="Resource_lxc5d"]
script = ExtResource("3_ptq37")
prompt_switched_thief = SubResource("Resource_mg8vo")
prompt_switched_victim = SubResource("Resource_37clk")
player_must_be_alive = true
player_must_be_enemy = false
can_self_target = false
initial_prompt = SubResource("Resource_ge4m1")
message_success = "Your action succeeded."
message_failure = "Your action failed."
night_action_priority = 30
team_nightly_action = false
able_to_kill = false
[resource]
script = ExtResource("2_qmari")
global_enable = false
name = "Thief"
description = "During the night, you can [b]switch roles[/b] with a player. This will prevent them from using their night action, if they had one. You will [b]not switch teams[/b]."
flavour_text = ""
postit = ""
teams = Array[ExtResource("3_wf2tx")]([ExtResource("4_0jfif"), ExtResource("5_q1fu5")])
night_action = SubResource("Resource_lxc5d")
able_to_kill = false
special_investigation_results = {}
icon = ExtResource("1_1dke6")
max_count = 1
balance = 1.0
chaos = 2.0
pointless_without = []