1
0

Corrected brewingstand and added support for fuel

This commit is contained in:
Lukas Pioch
2017-05-05 11:58:21 +02:00
parent dffbf0b510
commit 41bfb22834
10 changed files with 208 additions and 103 deletions

View File

@@ -441,6 +441,26 @@ return
},
Notes = "Returns the item in the right bottle slot",
},
GetFuelSlot =
{
Returns =
{
{
Type = "cItem",
},
},
Notes = "Returns the item in the top left fuel slot",
},
GetRemainingFuel =
{
Returns =
{
{
Type = "number",
},
},
Notes = "Returns the remaining fuel that is left. It's the amount of brewing operations that can be done (20 for one blaze powder).",
},
GetTimeBrewed =
{
Returns =
@@ -495,6 +515,17 @@ return
},
Notes = "Sets the item in the right bottle slot",
},
SetFuelSlot =
{
Params =
{
{
Name = "FuelSlot",
Type = "cItem",
},
},
Notes = "Sets the item in the top left fuel slot",
},
},
Constants =
{
@@ -514,6 +545,10 @@ return
{
Notes = "Index of the right bottle slot",
},
bsFuel =
{
Notes = "Index of the top left fuel slot",
},
ContentsHeight =
{
Notes = "Height (Y) of the {{cItemGrid|cItemGrid}} representing the contents",