Skip to content
Snippets Groups Projects
Commit 6a29e35f authored by dg's avatar dg
Browse files

Added a new world artifact

Added a static background for the main menu when animations are disabled


git-svn-id: http://svn.net-core.org/repos/t-engine4@1532 51575b47-30f0-44d4-a5cc-537603b46e54
parent f370b401
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,10 @@ function _M:init()
engine.interface.GameSound.init(self)
engine.GameEnergyBased.init(self, engine.KeyBind.new(), 100, 100)
self.profile_font = core.display.newFont("/data/font/VeraIt.ttf", 14)
self.background = core.display.loadImage("/data/gfx/background/back.jpg")
if self.background then
self.background, self.background_w, self.background_h = self.background:glTexture()
end
self.tooltip = Tooltip.new(nil, 14, nil, colors.DARK_GREY, 400)
......@@ -248,6 +252,7 @@ function _M:display()
-- If background anim is stopped, thigns are much simplied
if self.stopped then
if self.background then self.background:toScreenFull(0, 0, self.w, self.h, self.background_w, self.background_h) end
self.tooltip:display()
self.tooltip:toScreen(5, 5)
engine.GameEnergyBased.display(self)
......
game/engines/default/modules/boot/data/gfx/background/back.jpg

956 KiB

......@@ -666,6 +666,26 @@ newEntity{ base = "BASE_GREATMAUL",
},
}
newEntity{ base = "BASE_GREATMAUL",
unique = true,
name = "Unstoppable Mauler", color = colors.UMBER,
unided_name = "heavy maul",
desc = [[A huge greatmaul of incredible weight. Wielding it you feel utterly unstoppable.]],
level_range = {23, 30},
rarity = 270,
require = { stat = { str=40 }, },
cost = 250,
material_level = 3,
combat = {
dam = 40,
apr = 15,
atk = 20,
physcrit = 3,
dammod = {str=1.2},
talent_on_hit = { [Talents.T_SUNDER_ARMOUR] = {level=3, chance=25} },
},
}
newEntity{ base = "BASE_CLOTH_ARMOR",
unique = true,
name = "Spider-Silk Robe of Torech Ungo", color = colors.DARK_GREEN,
......
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