[b43] Load tip missing image

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

[b43] Load tip missing image

#1 Post by tiger_eye »

The load tip "Regeneration infusions act over several turns, letting you anticipate damage that will be taken and prepare for it." doesn't correctly show the image of an infusion. Just gotta add "png" to the specified image:

Code: Select all

diff --git a/game/modules/tome/init.lua b/game/modules/tome/init.lua
index 5ad2869..b27d20e 100644
--- a/game/modules/tome/init.lua
+++ b/game/modules/tome/init.lua
@@ -84,7 +84,7 @@ load_tips = {
        {image="/data/gfx/shockbolt/object/rune_red.png", text=[[Shield runes act instantly, letting one protect oneself quickly whilst also preparing to flee or launch a counter attack.]]},
        {image="/data/gfx/shockbolt/object/plate_voratun.png", text=[[Greater training in the use of armour lets it be used more effectively, blocking more damage and reducing the chance of an enemy hitting a critical spot.]]},
        {image="/data/gfx/talents/thick_skin.png", text=[[The Thick Skin talent reducing all incoming damage, letting you survive for longer before needing to heal.]]},
-       {image="/data/gfx/shockbolt/object/rune_green", text=[[Regeneration infusions act over several turns, letting you anticipate damage that will be taken and prepare for it.]]},
+       {image="/data/gfx/shockbolt/object/rune_green.png", text=[[Regeneration infusions act over several turns, letting you anticipate damage that will be taken and prepare for it.]]},
        {image="/data/gfx/shockbolt/object/wand_elm.png", text=[[In the most dire circumstances teleportation can be the best escape, but is not without risk.]]},
        {image="/data/gfx/shockbolt/npc/humanoid_halfling_protector_myssil.png", text=[[The Ziguranth are an ancient order vehemently opposed to magic. Some have become so attuned to nature they can resist arcane forces with their will alone.]]},
        {image="/data/gfx/shockbolt/npc/giant_ice_snow_giant.png", img_y_off=-20, text=[[Records say that giants once lived civilised lives, with mastery of many crafts and sciences. Now though they have adopted nomadic cultures, turning hostile against those that encroach on their lands.]]},
See what I get for loading the game over and over and over again while testing? :wink:
darkgod wrote:OMFG tiger eye you are my hero!

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [b43] Load tip missing image

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply