xray16 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xray16",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "author": "Neloreck",
5
5
  "repository": "https://github.com/stalker-xrts/xray-16-types",
6
6
  "private": false,
@@ -123,7 +123,14 @@ declare module "xray16" {
123
123
 
124
124
  public clear_override_animation(): void;
125
125
 
126
- public debug_planner(action_planner: action_planner): void;
126
+ /**
127
+ * Sets provided planner as `debugged` for stalker object.
128
+ * As result, when console command `ai_dbg_stalker on` is toggled, GOAP state of planner is displayed.
129
+ * Requires `mixed` build engine.
130
+ *
131
+ * @param planner - action planner to show in stalker stats when debugging is enabled
132
+ */
133
+ public debug_planner(planner: action_planner): void;
127
134
 
128
135
  public disable_info_portion(value: string): boolean;
129
136
 
@@ -1000,9 +1007,9 @@ declare module "xray16" {
1000
1007
  public set_condition(condition: f32): void;
1001
1008
 
1002
1009
  /**
1003
- * @returns vertex_id of accessible position
1010
+ * @returns [vertex_id, vector] tuple of accessible position id and vector
1004
1011
  */
1005
- public accessible_nearest(vector1: vector, vector2: vector): u32;
1012
+ public accessible_nearest(vertex_position: vector, vector2: vector): LuaMultiReturn<[u32, vector]>;
1006
1013
 
1007
1014
  public action_by_index(value: u32): entity_action | null;
1008
1015