-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support for sergey head, fixes potential item spawner crash
- Loading branch information
1 parent
2359d01
commit 891eb45
Showing
11 changed files
with
73 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[{ | ||
"type": "ENTER", | ||
"index": "headIdx" | ||
},{ | ||
"type": "ADD_ARRAY_ELEMENT", | ||
"content": { | ||
"id": "main.sergey-av", | ||
"img": "media/gui/severed-heads/sergey-av.png", | ||
"name": "sergey-av" | ||
} | ||
}] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
{ | ||
"id": "el-tweaks", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
|
||
"title": "EL's Tweaks", | ||
"description": "A coremod full of useful functionality for modders, as well as many tweaks for players.", | ||
|
||
"plugin": "./dist/plugin.js" | ||
"plugin": "./dist/plugin.js", | ||
|
||
"dependencies": { | ||
"ccloader": "2.x.x" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,36 @@ | ||
declare namespace ig { | ||
/* | ||
* While this is disingenuous of the input field's type... | ||
* The point is not to make it accurate. | ||
* It's to make it provide a minimum needed interface for the item spawner. | ||
* | ||
*/ | ||
namespace GuiTextInputField { | ||
interface InputFieldType {} | ||
import * as semver from "../../node_modules/ultimate-crosscode-typedefs/semver-ext"; | ||
|
||
export {}; | ||
|
||
declare global { | ||
interface Window { | ||
semver: typeof semver; | ||
} | ||
interface GuiTextInputField extends ig.FocusGui { | ||
onCharacterInput: () => void; | ||
getValueAsString(this: this): string; | ||
namespace ig { | ||
/* | ||
* While this is disingenuous of the input field's type... | ||
* The point is not to make it accurate. | ||
* It's to make it provide a minimum needed interface for the item spawner. | ||
* | ||
*/ | ||
namespace GuiTextInputField { | ||
interface InputFieldType {} | ||
} | ||
interface GuiTextInputField extends ig.FocusGui { | ||
onCharacterInput: () => void; | ||
getValueAsString(this: this): string; | ||
} | ||
interface GuiTextInputFieldConstructor extends ImpactClass<GuiTextInputField> { | ||
new (width: number, height: number): GuiTextInputField | ||
} | ||
var GuiTextInputField: GuiTextInputFieldConstructor | undefined; | ||
} | ||
interface GuiTextInputFieldConstructor extends ImpactClass<GuiTextInputField> { | ||
new (width: number, height: number): GuiTextInputField | ||
|
||
namespace nax.ccuilib { | ||
type InputField = ig.GuiTextInputField; | ||
type InputFieldConstructor = ig.GuiTextInputFieldConstructor; | ||
let InputField: InputFieldConstructor | undefined; | ||
} | ||
var GuiTextInputField: GuiTextInputFieldConstructor | undefined; | ||
} | ||
|
||
declare namespace nax.ccuilib { | ||
type InputField = ig.GuiTextInputField; | ||
type InputFieldConstructor = ig.GuiTextInputFieldConstructor; | ||
let InputField: InputFieldConstructor | undefined; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters