Fix unknown items in treasure

This commit is contained in:
2022-07-10 12:32:26 +02:00
parent 34408000c0
commit 30580a2155
3 changed files with 35 additions and 16 deletions

21
nalc_throwing/init.lua Normal file
View 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.")