Skip to content
Snippets Groups Projects
Commit 310a2b23 authored by dg's avatar dg
Browse files

Fixed material level on some artifact gems

git-svn-id: http://svn.net-core.org/repos/t-engine4@2636 51575b47-30f0-44d4-a5cc-537603b46e54
parent 2e24661a
No related branches found
No related tags found
No related merge requests found
......@@ -593,6 +593,7 @@ newEntity{ define_as = "RUNED_SKULL",
rarity = 390,
cost = 150,
encumber = 3,
material_level = 5,
desc = [[Dull red runes are etched all over this blackened skull.]],
carrier = {
......
......@@ -121,7 +121,7 @@ function getGemLevel(self)
if self:getInven("PSIONIC_FOCUS") then
local tk_item = self:getInven("PSIONIC_FOCUS")[1]
if tk_item and (tk_item.type == "gem") then
gem_level = tk_item.material_level or 0
gem_level = tk_item.material_level or 5
end
end
return gem_level
......
......@@ -22,6 +22,7 @@ load("/data/general/objects/objects-far-east.lua")
newEntity{ base = "BASE_GEM",
define_as = "RESONATING_DIAMOND", no_unique_lore=true,
name = "Resonating Diamond", color=colors.VIOLET, quest=true, unique=true, identified=true,
material_level = 5,
on_pickup = function(self, who)
if who == game.player then
......
......@@ -31,6 +31,7 @@ newEntity{ base = "BASE_SCROLL", define_as = "NOTE_FROM_LAST_HOPE",
newEntity{ base = "BASE_GEM",
define_as = "RESONATING_DIAMOND_WEST",
name = "Resonating Diamond", color=colors.VIOLET, quest=true, unique="Resonating Diamond West", identified=true, no_unique_lore=true,
material_level = 5,
on_drop = function(self, who)
if who == game.player then
......
......@@ -24,6 +24,7 @@ local Stats = require "engine.interface.ActorStats"
newEntity{ base = "BASE_GEM",
define_as = "RESONATING_DIAMOND_WEST2",
name = "Resonating Diamond", color=colors.VIOLET, quest=true, unique="Resonating Diamond West2", identified=true, no_unique_lore=true,
material_level = 5,
on_drop = function(self, who)
if who == game.player then
......
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