[1.1.0] Cannot make lapis lazuli alchemist gems
Posted: Thu Dec 19, 2013 1:47 pm
As it says. My alchemist is stuck using aquamarines to restore his mana when necessary.
Everything about ToME
https://forums.te4.org/
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,