forked from Chemguy99/armor_addon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Lazerbeak12345/add_ediblestuff_api
Add ediblestuff_api as an optional dependancy.
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
if minetest.get_modpath("waffles") then | ||
-- A waffle block is 9 waffles, 8 stamina each. This is huge. | ||
-- Let's just do 20 for all waffle armor peices. | ||
ediblestuff.make_armor_edible_while_wearing("moarmour","waffle",20,true) | ||
end | ||
if minetest.get_modpath("farming") and farming.mod == "redo" then | ||
ediblestuff.make_armor_edible_while_wearing("moarmour","chocolate",2.5) | ||
end | ||
if minetest.get_modpath("candycane") then | ||
ediblestuff.make_armor_edible_while_wearing("moarmour","cane",3.5) | ||
end |
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,4 @@ | ||
name = moarmour | ||
description = Additional armors to build and wear | ||
depends = default,3d_armor | ||
optional_depends = nyancats_plus,waffles,farming,nanotech,even_mosword,candycane,moreores,bones,bonemeal,xpanes,tac_nayn,sky_tools,emeralds,gems,terumet | ||
optional_depends = nyancats_plus,waffles,farming,nanotech,even_mosword,candycane,moreores,bones,bonemeal,xpanes,tac_nayn,sky_tools,emeralds,gems,terumet,ediblestuff_api |