From cb640ffea4a51a10db2e379ada8dc0487378ba09 Mon Sep 17 00:00:00 2001 From: bibo38 Date: Wed, 12 Oct 2016 14:38:45 +0200 Subject: Spectators added (#2852) --- Server/Plugins/APIDump/APIDesc.lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'Server/Plugins/APIDump') diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 15f621711..1ab38dd8d 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -2220,6 +2220,24 @@ return }, Notes = "Returns whether the specified block is transparent.", }, + IsUseableBySpectator = + { + IsStatic = true, + Params = + { + { + Name = "BlockType", + Type = "number", + }, + }, + Returns = + { + { + Type = "boolean", + }, + }, + Notes = "Returns whether a spectator can interact with the specified block.", + }, RequiresSpecialTool = { IsStatic = true, @@ -10949,6 +10967,16 @@ a_Player:OpenWindow(Window); }, Notes = "Returns if the player is able to fly.", }, + CanMobsTarget = + { + Returns = + { + { + Type = "boolean", + }, + }, + Notes = "Returns if the player can be targeted by mobs.", + }, CloseWindow = { Params = -- cgit v1.2.3