Skip to content

Commit

Permalink
enable comments so annotation works (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsek committed Apr 10, 2022
1 parent 61c7056 commit dcd6edc
Show file tree
Hide file tree
Showing 424 changed files with 1,724 additions and 217 deletions.
7 changes: 7 additions & 0 deletions dist/classes/common/Counter.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import type { ICounter } from "../../json_out/index.js";
import type { StubExcept } from "../../utils/types/Stub.js";
/**
* Class representing a counter embedded in a Starforged Asset.
*/
export declare class Counter implements ICounter {
$id: string;
Name: string;
Min: number;
Max: number | null;
"Starting Value": number;
/**
* @param json - the json object to build the counter from
* @param id - the id of the Counter
*/
constructor(json: StubExcept<ICounter, "Name", "$id">, id: string);
}
//# sourceMappingURL=Counter.d.ts.map
2 changes: 1 addition & 1 deletion dist/classes/common/Counter.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/classes/common/Counter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/classes/common/Counter.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/classes/common/Suggestions.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { GameObject } from "../index.js";
import type { AssetId, EncounterId, ISuggestions, MoveId, OracleTableId } from "../../json_out/index.js";
import type { ISuggestionsYaml } from "../../yaml_in/common/ISuggestionsYaml.js";
/**
* Object representing "non-canon" suggestions for related Starforged game content. These are intended be offered as convenient shortcuts for the user; having them roll automatically is not recommended. They can be safely ignored if this functionality is not desired.
*/
export declare class Suggestions implements ISuggestions {
"Game objects"?: GameObject[] | undefined;
"Oracle rolls"?: OracleTableId[] | undefined;
Expand Down
2 changes: 1 addition & 1 deletion dist/classes/common/Suggestions.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/classes/common/Suggestions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/classes/common/Suggestions.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/classes/moves/Move.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { Suggestions } from "../index.js";
import { MoveOutcomes } from "../index.js";
import { MoveTrigger } from "../index.js";
import type { AssetId, IDisplay, IMove, ISource, MoveCategoryId, MoveId, OracleTableId, ParagraphsString } from "../../json_out/index.js";
/**
* Object representing a Starforged move.
*/
export declare class Move extends SourceInheritor implements IMove {
$id: MoveId;
Name: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/classes/moves/Move.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/classes/moves/Move.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/classes/moves/Move.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/classes/oracles/GameObject.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/classes/oracles/GameObject.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/classes/oracles/MultipleRolls.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import type { IMultipleRolls } from "../../json_out/index.js";
/**
* Represents "Roll twice" and "Roll three times" oracle results.
*/
export declare class MultipleRolls implements IMultipleRolls {
/**
* In tabletop play, duplicate results are typically rerolled (p. XX). However, a handful of tables (such as Space Sighting) use multiple rolls to represent discrete objects (rather than features of a single game object), so duplicate results should be allowed.
*/
Amount: number;
/** The number of results to be generated from the oracle table. */
"Allow duplicates": boolean;
"Make it worse": boolean;
constructor(json: IMultipleRolls);
Expand Down
2 changes: 1 addition & 1 deletion dist/classes/oracles/MultipleRolls.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/classes/oracles/MultipleRolls.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/classes/oracles/MultipleRolls.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dcd6edc

Please sign in to comment.