4
0
Fork 0
WolfBox/roles/jailer.tres

47 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://bw4w27dq7njkb"]
[ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="1_t6xmu"]
[ext_resource type="Script" path="res://scripts/prompt.gd" id="2_paegi"]
[ext_resource type="Script" path="res://scripts/werewolf/team.gd" id="3_o3wdo"]
[ext_resource type="Script" path="res://scripts/werewolf/night_actions/jailer_night_action.gd" id="3_rftxi"]
[ext_resource type="Script" path="res://scripts/werewolf/role.gd" id="5_qkxfc"]
[ext_resource type="Resource" uid="uid://i30w138q5a0m" path="res://teams/town.tres" id="6_77j8l"]
[ext_resource type="Resource" uid="uid://xsmxg7eedjkr" path="res://teams/werewolves.tres" id="6_ie6y5"]
[sub_resource type="Resource" id="Resource_1df4p"]
script = ExtResource("2_paegi")
text = "Choose a player to lock up:"
explaination = "Your target will be safe from all attempts to murder them tonight, but any night actions they take will fail."
type = 5
options = Array[String]([])
interruptable = false
[sub_resource type="Resource" id="Resource_hgb2k"]
script = ExtResource("3_rftxi")
player_must_be_alive = true
player_must_be_enemy = false
can_self_target = false
initial_prompt = SubResource("Resource_1df4p")
message_success = "You were able to imprison {target_name} without any trouble."
message_failure = "Your action failed, and {target_name} remained at large..."
night_action_priority = 40
team_nightly_action = false
able_to_kill = false
[resource]
script = ExtResource("5_qkxfc")
global_enable = true
name = "Jailer"
description = "During the night, you may [b]imprison[/b] a player for the night. An imprisoned player [b]cannot be killed[/b], but [b]cannot perform their night action[/b], if they have one."
flavour_text = ""
postit = ""
teams = Array[ExtResource("3_o3wdo")]([ExtResource("6_77j8l"), ExtResource("6_ie6y5")])
night_action = SubResource("Resource_hgb2k")
able_to_kill = false
special_investigation_results = {}
icon = ExtResource("1_t6xmu")
max_count = 1
balance = 1.8
chaos = 0.0
pointless_without = []