generated from maximegris/angular-electron
-
-
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
46 changed files
with
1,505 additions
and
90 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
export * from './constants'; | ||
export * from './core'; | ||
export * from './dialog'; | ||
export * from './droptable'; | ||
export * from './exporter'; | ||
export * from './id'; | ||
export * from './importer'; | ||
export * from './item'; | ||
export * from './npc'; | ||
export * from './quest'; | ||
export * from './recipe'; | ||
export * from './spawner'; | ||
export * from './stem'; | ||
export * from './validate'; |
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,83 @@ | ||
import { BuffType, MacroActivationType } from '../../interfaces'; | ||
import { ISTEM } from '../../interfaces/stem'; | ||
import { id } from './id'; | ||
|
||
export const defaultSTEM: () => ISTEM = () => { | ||
return { | ||
_id: id(), | ||
_hasSpell: false, | ||
_hasTrait: false, | ||
_hasEffect: false, | ||
_hasMacro: false, | ||
|
||
name: '', | ||
_gameId: '', | ||
|
||
all: { | ||
desc: '', | ||
icon: 'uncertainty', | ||
color: '', | ||
bgColor: '', | ||
}, | ||
|
||
effect: { | ||
tooltip: { | ||
name: '', | ||
color: '', | ||
bgColor: '', | ||
desc: '', | ||
icon: undefined as unknown as string, | ||
}, | ||
effect: { | ||
type: undefined as unknown as BuffType, | ||
duration: 0, | ||
extra: { | ||
potency: 0, | ||
canRemove: false, | ||
unique: true, | ||
doesTick: false, | ||
persistThroughDeath: false, | ||
canOverlapUniqueIfEquipped: false, | ||
charges: 0, | ||
statChanges: {}, | ||
}, | ||
}, | ||
effectMeta: {}, | ||
}, | ||
|
||
macro: { | ||
name: '', | ||
macro: '', | ||
icon: undefined as unknown as string, | ||
color: '', | ||
bgColor: '', | ||
mode: undefined as unknown as MacroActivationType, | ||
key: '', | ||
tooltipDesc: '', | ||
isDefault: false, | ||
}, | ||
|
||
spell: { | ||
spellName: '', | ||
maxSkillForGain: 0, | ||
mpCost: 0, | ||
skillMultiplierChanges: [], | ||
spellMeta: { | ||
spellRef: '', | ||
}, | ||
}, | ||
|
||
trait: { | ||
name: '', | ||
desc: '', | ||
icon: undefined as unknown as string, | ||
borderColor: '', | ||
iconBgColor: '', | ||
iconColor: '', | ||
spellGiven: '', | ||
isAncient: false, | ||
valuePerTier: 0, | ||
statsGiven: {}, | ||
}, | ||
}; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Injectable } from '@angular/core'; | ||
|
||
@Injectable({ | ||
providedIn: 'root', | ||
}) | ||
export class AssetsService { | ||
async load() {} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<app-icon class="w-17 min-w-[70px] min-h-[70px] max-w-[70px] max-h-[70px]" [icon]="params.data.all.icon" | ||
[color]="params.data.all.color || '#000'" [bgColor]="params.data.all.bgColor || '#9ca3af'"></app-icon> |
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,4 @@ | ||
:host { | ||
width: 100%; | ||
height: 100%; | ||
} |
Oops, something went wrong.