isaacscript-common 1.0.538 → 1.0.539

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.
@@ -0,0 +1,2 @@
1
+ /// <reference types="isaac-typescript-definitions" />
2
+ export declare function isFamiliarThatShootsPlayerTears(familiar: EntityFamiliar): boolean;
@@ -0,0 +1,8 @@
1
+ --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
+ local ____exports = {}
3
+ local ____constants = require("constants")
4
+ local FAMILIARS_THAT_SHOOT_PLAYER_TEARS = ____constants.FAMILIARS_THAT_SHOOT_PLAYER_TEARS
5
+ function ____exports.isFamiliarThatShootsPlayerTears(self, familiar)
6
+ return FAMILIARS_THAT_SHOOT_PLAYER_TEARS:has(familiar.Type)
7
+ end
8
+ return ____exports
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export { deepCopy } from "./functions/deepCopy";
20
20
  export { deepCopyTests } from "./functions/deepCopyTests";
21
21
  export * from "./functions/doors";
22
22
  export * from "./functions/entity";
23
+ export * from "./functions/familiars";
23
24
  export * from "./functions/flag";
24
25
  export * from "./functions/gridEntity";
25
26
  export * from "./functions/input";
package/dist/index.lua CHANGED
@@ -166,6 +166,14 @@ do
166
166
  end
167
167
  end
168
168
  end
169
+ do
170
+ local ____export = require("functions.familiars")
171
+ for ____exportKey, ____exportValue in pairs(____export) do
172
+ if ____exportKey ~= "default" then
173
+ ____exports[____exportKey] = ____exportValue
174
+ end
175
+ end
176
+ end
169
177
  do
170
178
  local ____export = require("functions.flag")
171
179
  for ____exportKey, ____exportValue in pairs(____export) do
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.538",
3
+ "version": "1.0.539",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",