Fix unknown items in treasure
This commit is contained in:
parent
34408000c0
commit
30580a2155
21
nalc_throwing/init.lua
Normal file
21
nalc_throwing/init.lua
Normal file
@ -0,0 +1,21 @@
|
||||
-- Add aliases needeed for the migration to the Paly's throwing mod.
|
||||
--
|
||||
|
||||
-- Bows
|
||||
minetest.register_alias("throwing:arbalest", "throwing:bow_wood")
|
||||
minetest.register_alias("throwing:crossbow", "throwing:bow_stone")
|
||||
minetest.register_alias("throwing:longbow", "throwing:bow_steel")
|
||||
minetest.register_alias("throwing:bow_composite", "throwing:bow_bronze")
|
||||
minetest.register_alias("throwing:arbalest_auto", "throwing:bow_mese")
|
||||
minetest.register_alias("throwing:bow_royal", "throwing:bow_diamond")
|
||||
|
||||
-- Arrows
|
||||
minetest.register_alias("throwing:arrow_torch", "throwing:arrow_fire")
|
||||
minetest.register_alias("throwing:arrow_stone", "throwing:arrow")
|
||||
minetest.register_alias("throwing:arrow_shell", "throwing:arrow")
|
||||
minetest.register_alias("throwing:arrow_steel", "throwing:arrow_gold")
|
||||
minetest.register_alias("throwing:arrow_fireworks_red", "throwing:arrow_fire")
|
||||
minetest.register_alias("throwing:arrow_fireworks_blue", "throwing:arrow_fire")
|
||||
minetest.register_alias("throwing:arrow_obsidian", "throwing:arrow_diamond")
|
||||
|
||||
minetest.log("action", "[nalc_throwing] loaded.")
|
3
nalc_throwing/mod.conf
Normal file
3
nalc_throwing/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = nalc_throwing
|
||||
title = NALC Throwing
|
||||
description = Throwing customization for NALC
|
@ -12,28 +12,23 @@ treasurer.register_treasure("moreores:sword_mithril", 0.0034, 6, nil, {min_wear,
|
||||
treasurer.register_treasure("nalc:sword_gold", 0.0066, 3, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("nalc:sword_nyan", 0.0034, 4, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("mobs:dungeon_master_sword", 0.0001, 10, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:bow_royal", 0.0051, 7, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:bow_steel", 0.0121, 5, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:arbalest_auto", 0.0092, 5, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:crossbow", 0.0134, 4, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:bow_wood", 0.0260, 4, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:bow_composite", 0.0123, 4, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:arbalest", 0.0164, 4, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:longbow", 0.0124, 3, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:bow_wood", 0.0260, 4, nil, {min_wear, max_wear}, "armes") -- bow wood
|
||||
treasurer.register_treasure("throwing:bow_stone", 0.0134, 4, nil, {min_wear, max_wear}, "armes") -- bow stone
|
||||
treasurer.register_treasure("throwing:bow_steel", 0.0124, 3, nil, {min_wear, max_wear}, "armes") -- bow steel
|
||||
treasurer.register_treasure("throwing:bow_bronze", 0.0123, 4, nil, {min_wear, max_wear}, "armes") -- bow bronze
|
||||
treasurer.register_treasure("throwing:bow_gold", 0.0121, 5, nil, {min_wear, max_wear}, "armes") -- bow gold
|
||||
treasurer.register_treasure("throwing:bow_mese", 0.0092, 5, nil, {min_wear, max_wear}, "armes") -- bow mese
|
||||
treasurer.register_treasure("throwing:bow_diamond", 0.0051, 7, nil, {min_wear, max_wear}, "armes") -- bow diamond
|
||||
treasurer.register_treasure("spears:spear_stone", 0.1556, 2, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("spears:spear_steel", 0.0574, 2, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("spears:spear_obsidian", 0.0069, 2, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("spears:spear_diamond", 0.0065, 2, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("spears:spear_copper", 0.0306, 2, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("spears:spear_bronze", 0.0306, 2, nil, {min_wear, max_wear}, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_torch", 0.0034, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_stone", 0.1556, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_steel", 0.0574, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_shell", 0.0114, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_obsidian", 0.0069, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_fireworks_red", 0.0114, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_fireworks_blue", 0.0114, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_diamond", 0.0065, 2, {1, 12}, nil, "armes")
|
||||
treasurer.register_treasure("throwing:arrow_fire", 0.0034, 2, {1, 12}, nil, "armes") -- arrow_fire
|
||||
treasurer.register_treasure("throwing:arrow", 0.1556, 2, {1, 12}, nil, "armes") -- arrow
|
||||
treasurer.register_treasure("throwing:arrow_gold", 0.0574, 2, {1, 12}, nil, "armes") -- arrow_gold
|
||||
treasurer.register_treasure("throwing:arrow_diamond", 0.0065, 2, {1, 12}, nil, "armes") -- arrow diamond
|
||||
|
||||
-- Groupe "nether"
|
||||
treasurer.register_treasure("nether:sword_netherrack", 0.7118, 0.59, nil, {min_wear, max_wear}, "nether")
|
||||
|
Loading…
Reference in New Issue
Block a user