Allows Wizards to choose the type of guardian spirit they want from the tarot deck, and updates tarot deck description in the spellbook accordingly

This commit is contained in:
Arkatos1
2019-03-15 16:06:03 +01:00
parent ecc7c9f512
commit b52a36f703
2 changed files with 5 additions and 4 deletions
@@ -182,7 +182,7 @@
if(adminseal || override)//if it's an admin-spawned guardian without a host it can still talk normally
return ..(message)
Communicate(message)
/mob/living/simple_animal/hostile/guardian/proc/ToggleMode()
to_chat(src, "<span class='danger'>You dont have another mode!</span>")
@@ -261,7 +261,7 @@
var/failure_message = "..And draw a card! It's...blank? Maybe you should try again later."
var/ling_failure = "The deck refuses to respond to a souless creature such as you."
var/list/possible_guardians = list("Chaos", "Standard", "Ranged", "Support", "Explosive", "Assassin", "Lightning", "Charger", "Protector")
var/random = TRUE
var/random = FALSE
var/color_list = list("Pink" = "#FFC0CB",
"Red" = "#FF0000",
"Orange" = "#FFA500",
@@ -358,7 +358,7 @@
G.icon_state = "[theme][color]"
G.icon_dead = "[theme][color]"
to_chat(user, "[G.magic_fluff_string].")
/obj/item/guardiancreator/choose
random = FALSE
+2 -1
View File
@@ -411,7 +411,8 @@
/datum/spellbook_entry/item/tarotdeck
name = "Tarot Deck"
desc = "A deck of tarot cards that can be used to summon a spirit companion for the wizard."
desc = "A deck of guardian tarot cards, capable of binding a personal guardian to your body. There are multiple types of guardian available, but all of them will transfer some amount of damage to you. \
It would be wise to avoid buying these with anything capable of causing you to swap bodies with others."
item_path = /obj/item/guardiancreator
log_name = "TD"
limit = 1