Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add aliases for items from other old projectile mods
- Loading branch information
1 parent
73c5510
commit 4309b82
Showing
4 changed files
with
28 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
y_bows.dofile("compat", "bows") | ||
y_bows.dofile("compat", "cucina_vegana") | ||
y_bows.dofile("compat", "farming_redo") | ||
y_bows.dofile("compat", "mesecons") | ||
y_bows.dofile("compat", "projectile") | ||
y_bows.dofile("compat", "x_bows") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
if not y_bows.settings.alias_projectile then | ||
return | ||
end | ||
|
||
minetest.register_alias("projectile:bow", "y_bows:bow_wood") | ||
minetest.register_alias("projectile:steel_bow", "y_bows:bow_steel") | ||
|
||
minetest.register_alias("projectile:arrow", "y_bows:arrow_steel") | ||
minetest.register_alias("projectile:arrow_high_velocity", "y_bows:arrow_diamond") | ||
minetest.register_alias("projectile:arrow_fire", "y_bows:arrow_fire") | ||
|
||
minetest.register_alias("projectile:slingshot", "y_bows:slingshot_wood") | ||
minetest.register_alias("projectile:steel_slingshot", "y_bows:slingshot_steel") | ||
minetest.register_alias("projectile:rock", "y_bows:ball_rock") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters