Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#2220] Add SizeAdvancement #2542

Merged
merged 2 commits into from
Nov 6, 2023
Merged

Conversation

arbron
Copy link
Collaborator

@arbron arbron commented Nov 1, 2023

Introduces the size advancement for races:

Size Advancement Config Size Advancement Flow

Closes #2220

@arbron arbron added this to the D&D5E 2.5.0 milestone Nov 1, 2023
@arbron arbron linked an issue Nov 1, 2023 that may be closed by this pull request
@arbron arbron requested a review from Fyorl November 1, 2023 00:25
@arbron arbron self-assigned this Nov 1, 2023
@arbron arbron modified the milestones: D&D5E 2.5.0, D&D5E 2.4.0 Nov 2, 2023
@arbron arbron changed the base branch from race to 2.4.x November 2, 2023 16:19
less/advancement.less Outdated Show resolved Hide resolved
module/applications/advancement/size-config.mjs Outdated Show resolved Hide resolved

/** @inheritdoc */
get levels() {
return [0];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought this wouldn't apply to advancements granted by non-class and non-subclass items?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still relevant, it just refers to character level rather than class level. 0 here indicates that this should be applied regardless of current character level.

module/documents/advancement/size.mjs Outdated Show resolved Hide resolved
Comment on lines 4 to 7
<div class="form-group">
<label>{{localize "DND5E.AdvancementHint"}}</label>
<textarea name="configuration.hint">{{configuration.hint}}</textarea>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw in your screenshot that this looked quite cramped. It would be nicer to have the textarea able to fill the full width I think.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2023-11-06 at 10 19 12

templates/advancement/size-flow.hbs Outdated Show resolved Hide resolved
@arbron arbron requested a review from Fyorl November 6, 2023 18:40
Copy link
Contributor

@Fyorl Fyorl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff, thanks Jeff

@arbron arbron merged commit 1226f76 into foundryvtt:2.4.x Nov 6, 2023
@arbron arbron deleted the advancement/size branch November 6, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Advancement Type: Size
2 participants