mirror of
https://github.com/nolombic/more_up_packs.git
synced 2024-08-20 05:04:13 +02:00
Release 2
An updated version that makes the mtg_plus mod optional instead of mandatory.
This commit is contained in:
parent
e61a72f39a
commit
99b2216b8c
48
README.md
48
README.md
@ -74,13 +74,15 @@ Put diamonds into the four corners of the crafting grid. Put a +20HP upgrade pac
|
|||||||
|
|
||||||
### ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP
|
### ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP
|
||||||
|
|
||||||
|
#### IF [mtg_plus](https://content.minetest.net/packages/Wuzzy/mtg_plus/) is used
|
||||||
|
|
||||||
To craft a ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP upgrade pack, you'll need:
|
To craft a ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP upgrade pack, you'll need:
|
||||||
4 ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) diamond blocks
|
4 ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) diamond blocks
|
||||||
2 ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) mese blocks
|
2 ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) mese blocks
|
||||||
2 ![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png) obsidian bricks
|
2 ![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png) obsidian bricks
|
||||||
1 ![blue heart](https://creative.platerquack.net/development/more_up_packs/custom/blue_heart.png) +30HP upgrade pack
|
1 ![blue heart](https://creative.platerquack.net/development/more_up_packs/custom/blue_heart.png) +30HP upgrade pack
|
||||||
|
|
||||||
#### Arrange it like this:
|
##### Arrange it like this:
|
||||||
|
|
||||||
![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png)
|
![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png)
|
||||||
![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png) ![blue heart](https://creative.platerquack.net/development/more_up_packs/custom/blue_heart.png) ![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png)
|
![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png) ![blue heart](https://creative.platerquack.net/development/more_up_packs/custom/blue_heart.png) ![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png)
|
||||||
@ -90,15 +92,35 @@ Put diamond blocks into the four corners of the crafting grid. Put a +30HP upgra
|
|||||||
|
|
||||||
![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png)
|
![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png)
|
||||||
|
|
||||||
|
#### IF [mtg_plus](https://content.minetest.net/packages/Wuzzy/mtg_plus/) is NOT used
|
||||||
|
|
||||||
|
To craft a ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP upgrade pack, you'll need:
|
||||||
|
4 ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) diamond blocks
|
||||||
|
2 ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) mese blocks
|
||||||
|
2 ![obsidian block](https://creative.platerquack.net/development/more_up_packs/default/obsidian_block.png) obsidian blocks
|
||||||
|
1 ![blue heart](https://creative.platerquack.net/development/more_up_packs/custom/blue_heart.png) +30HP upgrade pack
|
||||||
|
|
||||||
|
##### Arrange it like this:
|
||||||
|
|
||||||
|
![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png)
|
||||||
|
![obsidian block](https://creative.platerquack.net/development/more_up_packs/default/obsidian_block_.png) ![blue heart](https://creative.platerquack.net/development/more_up_packs/custom/blue_heart.png) ![obsidian block](https://creative.platerquack.net/development/more_up_packs/default/obsidian_block_.png)
|
||||||
|
![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png)
|
||||||
|
|
||||||
|
Put diamond blocks into the four corners of the crafting grid. Put a +30HP upgrade pack into the middle spot. Fill in the rest of the horizontal axis with obsidian blocks and the rest of the vertical axis with mese blocks.
|
||||||
|
|
||||||
|
![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png)
|
||||||
|
|
||||||
### ![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png) +50HP
|
### ![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png) +50HP
|
||||||
|
|
||||||
|
#### IF [mtg_plus](https://content.minetest.net/packages/Wuzzy/mtg_plus/) is used
|
||||||
|
|
||||||
To craft a ![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png) +50HP upgrade pack, you'll need:
|
To craft a ![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png) +50HP upgrade pack, you'll need:
|
||||||
4 ![aggregated diamond block](https://creative.platerquack.net/development/more_up_packs/mtg_plus/harddiamondblock.png) aggregated diamond blocks (from [the mtg_plus mod by Wuzzy](https://content.minetest.net/packages/Wuzzy/mtg_plus/ "Link to the mtg:plus minetest ContentDB site"))
|
4 ![aggregated diamond block](https://creative.platerquack.net/development/more_up_packs/mtg_plus/harddiamondblock.png) aggregated diamond blocks (from [the mtg_plus mod by Wuzzy](https://content.minetest.net/packages/Wuzzy/mtg_plus/ "Link to the mtg:plus minetest ContentDB site"))
|
||||||
2 ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) mese blocks
|
2 ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) mese blocks
|
||||||
2 ![gold-framed obsidian brick](https://creative.platerquack.net/development/more_up_packs/mtg_plus/obsidianbrick_gold.png) gold-framed obsidian bricks (from [the mtg_plus mod by Wuzzy](https://content.minetest.net/packages/Wuzzy/mtg_plus/ "Link to the mtg:plus minetest ContentDB site"))
|
2 ![gold-framed obsidian brick](https://creative.platerquack.net/development/more_up_packs/mtg_plus/obsidianbrick_gold.png) gold-framed obsidian bricks (from [the mtg_plus mod by Wuzzy](https://content.minetest.net/packages/Wuzzy/mtg_plus/ "Link to the mtg:plus minetest ContentDB site"))
|
||||||
1 ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP upgrade pack
|
1 ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP upgrade pack
|
||||||
|
|
||||||
#### Arrange it like this:
|
##### Arrange it like this:
|
||||||
|
|
||||||
![aggregated diamond block](https://creative.platerquack.net/development/more_up_packs/mtg_plus/harddiamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![aggregated diamond block](https://creative.platerquack.net/development/more_up_packs/mtg_plus/harddiamondblock.png)
|
![aggregated diamond block](https://creative.platerquack.net/development/more_up_packs/mtg_plus/harddiamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![aggregated diamond block](https://creative.platerquack.net/development/more_up_packs/mtg_plus/harddiamondblock.png)
|
||||||
![gold-framed obsidian brick](https://creative.platerquack.net/development/more_up_packs/mtg_plus/obsidianbrick_gold.png) ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) ![gold-framed obsidian brick](https://creative.platerquack.net/development/more_up_packs/mtg_plus/obsidianbrick_gold.png)
|
![gold-framed obsidian brick](https://creative.platerquack.net/development/more_up_packs/mtg_plus/obsidianbrick_gold.png) ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) ![gold-framed obsidian brick](https://creative.platerquack.net/development/more_up_packs/mtg_plus/obsidianbrick_gold.png)
|
||||||
@ -108,6 +130,24 @@ Put aggregated diamond blocks into the four corners of the crafting grid. Put a
|
|||||||
|
|
||||||
![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png)
|
![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png)
|
||||||
|
|
||||||
|
#### IF [mtg_plus](https://content.minetest.net/packages/Wuzzy/mtg_plus/) is NOT used
|
||||||
|
|
||||||
|
To craft a ![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png) +50HP upgrade pack, you'll need:
|
||||||
|
4 ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) diamond blocks
|
||||||
|
2 ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) mese blocks
|
||||||
|
2 ![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png) obsidian bricks
|
||||||
|
1 ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) +40HP upgrade pack
|
||||||
|
|
||||||
|
##### Arrange it like this:
|
||||||
|
|
||||||
|
![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png)
|
||||||
|
![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png) ![violet heart](https://creative.platerquack.net/development/more_up_packs/custom/violet_heart.png) ![obsidian brick](https://creative.platerquack.net/development/more_up_packs/default/obsidianbrick.png)
|
||||||
|
![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png) ![mese block](https://creative.platerquack.net/development/more_up_packs/default/mese_block.png) ![diamond block](https://creative.platerquack.net/development/more_up_packs/default/diamondblock.png)
|
||||||
|
|
||||||
|
Put mese blocks into the top left and top right as well as the lower center of the crafting grid. Do the same with diamond blocks, but mirrored; lower left and right and upper center. Place a +40HP upgrade pack into the center. Fill in the rest with obsidian bricks.
|
||||||
|
|
||||||
|
![golden heart](https://creative.platerquack.net/development/more_up_packs/custom/golden_heart.png)
|
||||||
|
|
||||||
### ![blue bubble](https://creative.platerquack.net/development/more_up_packs/default/bubble.png) +5 Breath (from [the original upgrade_packs mod by Krock](https://content.minetest.net/packages/Krock/upgrade_packs/ "Link to the upgrade_packs minetest ContentDB site"))
|
### ![blue bubble](https://creative.platerquack.net/development/more_up_packs/default/bubble.png) +5 Breath (from [the original upgrade_packs mod by Krock](https://content.minetest.net/packages/Krock/upgrade_packs/ "Link to the upgrade_packs minetest ContentDB site"))
|
||||||
|
|
||||||
To craft a ![blue bubble](https://creative.platerquack.net/development/more_up_packs/default/bubble.png) +5 Breath upgrade pack, you'll need:
|
To craft a ![blue bubble](https://creative.platerquack.net/development/more_up_packs/default/bubble.png) +5 Breath upgrade pack, you'll need:
|
||||||
@ -149,8 +189,8 @@ Installation of a mod must not be hard. Simply head into your minetest 5.0+ game
|
|||||||
### [upgrade_packs](https://content.minetest.net/packages/Krock/upgrade_packs/)
|
### [upgrade_packs](https://content.minetest.net/packages/Krock/upgrade_packs/)
|
||||||
the base that brings the core functionality. Must-have for this mod.
|
the base that brings the core functionality. Must-have for this mod.
|
||||||
### [mtg_plus](https://content.minetest.net/packages/Wuzzy/mtg_plus/)
|
### [mtg_plus](https://content.minetest.net/packages/Wuzzy/mtg_plus/)
|
||||||
used for the +50HP upgrade pack. Will be optional in the future. Currently a must-have for this mod.
|
optionally used for the +50HP upgrade pack to make it harder to craft.
|
||||||
### more_up_packs
|
### [more_up_packs](https://content.minetest.net/packages/nolombic/more_up_packs/)
|
||||||
this mod.
|
this mod.
|
||||||
|
|
||||||
### Make sure the mods are enabled on your world! Otherwise they won't do anything but sit around unused.
|
### Make sure the mods are enabled on your world! Otherwise they won't do anything but sit around unused.
|
||||||
|
78
init.lua
78
init.lua
@ -1,4 +1,4 @@
|
|||||||
local imgpath = minetest and minetest.get_modpath("more_up_packs") or "."
|
--[[more_up_packs by nolombic]]--
|
||||||
|
|
||||||
upgrade_packs.register_pack("more_up_packs:hp_20", "health", {
|
upgrade_packs.register_pack("more_up_packs:hp_20", "health", {
|
||||||
description = "+20 HP",
|
description = "+20 HP",
|
||||||
@ -38,43 +38,87 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
upgrade_packs.register_pack("more_up_packs:hp_40", "health", {
|
if minetest.get_modpath("mtg_plus") then
|
||||||
|
|
||||||
|
upgrade_packs.register_pack("more_up_packs:hp_40", "health", {
|
||||||
description = "+40 HP",
|
description = "+40 HP",
|
||||||
strength = 40,
|
strength = 40,
|
||||||
image = "violet_heart.png"
|
image = "violet_heart.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
local mb = "default:mese"
|
local mb = "default:mese"
|
||||||
local db = "default:diamondblock"
|
local db = "default:diamondblock"
|
||||||
local oc = "default:obsidianbrick"
|
local oc = "default:obsidianbrick"
|
||||||
local h3 = "more_up_packs:hp_30"
|
local h3 = "more_up_packs:hp_30"
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "more_up_packs:hp_40",
|
output = "more_up_packs:hp_40",
|
||||||
recipe = {
|
recipe = {
|
||||||
{db, mb, db},
|
{db, mb, db},
|
||||||
{oc, h3, oc},
|
{oc, h3, oc},
|
||||||
{db, mb, db}
|
{db, mb, db}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
upgrade_packs.register_pack("more_up_packs:hp_50", "health", {
|
upgrade_packs.register_pack("more_up_packs:hp_50", "health", {
|
||||||
description = "+50 HP",
|
description = "+50 HP",
|
||||||
strength = 50,
|
strength = 50,
|
||||||
image = "golden_heart.png"
|
image = "golden_heart.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
local mb = "default:mese"
|
local mb = "default:mese"
|
||||||
local hd = "mtg_plus:harddiamondblock"
|
local hd = "mtg_plus:harddiamondblock"
|
||||||
local h4 = "more_up_packs:hp_40"
|
local h4 = "more_up_packs:hp_40"
|
||||||
local br = "mtg_plus:obsidianbrick_gold"
|
local br = "mtg_plus:obsidianbrick_gold"
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "more_up_packs:hp_50",
|
output = "more_up_packs:hp_50",
|
||||||
recipe = {
|
recipe = {
|
||||||
{hd, mb, hd},
|
{hd, mb, hd},
|
||||||
{br, h4, br},
|
{br, h4, br},
|
||||||
{hd, mb, hd}
|
{hd, mb, hd}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
upgrade_packs.register_pack("more_up_packs:hp_40", "health", {
|
||||||
|
description = "+40 HP",
|
||||||
|
strength = 40,
|
||||||
|
image = "violet_heart.png"
|
||||||
|
})
|
||||||
|
|
||||||
|
local mb = "default:mese"
|
||||||
|
local db = "default:diamondblock"
|
||||||
|
local oc = "default:obsidian_block"
|
||||||
|
local h3 = "more_up_packs:hp_30"
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "more_up_packs:hp_40",
|
||||||
|
recipe = {
|
||||||
|
{db, mb, db},
|
||||||
|
{oc, h3, oc},
|
||||||
|
{db, mb, db}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
upgrade_packs.register_pack("more_up_packs:hp_50", "health", {
|
||||||
|
description = "+50 HP",
|
||||||
|
strength = 50,
|
||||||
|
image = "golden_heart.png"
|
||||||
|
})
|
||||||
|
|
||||||
|
local mb = "default:mese"
|
||||||
|
local db = "default:diamondblock"
|
||||||
|
local h4 = "more_up_packs:hp_40"
|
||||||
|
local br = "default:obsidianbrick"
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "more_up_packs:hp_50",
|
||||||
|
recipe = {
|
||||||
|
{mb, db, mb},
|
||||||
|
{br, h4, br},
|
||||||
|
{db, mb, db}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
upgrade_packs.register_pack("more_up_packs:breath_10", "breath", {
|
upgrade_packs.register_pack("more_up_packs:breath_10", "breath", {
|
||||||
description = "+10 Breath",
|
description = "+10 Breath",
|
||||||
|
5
mod.conf
5
mod.conf
@ -1,6 +1,7 @@
|
|||||||
name = more_up_packs
|
name = more_up_packs
|
||||||
description = This mod lets you upgrade your upgrade packs, allowing you to have even higher stats.
|
description = This mod lets you upgrade your upgrade packs, allowing you to have even higher stats.
|
||||||
depends = upgrade_packs, mtg_plus, default
|
depends = upgrade_packs, default
|
||||||
release = 1
|
optional_depends = mtg_plus
|
||||||
|
release = 2
|
||||||
author = nolombic
|
author = nolombic
|
||||||
title = More Upgrade Packs
|
title = More Upgrade Packs
|
Loading…
Reference in New Issue
Block a user