(
+ "ENT_TYPE_ITEM_WOODEN_ARROW",
+ "ENT_TYPE_ITEM_ROCK",
+ "ENT_TYPE_ITEM_METAL_ARROW",
+ "ENT_TYPE_ITEM_LIGHT_ARROW",
+ "ENT_TYPE_ITEM_PRESENT",
+ "ENT_TYPE_ITEM_GHIST_PRESENT",
+ "ENT_TYPE_ITEM_POT",
+ "ENT_TYPE_ITEM_SKULL",
+ "ENT_TYPE_ITEM_PICKUP_TORNJOURNALPAGE",
+ "ENT_TYPE_ITEM_PICKUP_JOURNAL",
+ "ENT_TYPE_ITEM_PICKUP_ROPE",
+ "ENT_TYPE_ITEM_PICKUP_ROPEPILE",
+ "ENT_TYPE_ITEM_PICKUP_BOMBBAG",
+ "ENT_TYPE_ITEM_PICKUP_BOMBBOX",
+ "ENT_TYPE_ITEM_PICKUP_ROYALJELLY",
+ "ENT_TYPE_ITEM_PICKUP_COOKEDTURKEY",
+ "ENT_TYPE_ITEM_PICKUP_GIANTFOOD",
+ "ENT_TYPE_ITEM_PICKUP_ELIXIR",
+ "ENT_TYPE_ITEM_PICKUP_CLOVER",
+ "ENT_TYPE_ITEM_PICKUP_SEEDEDRUNSUNLOCKER",
+ "ENT_TYPE_ITEM_PICKUP_SPECTACLES",
+ "ENT_TYPE_ITEM_PICKUP_CLIMBINGGLOVES",
+ "ENT_TYPE_ITEM_PICKUP_PITCHERSMITT",
+ "ENT_TYPE_ITEM_PICKUP_SPRINGSHOES",
+ "ENT_TYPE_ITEM_PICKUP_SPIKESHOES",
+ "ENT_TYPE_ITEM_PICKUP_PASTE",
+ "ENT_TYPE_ITEM_PICKUP_COMPASS",
+ "ENT_TYPE_ITEM_PICKUP_SPECIALCOMPASS",
+ "ENT_TYPE_ITEM_PICKUP_PARACHUTE",
+ "ENT_TYPE_ITEM_PICKUP_UDJATEYE",
+ "ENT_TYPE_ITEM_PICKUP_KAPALA",
+ "ENT_TYPE_ITEM_PICKUP_HEDJET",
+ "ENT_TYPE_ITEM_PICKUP_CROWN",
+ "ENT_TYPE_ITEM_PICKUP_EGGPLANTCROWN",
+ "ENT_TYPE_ITEM_PICKUP_TRUECROWN",
+ "ENT_TYPE_ITEM_PICKUP_ANKH",
+ "ENT_TYPE_ITEM_PICKUP_TABLETOFDESTINY",
+ "ENT_TYPE_ITEM_PICKUP_SKELETON_KEY",
+ "ENT_TYPE_ITEM_PURCHASABLE_CAPE",
+ "ENT_TYPE_ITEM_PURCHASABLE_JETPACK",
+ "ENT_TYPE_ITEM_PURCHASABLE_TELEPORTER_BACKPACK",
+ "ENT_TYPE_ITEM_PURCHASABLE_HOVERPACK",
+ "ENT_TYPE_ITEM_PURCHASABLE_POWERPACK",
+ "ENT_TYPE_ITEM_WEBGUN",
+ "ENT_TYPE_ITEM_SHOTGUN",
+ "ENT_TYPE_ITEM_FREEZERAY",
+ "ENT_TYPE_ITEM_CAMERA",
+ "ENT_TYPE_ITEM_TELEPORTER",
+ "ENT_TYPE_ITEM_MATTOCK",
+ "ENT_TYPE_ITEM_BOOMERANG",
+ "ENT_TYPE_ITEM_MACHETE",
+ "ENT_TYPE_ITEM_PLASMACANNON",
+ "ENT_TYPE_ITEM_SCEPTER",
+ "ENT_TYPE_ITEM_CLONEGUN",
+ "ENT_TYPE_ITEM_WOODEN_SHIELD",
+ "ENT_TYPE_ITEM_METAL_SHIELD");
default:
{
auto it = user_custom_types.find(type);
From 6d114bcdf59a7f08af7551f38254b933e14f3507 Mon Sep 17 00:00:00 2001
From: Mr-Auto <36127424+Mr-Auto@users.noreply.github.com>
Date: Sun, 3 Dec 2023 23:42:47 +0100
Subject: [PATCH 11/12] forgot to push .hpp with the enum updated
---
src/game_api/custom_types.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/game_api/custom_types.hpp b/src/game_api/custom_types.hpp
index 683fdd5da..cafca0744 100644
--- a/src/game_api/custom_types.hpp
+++ b/src/game_api/custom_types.hpp
@@ -7,6 +7,7 @@
#include "aliases.hpp" // for ENT_TYPE
+// New types need to be added to the enum, plus the custom_type_names vector and then finally in the get_custom_entity_types function
enum class CUSTOM_TYPE : uint32_t
{
ACIDBUBBLE = 1000, // to be sure that's it's bigger than ENT_TYPE_LIQUID_COARSE_LAVA
@@ -343,6 +344,7 @@ enum class CUSTOM_TYPE : uint32_t
YELLOWCAPE,
YETIKING,
YETIQUEEN,
+ PURCHASABLE,
};
constexpr CUSTOM_TYPE custom_type_max = CUSTOM_TYPE::YETIQUEEN;
From c6bb76140f6b9e470bb65d5d8a2c46bc0e576e67 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Tue, 5 Dec 2023 21:26:45 +0000
Subject: [PATCH 12/12] update slate[no ci]
---
docs/index.html | 9 +++++++--
docs/light.html | 9 +++++++--
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/docs/index.html b/docs/index.html
index fc55cccaa..7fa4306e3 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -16451,7 +16451,7 @@ PlayerSlot
int |
-player_id |
+player_slot |
|
@@ -16681,7 +16681,7 @@ StateMemory
nil |
-force_current_theme(int t) |
+force_current_theme(THEME t) |
This function should only be used in a very specific circumstance (forcing the exiting theme when manually transitioning). Will crash the game if used inappropriately! |
@@ -23531,6 +23531,11 @@ Player
Used in base camp to talk with the NPC's |
+SoundMeta |
+special_sound |
+For Lise System walking and looking up sounds |
+
+
int |
jump_lock_timer |
Increases when holding jump button in the air, set to max while jumping. If this isn't 0, a jump will only be registered if the jump button was not held on the previous frame. |
diff --git a/docs/light.html b/docs/light.html
index c07a53053..3be655666 100644
--- a/docs/light.html
+++ b/docs/light.html
@@ -16451,7 +16451,7 @@ PlayerSlot
int |
-player_id |
+player_slot |
|
@@ -16681,7 +16681,7 @@ StateMemory
nil |
-force_current_theme(int t) |
+force_current_theme(THEME t) |
This function should only be used in a very specific circumstance (forcing the exiting theme when manually transitioning). Will crash the game if used inappropriately! |
@@ -23531,6 +23531,11 @@ Player
Used in base camp to talk with the NPC's |
+SoundMeta |
+special_sound |
+For Lise System walking and looking up sounds |
+
+
int |
jump_lock_timer |
Increases when holding jump button in the air, set to max while jumping. If this isn't 0, a jump will only be registered if the jump button was not held on the previous frame. |