mirror of
https://github.com/SmallJoker/upgrade_packs.git
synced 2024-12-30 17:47:33 +01:00
Correct vessels dependency, error for < 5.0.0-dev
This commit is contained in:
parent
8905e7a599
commit
f957841e0a
@ -8,5 +8,9 @@ This server mod provides upgradeable packs in form of items to players which giv
|
||||
|
||||
License: MIT
|
||||
|
||||
Dependencies: default, vessels
|
||||
|
||||
Optional dependencies: unified_inventory, sfinv
|
||||
|
||||
## Craft recipes
|
||||
1. Download and install a craft guide
|
||||
|
4
init.lua
4
init.lua
@ -1,3 +1,7 @@
|
||||
if not minetest.register_allow_player_inventory_action then
|
||||
error("[upgrade_packs] This mod requires at least Minetest 5.0.0-dev")
|
||||
end
|
||||
|
||||
upgrade_packs = {}
|
||||
upgrade_packs.health_items = {}
|
||||
upgrade_packs.breath_items = {}
|
||||
|
4
mod.conf
4
mod.conf
@ -1,4 +1,4 @@
|
||||
name = upgrade_packs
|
||||
description = Provides craftable packs to players to increase their health and breath
|
||||
depends = default
|
||||
optional_depends = unified_inventory, sfinv, vessels
|
||||
depends = default, vessels
|
||||
optional_depends = unified_inventory, sfinv
|
Loading…
Reference in New Issue
Block a user