forked from Nekojimi/JackIt
48 lines
2.0 KiB
Plaintext
48 lines
2.0 KiB
Plaintext
|
[gd_resource type="Resource" script_class="Role" load_steps=10 format=3 uid="uid://x122id01d7ej"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://o6w4s6p2a4jl" path="res://icon.svg" id="1_6d0j4"]
|
||
|
[ext_resource type="Script" path="res://scripts/prompt.gd" id="2_0fsgt"]
|
||
|
[ext_resource type="Script" path="res://scripts/werewolf/role.gd" id="2_5g6ju"]
|
||
|
[ext_resource type="Script" path="res://scripts/werewolf/night_actions/bodyguard_night_action.gd" id="2_cs8sh"]
|
||
|
[ext_resource type="Script" path="res://scripts/werewolf/team.gd" id="3_orayt"]
|
||
|
[ext_resource type="Resource" uid="uid://i30w138q5a0m" path="res://teams/town.tres" id="4_lq8ae"]
|
||
|
[ext_resource type="Resource" uid="uid://xsmxg7eedjkr" path="res://teams/werewolves.tres" id="5_kbs6k"]
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_2557p"]
|
||
|
script = ExtResource("2_0fsgt")
|
||
|
text = "Choose a player to defend:"
|
||
|
explaination = "If they are attacked, they will be saved, and you will die!"
|
||
|
type = 5
|
||
|
options = Array[String]([])
|
||
|
interruptable = false
|
||
|
|
||
|
[sub_resource type="Resource" id="Resource_onkwd"]
|
||
|
script = ExtResource("2_cs8sh")
|
||
|
infinite_protection = true
|
||
|
player_must_be_alive = true
|
||
|
player_must_be_enemy = false
|
||
|
can_self_target = false
|
||
|
initial_prompt = SubResource("Resource_2557p")
|
||
|
message_success = "You successfully defended {target_name} during the night. (this does not imply {target_they} was attacked.)"
|
||
|
message_failure = "Your action failed, and {target} was left undefended..."
|
||
|
night_action_priority = 60
|
||
|
team_nightly_action = false
|
||
|
able_to_kill = false
|
||
|
|
||
|
[resource]
|
||
|
script = ExtResource("2_5g6ju")
|
||
|
global_enable = true
|
||
|
name = "Bodyguard"
|
||
|
description = "During the night, you may [b]protect[/b] a player. If they are attacked during the night, they will be [b]saved[/b], but [b]you will die in their stead[/b]."
|
||
|
flavour_text = ""
|
||
|
postit = ""
|
||
|
teams = Array[ExtResource("3_orayt")]([ExtResource("4_lq8ae"), ExtResource("5_kbs6k")])
|
||
|
night_action = SubResource("Resource_onkwd")
|
||
|
able_to_kill = false
|
||
|
special_investigation_results = {}
|
||
|
icon = ExtResource("1_6d0j4")
|
||
|
max_count = 1
|
||
|
balance = 1.0
|
||
|
chaos = 0.0
|
||
|
pointless_without = []
|