summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Server/Plugins/APIDump/APIDesc.lua')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua34
1 files changed, 26 insertions, 8 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index 3b37f2fdf..aeb217b7a 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -238,7 +238,7 @@ return
Type = "boolean",
},
},
- Notes = "Returns whether the specified block type will be destroyed after a single hit.",
+ Notes = "Returns true if the specified block type will be destroyed after a single hit.",
},
IsPistonBreakable =
{
@@ -256,9 +256,9 @@ return
Type = "boolean",
},
},
- Notes = "Returns whether a piston can break the specified block type.",
+ Notes = "Returns true if a piston can break the specified block type.",
},
- IsSnowable =
+ IsRainBlocker =
{
IsStatic = true,
Params =
@@ -274,9 +274,9 @@ return
Type = "boolean",
},
},
- Notes = "Returns whether the specified block type can hold snow atop.",
+ Notes = "Returns true if the specified block type blocks rain from passing through.",
},
- IsSolid =
+ IsSkylightDispersant =
{
IsStatic = true,
Params =
@@ -292,9 +292,9 @@ return
Type = "boolean",
},
},
- Notes = "Returns whether the specified block type is solid.",
+ Notes = "Returns true if skylight is impeded by passage through a block of the specified type.",
},
- IsSkylightDispersant =
+ IsSnowable =
{
IsStatic = true,
Params =
@@ -310,7 +310,25 @@ return
Type = "boolean",
},
},
- Notes = "Returns true if skylight is impeded by passage through a block of the specified type.",
+ Notes = "Returns whether the specified block type can hold snow atop.",
+ },
+ IsSolid =
+ {
+ IsStatic = true,
+ Params =
+ {
+ {
+ Name = "BlockType",
+ Type = "number",
+ },
+ },
+ Returns =
+ {
+ {
+ Type = "boolean",
+ },
+ },
+ Notes = "Returns whether the specified block type is solid.",
},
IsTransparent =
{