2014-04-15 22:52:24 +02:00
|
|
|
-- Armor Configuration (defaults)
|
2014-04-13 21:17:11 +02:00
|
|
|
|
2015-02-19 19:53:31 +01:00
|
|
|
-- You can remove any unwanted armor materials from this table.
|
|
|
|
-- Note that existing armor that is removed will show up as an unknown item.
|
|
|
|
ARMOR_MATERIALS = {
|
|
|
|
wood = "default:wood",
|
|
|
|
cactus = "default:cactus",
|
|
|
|
steel = "default:steel_ingot",
|
|
|
|
bronze = "default:bronze_ingot",
|
|
|
|
diamond = "default:diamond",
|
|
|
|
gold = "default:gold_ingot",
|
|
|
|
mithril = "moreores:mithril_ingot",
|
|
|
|
}
|
|
|
|
|
2014-04-13 21:17:11 +02:00
|
|
|
-- Increase this if you get initialization glitches when a player first joins.
|
|
|
|
ARMOR_INIT_DELAY = 1
|
|
|
|
|
|
|
|
-- Number of initialization attempts.
|
|
|
|
-- Use in conjunction with ARMOR_INIT_DELAY if initialization problems persist.
|
|
|
|
ARMOR_INIT_TIMES = 1
|
|
|
|
|
|
|
|
-- Increase this if armor is not getting into bones due to server lag.
|
|
|
|
ARMOR_BONES_DELAY = 1
|
|
|
|
|
|
|
|
-- How often player armor/wield items are updated.
|
|
|
|
ARMOR_UPDATE_TIME = 1
|
|
|
|
|
|
|
|
-- Drop armor when a player dies.
|
|
|
|
-- Uses bones mod if present, otherwise items are dropped around the player.
|
|
|
|
ARMOR_DROP = true
|
|
|
|
|
|
|
|
-- Pulverise armor when a player dies, overrides ARMOR_DROP.
|
|
|
|
ARMOR_DESTROY = false
|
|
|
|
|
2014-04-13 21:26:14 +02:00
|
|
|
-- You can use this to increase or decrease overall armor effectiveness,
|
2014-04-15 22:52:24 +02:00
|
|
|
-- eg: ARMOR_LEVEL_MULTIPLIER = 0.5 will reduce armor level by half.
|
2014-04-13 21:17:11 +02:00
|
|
|
ARMOR_LEVEL_MULTIPLIER = 1
|
|
|
|
|
2014-04-13 21:26:14 +02:00
|
|
|
-- You can use this to increase or decrease overall armor healing,
|
2014-04-13 21:17:11 +02:00
|
|
|
-- eg: ARMOR_HEAL_MULTIPLIER = 0 will disable healing altogether.
|
|
|
|
ARMOR_HEAL_MULTIPLIER = 1
|
|
|
|
|
2014-04-15 22:52:24 +02:00
|
|
|
-- You can also use this file to execute arbitary lua code
|
|
|
|
-- eg: Dumb the armor down if using Simple Mobs
|
|
|
|
if minetest.get_modpath("mobs") then
|
|
|
|
ARMOR_LEVEL_MULTIPLIER = 0.5
|
|
|
|
ARMOR_HEAL_MULTIPLIER = 0
|
|
|
|
end
|
|
|
|
|