From c22430aa9e028f06a90c1d2a656090692d4983c0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 06:41:44 +0000 Subject: [PATCH] update slate[no ci] --- docs/index.html | 10 ++++++++++ docs/light.html | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/index.html b/docs/index.html index 062d7cae8..292aa8fd7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -725,6 +725,9 @@
Create image from file, cropped to the geometry provided. Returns a tuple containing id, width and height. Depending on the image size, this can take a moment, preferably don't create them dynamically, rather create all you need in global scope so it will load them as soon as the game starts
+++Search script examples for destroy_grid
+
Destroy the grid entity (by uid or position), and its item entities, removing them from the grid without dropping particles or gold. +Will also destroy monsters or items that are standing on a linked activefloor or chain, though excludes MASK.PLAYER to prevent crashes
Search script examples for disable_floor_embeds
diff --git a/docs/light.html b/docs/light.html index 338439c15..6d4989f1b 100644 --- a/docs/light.html +++ b/docs/light.html @@ -725,6 +725,9 @@create_image_crop ++ destroy_grid + disable_floor_embeds @@ -4588,6 +4591,13 @@create_image_crop
tuple<IMAGE, int, int> create_image_crop(string path, int x, int y, int w, int h)
Create image from file, cropped to the geometry provided. Returns a tuple containing id, width and height. Depending on the image size, this can take a moment, preferably don't create them dynamically, rather create all you need in global scope so it will load them as soon as the game starts
+destroy_grid
+++Search script examples for destroy_grid
+nil destroy_grid(int uid)
nil destroy_grid(float x, float y, LAYER layer)
+Destroy the grid entity (by uid or position), and its item entities, removing them from the grid without dropping particles or gold. +Will also destroy monsters or items that are standing on a linked activefloor or chain, though excludes MASK.PLAYER to prevent crashes
disable_floor_embeds
Search script examples for disable_floor_embeds