Skip to content

feat: add get_item_count and has_item decorators (Prompt Pair)#418

Open
Gerkinfeltser wants to merge 2 commits into
MinLL:mainfrom
Gerkinfeltser:feature/item-decorators
Open

feat: add get_item_count and has_item decorators (Prompt Pair)#418
Gerkinfeltser wants to merge 2 commits into
MinLL:mainfrom
Gerkinfeltser:feature/item-decorators

Conversation

@Gerkinfeltser
Copy link
Copy Markdown
Contributor

@Gerkinfeltser Gerkinfeltser commented May 29, 2026

Closes #361

Summary

Adds test prompt for the new get_item_count and has_item decorators being added to the main DLL.

Paired PR: SkyrimNet#817 — implements get_item_count and has_item decorators.

Changes

SKSE/Plugins/SkyrimNet/prompts/submodules/test_decorators/0350_item_decorators.prompt (new, 66 lines)

  • Tests get_item_count() with editor ID and form ID arguments
  • Tests has_item() for item presence checks
  • Tests conditional logic using both decorators
  • Compares player and NPC inventory

Dependency

Requires SkyrimNet DLL with get_item_count and has_item decorators registered (paired PR https://github.com/MinLL/SkyrimNet/pull/817).

Add 0610_party_quests.prompt with get_quest_journal() decorator usage
for character bio rendering. Includes active quests, misc tasks, and
inactive quest sections with proper Inja template syntax.
@Gerkinfeltser Gerkinfeltser marked this pull request as draft May 29, 2026 13:14
@Gerkinfeltser Gerkinfeltser marked this pull request as ready for review May 29, 2026 17:00
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.

Add has_item decorator

1 participant