-
Notifications
You must be signed in to change notification settings - Fork 12
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 #27 from louisroyer/rewrite
[No squash] Bugfixes
- Loading branch information
Showing
38 changed files
with
738 additions
and
639 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
std = "lua51+minetest" | ||
unused_args = false | ||
allow_defined_top = true | ||
max_line_length = 999 | ||
|
||
stds.minetest = { | ||
read_globals = { | ||
"minetest", | ||
"VoxelManip", | ||
"VoxelArea", | ||
"PseudoRandom", | ||
"ItemStack", | ||
"default", | ||
table = { | ||
fields = { | ||
"copy", | ||
}, | ||
}, | ||
} | ||
} | ||
|
||
read_globals = { | ||
"pipeworks", | ||
} | ||
|
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,47 +1,80 @@ | ||
more_chests | ||
=========== | ||
# more_chests | ||
Originally a fork of 0gb.us's chests_0gb_us (https://forum.minetest.net/viewtopic.php?f=11&t=4366). | ||
Megaf's more_chests fixes several bugs, uses new textures and adds compatibility with [VanessaE's Pipeworks] (https://github.com/VanessaE/pipeworks) mod. | ||
nxet's rework introduces a new backend which allows for easier extension of the available models, including two new models showcasing the feature. | ||
|
||
More Chests | ||
|
||
This mod is a fork of 0gb.us's chests_0gb_us https://forum.minetest.net/viewtopic.php?f=11&t=4366 | ||
### Available models | ||
> NOTE: descriptions of the original models come from 0gb.us initial effort | ||
Megaf's more_chests fixes several bugs, uses new textures and adds compatibility with [VanessaE's Pipeworks] (https://github.com/VanessaE/pipeworks) mod. | ||
#### Cobble Chest | ||
This locked chest looks like cobblestone, and has no info text. Great for hiding things in. However, unlike real cobblestone, this chest is breakable by hand. If you suspect there is one hiding, hold the left mouse button and run your hand along the walls. When cracks appear, you've found the chest. | ||
1 | 2 | 3 | ||
---|---|--- | ||
default:wood | default:cobble | default:wood | ||
default:cobble | default:steel_ingot | default:cobble | ||
default:wood | default:cobble | default:wood | ||
|
||
The following text was writen by 0gb.us | ||
``` | ||
Cobble Chest: | ||
{'default:wood','default:cobble','default:wood'}, | ||
{'default:cobble','default:steel_ingot','default:cobble'}, | ||
{'default:wood','default:cobble','default:wood'} | ||
This locked chest looks like cobblestone, and has no info text. Great for hiding things in. However, unlike real cobblestone, this chest is breakable by hand. If you suspect there is one hiding, Hold the left mouse button, ant run your hand along the walls. When cracks appear, you've found the chest. | ||
Drop Box: | ||
{'default:wood','','default:wood'}, | ||
{'default:wood','default:steel_ingot','default:wood'}, | ||
{'default:wood','default:wood','default:wood'} | ||
|
||
#### Drop Box | ||
Anyone can put things in, but only the chest's placer can remove items. | ||
1 | 2 | 3 | ||
---|---|--- | ||
default:wood | _empty_ | default:wood | ||
default:wood | default:steel_ingot | default:wood | ||
default:wood | default:wood | default:wood | ||
|
||
Secret Chest: | ||
{'default:wood','default:cobble','default:wood'}, | ||
{'default:wood','default:steel_ingot','default:wood'}, | ||
{'default:wood','default:wood','default:wood'} | ||
|
||
As long as you remember to click “close” before you leave the chest, no one can see what the chest contains. Only the chest's owner can click “open” and “close” on the chest's formspec, revealing and hiding the chest's contents. | ||
#### Secret Chest | ||
As long as you remember to click "close" before you leave the chest, no one can see what the chest contains. Only the chest's owner can click "open" and "close" on the chest's formspec, revealing and hiding the chest's contents. | ||
1 | 2 | 3 | ||
---|---|--- | ||
default:wood | default:cobble | default:wood | ||
default:wood | default:steel_ingot | default:wood | ||
default:wood | default:wood | default:wood | ||
|
||
Shared Chest: | ||
{'default:wood','default:leaves','default:wood'}, | ||
{'default:wood','default:steel_ingot','default:wood'}, | ||
{'default:wood','default:wood','default:wood'} | ||
|
||
#### Shared Chest | ||
Exactly what it sounds like. The chest's placer can add people to the chest's shared list using the chest's formspec. Warning: anyone you add may empty the chest. When the chest is empty, it can be mined by anyone, just like a regular locked chest. | ||
1 | 2 | 3 | ||
---|---|--- | ||
default:wood | default:leaves | default:wood | ||
default:wood | default:steel_ingot | default:wood | ||
default:wood | default:wood | default:wood | ||
|
||
Wifi Chest | ||
{'default:wood','default:mese','default:wood'}, | ||
{'default:wood','default:steel_ingot','default:wood'}, | ||
{'default:wood','default:wood','default:wood'} | ||
|
||
#### Wifi Chest | ||
A wacky chest that doesn't store it's items in the usual way, but instead, stores them remotely. For that reason, all wifi chests appear to have the same inventory. Due to not actually having an inventory, wifi chests can also be mined, even when they appear to have stuff in them. Lastly, as everyone gets their own wifi account, the items you see in the wifi chest are not the same items anyone else sees. This chest's properties make it nice for keeping secrets, as well as essentially almost doubling your inventory space, if you choose to carry one with you. | ||
``` | ||
1 | 2 | 3 | ||
---|---|--- | ||
default:wood | default:mese | default:wood | ||
default:wood | default:steel_ingot | default:wood | ||
default:wood | default:wood | default:wood | ||
|
||
|
||
#### Fridge | ||
A new model which comes in two forms, 1- and 2-block tall, which indeed have different sizes inventories. No fancy functionality here, I just wanted to know at a glance which one is the chest I'm storing food into. | ||
|
||
###### Fridge Recipe | ||
1 | 2 | 3 | ||
---|---|--- | ||
_empty_ | default:steel_ingot | _empty_ | ||
default:steel_ingot | default:ice | default:steel_ingot | ||
_empty_ | default:steel_ingot | _empty_ | ||
|
||
###### Big Fridge Recipe | ||
1 | 2 | 3 | ||
---|---|--- | ||
default:steel_ingot | default:steel_ingot | default:steel_ingot | ||
default:steel_ingot | default:ice | default:steel_ingot | ||
default:steel_ingot | default:steel_ingot | default:steel_ingot | ||
|
||
|
||
#### Toolbox | ||
This model has no particular functionality to offer other than giving your tools' chest a new look. As a bonus you can also craft the chest with different types of wood, which will give you different results. For the fanciest garage workshop you ever built on Minetest. | ||
1 | 2 | 3 | ||
---|---|--- | ||
default:wood | default:wood | default:wood | ||
default:wood | default:pickaxe | default:wood | ||
default:wood | default:wood | default:wood | ||
> Note: crafting also accepts Aspen, Acacia, Junglewood, Pine and Steel instead of wood |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 +1,11 @@ | ||
dofile(minetest.get_modpath("more_chests").."/cobble.lua") | ||
dofile(minetest.get_modpath("more_chests").."/dropbox.lua") | ||
dofile(minetest.get_modpath("more_chests").."/secret.lua") | ||
dofile(minetest.get_modpath("more_chests").."/shared.lua") | ||
dofile(minetest.get_modpath("more_chests").."/wifi.lua") | ||
dofile(minetest.get_modpath("more_chests").."/aliases.lua") | ||
dofile(minetest.get_modpath("more_chests").."/models/cobble.lua") | ||
dofile(minetest.get_modpath("more_chests").."/models/dropbox.lua") | ||
dofile(minetest.get_modpath("more_chests").."/models/fridge.lua") | ||
dofile(minetest.get_modpath("more_chests").."/models/secret.lua") | ||
dofile(minetest.get_modpath("more_chests").."/models/shared.lua") | ||
dofile(minetest.get_modpath("more_chests").."/models/toolbox.lua") | ||
dofile(minetest.get_modpath("more_chests").."/models/wifi.lua") | ||
|
||
dofile(minetest.get_modpath("more_chests").."/utils/aliases.lua") | ||
|
||
print ("[MOD] more_chests loaded") |
Oops, something went wrong.