-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
442 additions
and
422 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
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
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
16 changes: 10 additions & 6 deletions
16
src/engine/core/schemes/ph_idle/ISchemePhysicalIdleState.ts
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,13 +1,17 @@ | ||
import type { IBaseSchemeLogic, IBaseSchemeState } from "@/engine/core/schemes/base"; | ||
import type { IBoneStateDescriptor } from "@/engine/core/utils/ini/ini_types"; | ||
import type { LuaArray, Optional } from "@/engine/lib/types"; | ||
import type { LuaArray, Optional, TLabel } from "@/engine/lib/types"; | ||
|
||
/** | ||
* todo; | ||
* Descriptor to describe idle state scheme. | ||
*/ | ||
export interface ISchemePhysicalIdleState extends IBaseSchemeState { | ||
hit_on_bone: LuaArray<IBoneStateDescriptor>; | ||
nonscript_usable: boolean; | ||
on_use: Optional<IBaseSchemeLogic>; | ||
tips: string; | ||
// List of condists for each bone index hit handling. | ||
bonesHitCondlists: LuaArray<IBoneStateDescriptor>; | ||
// Whether object should be set as nonscript usable. | ||
isNonscriptUsable: boolean; | ||
// Logics to apply when object is used. | ||
onUse: Optional<IBaseSchemeLogic>; | ||
// Tip to disable when hover over object. | ||
tip: TLabel; | ||
} |
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
## scheme | ||
## ph_idle | ||
|
||
description | ||
|
||
## ini parameters | ||
|
||
``` | ||
hit_on_bone - ? | ||
nonscript_usable - ? | ||
on_use - ? | ||
tips - ? | ||
``` |
Oops, something went wrong.