140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
power = metal.power;
speed = metal.speed;
artificial = metal.artificial;
cooktime = metal.cooktime;
hardness = (metal.hardness/8) * 3; -- scaled wrt diamond
level = math.ceil(((metal.hardness/8) * 3)) + 1;
ingot_image = (metal.image and metal.image.ingot) or nil;
ore_image = 'default_stone.png^sorcery_' .. name .. '_ore.png';
lump_image = (metal.image and metal.image.lump) or nil;
armor_weight = metal.armor_weight;
armor_protection = metal.armor_protection;
}
end
local ti = (metal.image and metal.image.tool)
|
|
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
power = metal.power;
speed = metal.speed;
artificial = metal.artificial;
cooktime = metal.cooktime;
hardness = (metal.hardness/8) * 3; -- scaled wrt diamond
level = math.ceil(((metal.hardness/8) * 3)) + 1;
ingot_image = (metal.image and metal.image.ingot) or nil;
block_image = (metal.image and metal.image.block) or nil;
ore_image = 'default_stone.png^sorcery_' .. name .. '_ore.png';
lump_image = (metal.image and metal.image.lump) or nil;
armor_weight = metal.armor_weight;
armor_protection = metal.armor_protection;
}
end
local ti = (metal.image and metal.image.tool)
|