From aa4b56c0e47c0405db510f481b37358b91b4efbd Mon Sep 17 00:00:00 2001
From: Bunny <glisa825@gmail.com>
Date: Mon, 3 Aug 2020 18:52:38 -0400
Subject: [PATCH] new misc lore for renegade pyromancer vault

---
 game/modules/tome/data/lore/misc.lua            | 17 +++++++++++++++++
 .../data/maps/vaults/renegade-pyromancers.lua   | 16 ++++++++++++++--
 2 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/data/lore/misc.lua b/game/modules/tome/data/lore/misc.lua
index 8e6d90771c..2218de609c 100644
--- a/game/modules/tome/data/lore/misc.lua
+++ b/game/modules/tome/data/lore/misc.lua
@@ -640,6 +640,23 @@ Try to be a little faster next time.
 Love, #{italic}#Eden#{normal}#]]
 }
 
+newLore{
+	id = "renegade-pyromancers-vault",
+	category = "vault",
+	name = _t"How to Summon a Phoenix",
+	lore = _t[[#{bold}#How to Summon a Phoenix#{normal}#
+	  10 pouches faeros ash
+	  5 vials fire wyrm saliva
+	  3 red crystal shards
+	  3 pouches bone giant dust
+	  1 vial greater demon bile
+	  1 skeleton mage skull
+	  pinch of luminous horror dust
+
+	#{italic}#The bottom half of the scroll has been singed into a pile of char, dispersing into a cloud of ash as you grasp it#{normal}#
+	]]
+}
+
 newLore{
 	id = "nature-vs-magic",
 	category = "magic",
diff --git a/game/modules/tome/data/maps/vaults/renegade-pyromancers.lua b/game/modules/tome/data/maps/vaults/renegade-pyromancers.lua
index 83a3d021f2..0bed72fb7c 100644
--- a/game/modules/tome/data/maps/vaults/renegade-pyromancers.lua
+++ b/game/modules/tome/data/maps/vaults/renegade-pyromancers.lua
@@ -34,6 +34,17 @@ specialList("terrain", {
 setStatusAll{no_teleport=true}
 rotates = {"default", "90", "180", "270", "flipx", "flipy"}
 
+local lore = mod.class.Object.new{
+	type = "lore", subtype="lore",
+	unided_name = _t"scroll", identified=true,
+	display = "?", color=colors.ANTIQUE_WHITE, image="object/scroll.png",
+	encumber = 0,
+	name = _t"How to Summon a Phoenix", lore="renegade-pyromancers-vault",
+	desc = _t[[An old and singed scroll, the bottom half burnt off.]],
+	level_range = {1, 20},
+	rarity = false,
+}
+
 defineTile('.', "BURNT_GROUND")
 defineTile('T', "LAVA_WALL")
 defineTile('L', function() if rng.percent(50) then return "LAVA_FLOOR" else return "BURNT_GROUND" end end)
@@ -50,12 +61,13 @@ defineTile('F', "LAVA_FLOOR", {random_filter={add_levels=25, tome_mod="uvault"}}
 defineTile('f', "BURNT_GROUND", nil, {random_filter={add_levels=5, name = "greater faeros"}} )
 defineTile('M', "BURNT_GROUND", {random_filter={add_levels=12, tome_mod="uvault"}}, {random_filter={add_levels=7, name = "orc high pyromancer", random_boss={name_scheme=_t"#rng# the Invoker", nb_classes=0, loot_quality="store", loot_quantity=1, no_loot_randart=true, loot_unique=true, ai_move="move_complex", rank=3.5, force_classes={Archmage=true}}}})
 defineTile('m', "BURNT_GROUND", nil, {random_filter={add_levels=5, name = "orc pyromancer"}} )
+defineTile('l', "BURNT_GROUND", lore, {random_filter={add_levels=5, name = "orc pyromancer"}} )
 
 if rng.percent(7) then --rare phoenix-7% to show in here plus 35% this vault shows gives 2.5% chance per game for a phoenix from one of these
 return {
  [[###########]],
  [[#**Tf.fT**#]],
- [[#mm.LLL.mm#]],
+ [[#lm.LLL.mm#]],
  [[#MB.LPL.BM#]],
  [[#T..LLL..T#]],
  [[#TT.....TT#]],
@@ -66,7 +78,7 @@ else
 return {
  [[###########]],
  [[#**Tf.fT**#]],
- [[#mm.LLL.mm#]],
+ [[#mm.LLL.ml#]],
  [[#MB.LFL.BM#]],
  [[#T..LLL..T#]],
  [[#TT.....TT#]],
-- 
GitLab