Skip to content

Consumable use time with a Use clip, and where an animation pack is stored - #308

Merged
GhzGarage merged 1 commit into
mainfrom
claude/fix-use-clip-time-and-pack-hint
Dec 3, 2026
Merged

GhzGarage merged 1 commit into
mainfrom
claude/fix-use-clip-time-and-pack-hint

Conversation

@GhzGarage

Copy link
Copy Markdown
Contributor

Two UI mismatches from the 0.7.0 docs review. MantleEditor only; no shared files.

Build an item, consumable with a Use clip. The game ignores useSeconds then (AMantleConsumable::BeginCreatorClip: the clip plays at rate 1, the use lasts its length, the effect lands at useEffectSeconds). The "Choose how long one use takes" box and spinner are now replaced by "Use time: set by your Use animation.", "The effect happens at X s." is no longer scaled by a chosen use time, and the Create summary says "your Use animation's length". Without a Use clip nothing changes. The export is unchanged: a use time chosen earlier is still written, and the game only reads it if it falls back to its built-in clip.

Animation pack publish message. It said "Add it to a place from Place Settings > Storage", which the backend refuses for animPack. It now says: choose Tools > Mantle > Place settings and add an Avatar Storage entry (Name, Kind animPack, Item id, Version). The Kind tooltip lists animPack.

Mantle.Dev.ItemBuilderShots also photographs the consumable's "Use and effect" screen.

Tested: MantleEditor built; Mantle.Editor.WeaponBuilderConsumable + Mantle.CreatorClips 15 of 15 passed; builder screens checked in offscreen pictures. Not run: a real animation pack publish (the message text is tested, its use at the end of a publish is not).

Not fixed here, seen while reading the code:

  • The Library window's "Add to place" appears to put an animPack (or customAvatar) card into plain Storage.
  • The custom avatar publish message and help also point to Place Settings > Storage, but custom avatars are stored in Avatar Storage.

🤖 Generated with Claude Code

…tored

- Build an item, consumable: with a Use clip the game ignores useSeconds (the use lasts the clip's length), so the
  "Choose how long one use takes" box is replaced by "Use time: set by your Use animation.", the effect line is the
  clip's own time and the summary says so.
- A finished animation pack publish pointed at Place Settings > Storage, which refuses packs. It now names the
  Avatar Storage entry to add (Name, Kind animPack, Item, Version).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@GhzGarage
GhzGarage merged commit ba9977e into main Dec 3, 2026
1 check passed
@GhzGarage
GhzGarage deleted the claude/fix-use-clip-time-and-pack-hint branch December 3, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant