Skip to content
Snippets Groups Projects
Commit 0cf8d8cd authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@1906 51575b47-30f0-44d4-a5cc-537603b46e54
parent dc41ad6b
No related branches found
No related tags found
No related merge requests found
......@@ -70,21 +70,6 @@ newBirthDescriptor{
resolvers.equip{ id=true,
{type="lite", subtype="lite", name="brass lantern"},
},
resolvers.inventory{ id=true,
{type="scroll", name="healing infusion", ego_chance=-1000},
{type="scroll", name="wild infusion", ego_chance=-1000},
{type="scroll", name="movement infusion", ego_chance=-1000},
{type="scroll", name="sun infusion", ego_chance=-1000},
{type="scroll", name="strength infusion", ego_chance=-1000},
{type="scroll", name="will infusion", ego_chance=-1000},
{type="scroll", name="vision", ego_chance=-1000},
{type="scroll", name="speed rune", ego_chance=-1000},
{type="scroll", name="controlled phase door rune", ego_chance=-1000},
{type="scroll", name="phase door rune", ego_chance=-1000},
{type="scroll", name="teleportation rune", ego_chance=-1000},
{type="scroll", name="shielding rune", ego_chance=-1000},
{type="scroll", name="invisibility rune", ego_chance=-1000},
},
resolvers.inscription("INFUSION:_HEALING", {cooldown=10, heal=50}),
resolvers.inscription("INFUSION:_WILD", {cooldown=12, what={poison=true}, dur=4, power=20}),
},
......
......@@ -74,7 +74,7 @@ newEntity{
newEntity{
define_as = "POTION",
name = "alchemist store",
name = "infusion store",
display = '4', color=colors.LIGHT_BLUE,
store = {
purse = 10,
......@@ -84,14 +84,14 @@ newEntity{
min_fill = 40,
max_fill = 60,
filters = {
{type="potion", id=true},
{type="scroll", subtype="infusion", id=true},
},
},
}
newEntity{
define_as = "SCROLL",
name = "scribe store",
name = "rune store",
display = '5', color=colors.WHITE,
store = {
purse = 10,
......@@ -101,7 +101,7 @@ newEntity{
min_fill = 40,
max_fill = 60,
filters = {
{type="scroll", id=true},
{type="scroll", subtype="rune", id=true},
},
},
}
......
......@@ -206,7 +206,7 @@ newInscription{
end,
action = function(self, t)
local data = self:getInscriptionData(t.short_name)
local tg = {type="ball", nolock=true, no_restrict=true, nowarning=true, range=data.range + data.inc_stat, radius=3}
local tg = {type="ball", nolock=true, pass_terrain=true, nowarning=true, range=data.range + data.inc_stat, radius=3, requires_knowledge=false}
x, y = self:getTarget(tg)
if not x then return nil end
-- Target code doesnot restrict the target coordinates to the range, it lets the poject function do it
......
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