Skip to content
Snippets Groups Projects
Commit 698d407f authored by dg's avatar dg
Browse files

New NPC in angolwen that provides a bit of lore and new lore in angolwen's library

git-svn-id: http://svn.net-core.org/repos/t-engine4@3359 51575b47-30f0-44d4-a5cc-537603b46e54
parent 12d50c62
No related branches found
No related tags found
No related merge requests found
-- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009, 2010, 2011 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
newChat{ id="welcome",
text = [[I say, you there. Yes, you, young one!
You seem like the adventuring fare, up to all sorts of doo-daddle in the outside world, I imagine. Well, don't forget to pay patronage to our good library here in the city. The riches of the world are all well and good, but where would we be without the gift of knowledge? And all proceeds go towards the funding of further research. No greater cause, yes?]],
answers = {
{"Uh, yes, of course... I'll be moving on now."},
{"Hold on! You... You're that apprentice mage I met in the wilds!", cond=function(npc, player) return player:isQuestStatus("mage-apprentice", engine.Quest.DONE) and player:getCun() >= 35 end, jump="apprentice"},
}
}
newChat{ id="apprentice",
text = [[Why, well-spotted, whippersnapper! Indeed, when the mood takes me I sometimes travel under the guise of an apprentice. It permits me to traverse the land unnoticed in my research, and if I meet any I deem worthy and sympathetic to Angolwen's cause, then so much the better. And it does provide the odd chortle, I tell you!]],
answers = {
{"Uh, yes, of course... I'll be moving on now."},
}
}
return "welcome"
......@@ -241,6 +241,7 @@ newEntity{
},
fixed = {
{id=true, defined="LINANIIL_LECTURE"},
{id=true, defined="TARELION_LECTURE_MAGIC"},
},
},
}
......
......@@ -42,3 +42,26 @@ Aye, and humility is what I teach to ye now. Know ye well that there are forces
Our mission is to help the world. Our penance is to act in secret. Old wounds remain and new threats do arise, but all must be dealt with from behind our cloak of silence. The mistrust of our ilk still lies deep in people's minds, and there are even those who hate us with a violent passion. But the world is changing, and perhaps one day we shall be accepted again in society. Until then remember well this lesson of humility, and in the open world keep ye secret, and keep ye safe.]],
}
newLore{
id = "angolwen-tarelion-magic",
category = "angolwen",
name = "Lecture on the nature of magic by Archmage Tarelion",
lore = [[#{bold}#"What is Magic?"
#{italic}#A study by Archmage Tazimar Tarelion#{normal}#
How uncouth and common a question it must seem, and yet it is the one I am asked most often, even by some of our most learned students. Too often we teach The Art by practise and imitation and concentration on the end effects, without teaching in greater detail of the underlying principles. Just as a musician may merrily play on his harp without knowing how the sound arises from the vibration of the strings, so a mage may make use of magic without realising the true forces at work. In this document I hope to give learning on the nature of magic, and how the underlying effects give rise to all the wondrous fruits we can produce.
Alchemists will tell you that the world is made up of many base materials - lead, copper, iron, gold and so on. They are fixated on splitting things down into these components and investigating how they react with each other. However there is more to the world than this. Certainly they represent the physical make-up of things, but they do not show the forces and energy that bring everything into motion. The forces of fire, cold, lightning and life itself are all very real effects, and these we call the Elements of Eyal. The true archmage is interested in the interactions of the elemental forces of the world, and manipulating them to his or her need.
The elemental forces exist naturally in the world, and are weaved around all things in an all-encompassing canvas. They move, vibrate and resonate with the materials of the world, and the effects of each play heavily on one another. All creatures naturally make use of these elements, and some are more attuned to these threads than others. With great training and practise we can become more attuned to these wild forces ourselves, and in so doing some can match the speed of wolves, the strength of bears, the tenacity of treants and even the immense natural powers of dragons.
But there is another way of gaining access to these elemental forces - a more direct way, though some would call it unnatural. Long ago people discovered with much training how to concentrate their wills to pluck the elemental threads directly. This can release great energies, and these can be shaped to produce real effects in the world. Plumes of fire, bolts of lightning and blasts of ice can all be called forth by those suitably trained. The true masters of magic can go much further, combining many resonant forces to create complex physical effects.
The tapping of threads can be a draining task, requiring much effort of will to sustain. This is what we versed in the arcane call "mana", that mental stamina dedicated to the interaction with the elements of the world. Continual use of magic is like the constant lifting and holding of heavy weights, and eventually one will find one's capacity drained. Practise allows one to build up greater pools of mana, and certain runes and spells can gradually build extra reserves to be called upon as needed.
Magical runes and items are imbued with an attachment to certain elemental threads. This requires delicate work by experienced and gifted enchanters. The most intricate of magical artifacts demand many years of work, using intense mental effort to permanently attune the core materials to the right elemental energies. Gemstones are especially easy to work with in this craft, and alchemists use them often to bring about elemental effects.
Some believe that magic is inherently wrong, that the so-called twisting of the elements with one's will can only lead to terrible things. As students of Angolwen I assume you disagree! Magic is simply an extension of the forces of nature, and are we not natural creatures that use it? But remember that magic is still a powerful force that can be used for good or ill. Magic is indeed a tool of immense value - use it wisely.
]],
}
......@@ -33,6 +33,7 @@ defineTile('5', "HARDWALL", nil, nil, "LIBRARY")
defineTile('6', "HARDWALL", nil, nil, "STAVES")
defineTile('@', "GRASS", nil, "SUPREME_ARCHMAGE_LINANIIL")
defineTile('T', "GRASS", nil, "TARELION")
startx = 24
starty = 46
......@@ -47,7 +48,7 @@ return [[
^^^^^^^^^^^^^^^^.#2#..#4#5#..#6#.^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^.._...._._...._..^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^.._____________..^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^....t.._..t....^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^....t.._..tT...^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^...._....^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^.t_t.^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^._.^^^^^^^^^^^^^^^^^^^^^^^^
......
......@@ -83,6 +83,63 @@ newEntity{ define_as = "SUPREME_ARCHMAGE_LINANIIL",
can_talk = "angolwen-leader",
}
newEntity{ define_as = "TARELION",
type = "humanoid", subtype = "shalore",
display = "p",
faction = "angolwen",
name = "Archmage Tarelion", color=colors.CRIMSON, unique = true,
desc = [[A tall shalore elf, in a flowing robe.]],
level_range = {30, nil}, exp_worth = 2,
rank = 4,
size_category = 3,
female = true,
mana_regen = 120,
max_mana = 2000,
max_life = 350, life_rating = 24, fixed_rating = true,
infravision = 10,
stats = { str=10, dex=15, cun=42, mag=26, con=14 },
instakill_immune = 1,
teleport_immune = 1,
move_others=true,
combat_spellpower = 30,
anger_emote = "Remove @himher@!",
open_door = true,
autolevel = "caster",
ai = "tactical", ai_state = { talent_in=1, ai_move="move_astar", },
ai_tactic = resolvers.tactic"ranged",
resolvers.inscriptions(3, "rune"),
resolvers.inscriptions(1, {"manasurge rune"}),
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
resolvers.drops{chance=100, nb=5, {tome_drops="boss"} },
resolvers.equip{
{type="weapon", subtype="staff", autoreq=true, tome_drops="store"},
{type="armor", subtype="cloth", autoreq=true, tome_drops="store"},
},
resolvers.talents{
[Talents.T_CRYSTALLINE_FOCUS]=5,
[Talents.T_STRIKE]=5,
[Talents.T_EARTHEN_MISSILES]=5,
[Talents.T_EARTHQUAKE]=5,
[Talents.T_BODY_OF_STONE]=5,
[Talents.T_MANATHRUST]=5,
[Talents.T_ARCANE_POWER]=5,
[Talents.T_DISRUPTION_SHIELD]=5,
[Talents.T_ESSENCE_OF_SPEED]=5,
[Talents.T_PHASE_DOOR]=5,
[Talents.T_TELEPORT]=5,
[Talents.T_KEEN_SENSES]=5,
[Talents.T_PREMONITION]=5,
},
resolvers.sustains_at_birth(),
can_talk = "tarelion",
}
newEntity{
define_as = "BASE_NPC_ANGOLWEN_TOWN",
type = "humanoid", subtype = resolvers.rngtable{"human","shalore","halfling"},
......
......@@ -25,7 +25,15 @@ newEntity{ base = "BASE_LORE",
name = "Lecture on Humility by Archmage Linaniil", lore="angolwen-linaniil-lecture",
desc = [[Lecture on Humility by Archmage Linaniil. A tale of the first ages and the Spellblaze.]],
rarity = false,
encumberance = 0,
cost = 2,
}
newEntity{ base = "BASE_LORE",
define_as = "TARELION_LECTURE_MAGIC",
subtype = "magic teaching", unique=true, no_unique_lore=true, not_in_stores=false,
name = "'What is Magic' by Archmage Teralion", lore="angolwen-tarelion-magic",
desc = [[Lecture on the nature of magic by Archmage Tarelion.]],
rarity = false,
cost = 2,
}
......@@ -70,6 +70,11 @@
<property name="display" value="6"/>
</properties>
</tile>
<tile id="6">
<properties>
<property name="display" value="T"/>
</properties>
</tile>
</tileset>
<tileset firstgid="217" name="dg_dungeon32" tilewidth="32" tileheight="32">
<image source="gfx/dg_dungeon32.gif" width="288" height="320"/>
......@@ -81,7 +86,7 @@
</tileset>
<layer name="Terrain" width="50" height="50">
<data encoding="base64" compression="zlib">
eJztmMsNwyAMhnPOEh0jM3Qh5uk1A/S5SbdpD1iyLAeBCbZBHH6lgQb85Y95hWVZwtSUU60CWcfMxX8RyBMP5oDfGym7kHL6f2sG4Pj+9YjXFZW94vXN1H1QmTXDkR+0LFXnkaPn/MAsND+O8sbrmJVi4r4p6xhLebbIAT5Yx1TDAn5YxzI5Joc34Ty3jgXeKx4zc8dQb35MDl8cIcaTuh+Zw1ue9+oH128JR2qdqMnA9ZnLQRnoXkODJXWmUcoB8V8ZltYMO8Mh2eNhBhBXnyMJx7OyLfwMxL8xLLltSjlG8MNjfkg5KEuqTY3xqoYjHPRlMX/UcuS02WI+577rs89atDhuCVlxlK4TW3No7T9G5dgH4Tjbjxr+ETi85bmmH63nDw0Or5ocvuTx3EfqBV63W8ck8QE47oijR19G8AOzWI77PeoHvmDfOg==
eJztmMsNwyAMhnPOEhmDGboQ8/SaAfqepNu0ByxZloPABGwQh19poAF/+WNeflkWPzVlVKtA2jFz8W8CWeLBHPDbkbKNlNP/azMAx/eve7iuqOwZri+m7o3KtBmO/KBlsTqLHD3nB2ah+XGUN1bHrBgT/aY+BmLM5XGBA3zQjqmEBfzQjmVyTA5rwnmuHQu8Vzzep47/1vyYHLY4fIgndj8yh7U879UPrt8cjtg6sSUD12cqB2Wge40WLLEzjVwOiP/CsNRm2BkOyR4PM4C4+hRJOB6FbeFnIH7HsKS2KeUYwQ+L+SHloCyxNluMVyUc/qAvjfmjlCOlzRrzOfddn31O1IrjGpEWR+46sTZHq/3HqBz7IBxn+1HCPwKHtTxv6Uft+aMFh1VNDluyeO4j9QKv27VjkvgAHDfE0aMvI/iBWTTH/R71Aw163+s=
</data>
</layer>
</map>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment