Rename mod: bags → hades_bags
This commit is contained in:
parent
02bbfae317
commit
42bd12e476
@ -156,7 +156,7 @@ from their original.
|
|||||||
`hades_furniture` (based on `3dforniture`)
|
`hades_furniture` (based on `3dforniture`)
|
||||||
<https://forum.minetest.net/viewtopic.php?id=2207>
|
<https://forum.minetest.net/viewtopic.php?id=2207>
|
||||||
|
|
||||||
`bags`
|
`hades_bags` (based on `bags`)
|
||||||
<https://forum.minetest.net/viewtopic.php?id=3081>
|
<https://forum.minetest.net/viewtopic.php?id=3081>
|
||||||
|
|
||||||
`hades_bedrock` (based on `bedrock`)
|
`hades_bedrock` (based on `bedrock`)
|
||||||
@ -208,9 +208,9 @@ This game is free software. It has been licensed under these licenses:
|
|||||||
|
|
||||||
Some mods have separate licenses:
|
Some mods have separate licenses:
|
||||||
|
|
||||||
* `doors`: LGPLv3 for code, CC BY-SA 3.0 for media
|
* `hades_doors`: LGPLv3 for code, CC BY-SA 3.0 for media
|
||||||
* `hades_furniture`: GPLv2
|
* `hades_furniture`: GPLv2
|
||||||
* `bags`: New BSD License
|
* `hades_bags`: New BSD License
|
||||||
* `hades_bedrock`: zlib license
|
* `hades_bedrock`: zlib license
|
||||||
* `signs_lib`: LGPLv3
|
* `signs_lib`: LGPLv3
|
||||||
* `hades_bushes`: MIT License for code, CC BY-SA 4.0 for media
|
* `hades_bushes`: MIT License for code, CC BY-SA 4.0 for media
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
# Bags for Minetest
|
|
||||||
|
|
||||||
Allows players to craft and attach bags to their inventory to increase player item storage capacity.
|
|
||||||
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
- Bags are available in inventory.
|
|
||||||
- Multiple sized bags.
|
|
||||||
- Bags store items permanently with the player.
|
|
||||||
|
|
||||||
|
|
||||||
## Resources
|
|
||||||
|
|
||||||
- **[Documentation](http://cornernote.github.io/minetest-bags)**
|
|
||||||
- **[GitHub Project](https://github.com/cornernote/minetest-bags)**
|
|
||||||
- **[Minetest Forum](http://minetest.net/forum/viewtopic.php?id=3081)**
|
|
||||||
|
|
||||||
|
|
||||||
## Support
|
|
||||||
|
|
||||||
- Does this README need improvement? Go ahead and [suggest a change](https://github.com/cornernote/minetest-bags/edit/master/README.md).
|
|
||||||
- Found a bug, or need help using this project? Check the [open issues](https://github.com/cornernote/minetest-bags/issues) or [create an issue](https://github.com/cornernote/minetest-bags/issues/new).
|
|
||||||
|
|
||||||
|
|
||||||
## About
|
|
||||||
|
|
||||||
This module is open source, so it's distributed freely. If you find it useful then I ask not for your wealth, but simply to spare your time to consider the world we share by watching [Earthlings](http://earthlings.com/), a multi-award winning film available to watch online for free. A must-see for anyone who wishes to make the world a better place.
|
|
||||||
|
|
||||||
|
|
||||||
## Credits
|
|
||||||
|
|
||||||
- Tonyka - created the amazing bag textures
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
[BSD-3-Clause](https://raw.github.com/cornernote/minetest-bags/master/LICENSE), Copyright © 2013-2014 [Brett O'Donnell](http://cornernote.github.io/)
|
|
26
mods/hades_bags/README.md
Normal file
26
mods/hades_bags/README.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Bags for Hades Revisited
|
||||||
|
|
||||||
|
Allows players to craft and attach bags to their inventory to increase player item storage capacity. Based on the `bags` mod, tweaked for Hades Revisited.
|
||||||
|
|
||||||
|
Original Source Code: https://github.com/cornernote/minetest-bags
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Bags are available in inventory.
|
||||||
|
- Multiple sized bags.
|
||||||
|
- Bags store items permanently with the player.
|
||||||
|
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
This mod is free software, and is distributed freely. If you find it useful then I ask not for your wealth, but simply to spare your time to consider the world we share by watching [Earthlings](http://earthlings.com/), a multi-award winning film available to watch online for free. A must-see for anyone who wishes to make the world a better place.
|
||||||
|
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
|
||||||
|
- Tonyka - created the amazing bag textures
|
||||||
|
- cornernote: creator of the original mod
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[BSD-3-Clause](https://raw.github.com/cornernote/minetest-bags/master/LICENSE), Copyright © 2013-2014 [Brett O'Donnell](http://cornernote.github.io/)
|
@ -1,14 +1,13 @@
|
|||||||
--[[
|
--[[
|
||||||
|
|
||||||
Bags for Minetest
|
Bags for Hades Revisited
|
||||||
|
|
||||||
Copyright (c) 2012 cornernote, Brett O'Donnell <cornernote@gmail.com>
|
Copyright (c) 2012 cornernote, Brett O'Donnell <cornernote@gmail.com>
|
||||||
Source Code: https://github.com/cornernote/minetest-particles
|
Original Source Code: https://github.com/cornernote/minetest-bags
|
||||||
License: GPLv3
|
|
||||||
|
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
local S = minetest.get_translator("bags")
|
local S = minetest.get_translator("hades_bags")
|
||||||
local F = minetest.formspec_escape
|
local F = minetest.formspec_escape
|
||||||
|
|
||||||
local BAGS_COUNT = 4
|
local BAGS_COUNT = 4
|
||||||
@ -41,7 +40,7 @@ local get_formspec = function(player, page)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
sfinv.register_page("bags:bags", {
|
sfinv.register_page("hades_bags:bags", {
|
||||||
title = S("Bags"),
|
title = S("Bags"),
|
||||||
is_in_nav = function(self, player, context)
|
is_in_nav = function(self, player, context)
|
||||||
return true
|
return true
|
||||||
@ -118,21 +117,21 @@ minetest.register_on_leaveplayer(function(player)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- register bags
|
-- register bags
|
||||||
minetest.register_craftitem("bags:small", {
|
minetest.register_craftitem("hades_bags:small", {
|
||||||
description = S("Small Bag"),
|
description = S("Small Bag"),
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
_tt_help = S("+8 inventory slots"),
|
_tt_help = S("+8 inventory slots"),
|
||||||
inventory_image = "bags_small.png",
|
inventory_image = "bags_small.png",
|
||||||
groups = {bagslots=8, disable_repair=1},
|
groups = {bagslots=8, disable_repair=1},
|
||||||
})
|
})
|
||||||
minetest.register_craftitem("bags:medium", {
|
minetest.register_craftitem("hades_bags:medium", {
|
||||||
description = S("Medium Bag"),
|
description = S("Medium Bag"),
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
_tt_help = S("+16 inventory slots"),
|
_tt_help = S("+16 inventory slots"),
|
||||||
inventory_image = "bags_medium.png",
|
inventory_image = "bags_medium.png",
|
||||||
groups = {bagslots=16, disable_repair=1},
|
groups = {bagslots=16, disable_repair=1},
|
||||||
})
|
})
|
||||||
minetest.register_craftitem("bags:large", {
|
minetest.register_craftitem("hades_bags:large", {
|
||||||
description = S("Large Bag"),
|
description = S("Large Bag"),
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
_tt_help = S("+24 inventory slots"),
|
_tt_help = S("+24 inventory slots"),
|
||||||
@ -142,7 +141,7 @@ minetest.register_craftitem("bags:large", {
|
|||||||
|
|
||||||
-- register bag crafts
|
-- register bag crafts
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "bags:small",
|
output = "hades_bags:small",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "hades_farming:string", ""},
|
{"", "hades_farming:string", ""},
|
||||||
{"group:cloth", "group:cloth", "group:cloth"},
|
{"group:cloth", "group:cloth", "group:cloth"},
|
||||||
@ -150,21 +149,26 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "bags:medium",
|
output = "hades_bags:medium",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "group:stick", ""},
|
{"", "group:stick", ""},
|
||||||
{"bags:small", "hades_farming:string", "bags:small"},
|
{"hades_bags:small", "hades_farming:string", "hades_bags:small"},
|
||||||
{"bags:small", "hades_farming:string", "bags:small"},
|
{"hades_bags:small", "hades_farming:string", "hades_bags:small"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "bags:large",
|
output = "hades_bags:large",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "group:stick", ""},
|
{"", "group:stick", ""},
|
||||||
{"bags:medium", "hades_farming:string", "bags:medium"},
|
{"hades_bags:medium", "hades_farming:string", "hades_bags:medium"},
|
||||||
{"bags:medium", "hades_farming:string", "bags:medium"},
|
{"hades_bags:medium", "hades_farming:string", "hades_bags:medium"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Legacy aliases
|
||||||
|
minetest.register_alias("bags:small", "hades_bags:small")
|
||||||
|
minetest.register_alias("bags:medium", "hades_bags:medium")
|
||||||
|
minetest.register_alias("bags:large", "hades_bags:large")
|
||||||
|
|
||||||
-- log that we started
|
-- log that we started
|
||||||
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded from "..minetest.get_modpath(minetest.get_current_modname()))
|
minetest.log("action", "[MOD]"..minetest.get_current_modname().." -- loaded from "..minetest.get_modpath(minetest.get_current_modname()))
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: bags
|
# textdomain: hades_bags
|
||||||
Bag 1=Tasche 1
|
Bag 1=Tasche 1
|
||||||
Bag 2=Tasche 2
|
Bag 2=Tasche 2
|
||||||
Bag 3=Tasche 3
|
Bag 3=Tasche 3
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: bags
|
# textdomain: hades_bags
|
||||||
Bag 1=
|
Bag 1=
|
||||||
Bag 2=
|
Bag 2=
|
||||||
Bag 3=
|
Bag 3=
|
@ -1,2 +1,2 @@
|
|||||||
name = bags
|
name = hades_bags
|
||||||
depends = sfinv, hades_gui
|
depends = sfinv, hades_gui
|
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 405 B |
Loading…
x
Reference in New Issue
Block a user