Page 1 of 1

[1.1.0] Cannot make lapis lazuli alchemist gems

Posted: Thu Dec 19, 2013 1:47 pm
by feanor70115
As it says. My alchemist is stuck using aquamarines to restore his mana when necessary.

Re: [1.1.0] Cannot make lapis lazuli alchemist gems

Posted: Thu Dec 19, 2013 6:17 pm
by Hachem_Muche
This is happening for fire opals as well. The game defined name for alchemists gems is not being generated properly. Fix:

Code: Select all

 game/modules/tome/data/general/objects/gem.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/data/general/objects/gem.lua b/game/modules/tome/data/general/objects/gem.lua
index 10367ca..a927a0c 100644
--- a/game/modules/tome/data/general/objects/gem.lua
+++ b/game/modules/tome/data/general/objects/gem.lua
@@ -53,7 +53,7 @@ local function newGem(name, image, cost, rarity, color, min_level, max_level, ti
 		attack_type = colors_attacks[color],
 	}
 	-- Alchemist gems, not lootable, only created by talents
-	newEntity{ base = "BASE_GEM", define_as = "ALCHEMIST_GEM_"..name:upper(),
+	newEntity{ base = "BASE_GEM", define_as = "ALCHEMIST_GEM_"..name:gsub(" ", "_"):upper(),
 		name = "alchemist "..name:lower(), type='alchemist-gem', subtype = color,
 		slot = "QUIVER",
 		color = colors[color:upper()], image=image,

Re: [1.1.0] Cannot make lapis lazuli alchemist gems

Posted: Sat Dec 21, 2013 2:20 am
by darkgod
fixed