Skip to content
Snippets Groups Projects
Commit 15caae88 authored by DarkGod's avatar DarkGod
Browse files

Artifact gems are wearable for the alchemist golem

parent 94d952f3
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ newEntity{
define_as = "BASE_GEM",
type = "gem", subtype="white",
display = "*", color=colors.YELLOW,
encumber = 0,
encumber = 0, slot = "GEM",
identified = true,
stacking = true,
auto_pickup = true, pickup_sound = "actions/gem",
......@@ -43,7 +43,7 @@ local colors_attacks = {
local function newGem(name, image, cost, rarity, color, min_level, max_level, tier, power, imbue, bomb)
-- Gems, randomly lootable
newEntity{ base = "BASE_GEM", define_as = "GEM_"..name:gsub(" ", "_"):upper(),
name = name:lower(), subtype = color, slot = "GEM",
name = name:lower(), subtype = color,
color = colors[color:upper()], image=image,
level_range = {min_level, max_level},
rarity = rarity, cost = cost * 10,
......
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