Trait Items #72

Open
Oliver wants to merge 41 commits from feature/trait-items into main
Owner

This adds:

  • A more condensed Geist sheet
  • trait item type that can only be added geists
This adds: - A more condensed Geist sheet - `trait` item type that can only be added geists
Oliver added 29 commits 2025-12-25 03:28:54 +00:00
Oliver reviewed 2025-12-25 23:12:55 +00:00
@ -0,0 +30,4 @@
},
form: {
submitOnChange: true,
closeOnSubmite: false,
Author
Owner

Remove e on key name

Remove `e` on key name
Oliver marked this conversation as resolved
@ -0,0 +144,4 @@
protection: 0,
shielded: false,
};
if (armour) {
Author
Owner

This check is redundant

This check is redundant
Oliver marked this conversation as resolved
@ -9,5 +9,6 @@ export default {
"rc-options": options,
// #region Simple
"rc-ifOut": (v) => (v || ``),
Author
Owner

This isn't used, get rid of it

This isn't used, get rid of it
Oliver marked this conversation as resolved
@ -37,3 +38,4 @@
import { registerSockets } from "../sockets/_index.mjs";
import { registerUserSettings } from "../settings/userSettings.mjs";
import { registerWorldSettings } from "../settings/worldSettings.mjs";
import { TraitSheet } from "../Apps/ItemSheets/TraitSheet.mjs";
Author
Owner

Move to the correct import section

Move to the correct import section
Oliver marked this conversation as resolved
@ -103,3 +99,4 @@
label: `RipCrypt.sheet-names.CraftCardV1`,
themes: CraftCardV1.themes,
});
Actors.registerSheet(game.system.id, BookGeistSheet, {
Author
Owner

Add makeDefault

Add `makeDefault`
Oliver marked this conversation as resolved
@ -0,0 +7,4 @@
>
<div class="grow"></div>
<label for="{{meta-idp}}-rank">
Rank
Author
Owner

Localize this

Localize this
Oliver marked this conversation as resolved
@ -0,0 +1,78 @@
<div class="items">
{{#if attacks}}
<div>Attacks</div>
Author
Owner

Localize this

Localize this
Oliver marked this conversation as resolved
@ -0,0 +1,78 @@
<div class="items">
{{#if attacks}}
<div>Attacks</div>
<div>
Author
Owner

Convert this to a semantic list

Convert this to a semantic list
Oliver marked this conversation as resolved
@ -0,0 +20,4 @@
</div>
{{/if}}
{{#if crafts}}
<div>Craft</div>
Author
Owner

Localize this

Localize this
Oliver marked this conversation as resolved
@ -0,0 +21,4 @@
{{/if}}
{{#if crafts}}
<div>Craft</div>
<div>
Author
Owner

Convert this to a semantic list

Convert this to a semantic list
Oliver marked this conversation as resolved
@ -0,0 +33,4 @@
{{/each}}
</div>
{{/if}}
<div>Defense</div>
Author
Owner

Localize this

Localize this
Oliver marked this conversation as resolved
@ -0,0 +54,4 @@
</li>
{{/each}}
</ul>
<div>Traits</div>
Author
Owner

Localize this

Localize this
Oliver marked this conversation as resolved
@ -0,0 +72,4 @@
{{/if}}
</li>
{{else}}
None
Author
Owner

Localize this

Localize this
Oliver marked this conversation as resolved
@ -0,0 +2,4 @@
<table>
<thead>
<tr>
<td class="alt">Path</td>
Author
Owner

Localize these headers

Localize these headers
Oliver marked this conversation as resolved
Oliver added 7 commits 2025-12-25 23:37:35 +00:00
Oliver added 2 commits 2025-12-25 23:46:14 +00:00
Oliver added 1 commit 2025-12-25 23:46:37 +00:00
Oliver added 1 commit 2025-12-25 23:56:51 +00:00
Oliver added 1 commit 2025-12-26 00:14:30 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/trait-items:feature/trait-items
git checkout feature/trait-items

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff feature/trait-items
git checkout feature/trait-items
git rebase main
git checkout main
git merge --ff-only feature/trait-items
git checkout feature/trait-items
git rebase main
git checkout main
git merge --no-ff feature/trait-items
git checkout main
git merge --squash feature/trait-items
git checkout main
git merge --ff-only feature/trait-items
git checkout main
git merge feature/trait-items
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Foundry/ripcrypt#72
No description provided.