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

Starting Equipment #1871

Closed
arbron opened this issue Oct 12, 2022 · 0 comments · Fixed by #3203
Closed

Starting Equipment #1871

arbron opened this issue Oct 12, 2022 · 0 comments · Fixed by #3203
Assignees
Milestone

Comments

@arbron
Copy link
Collaborator

arbron commented Oct 12, 2022

The equipment advancement type would be responsible for presenting a list of equipment that a player can choose or gets automatically from their class or background.

Level Up Interface

The advancement is not responsible for actually adding the equipment, only holding data on what equipment should be added. The adding of the equipment will be handled by a separate character creation workflow.

The player would be presented with a list of choices for each group with options. For A/B options, there would be checkboxes for which the player wants to choose. Within each option additional choices like "A simple weapon" would either have a dropdown or a drop area for selecting a specific weapon type.

Configuration

The pool property contains a list of options of various types to build up the equipment list, and the wealth property contains a formula used to determine starting wealth if the equipment isn't taken.

{
  "pool": [
    {
      "_id": "OJNDsndRmYsq7Eph",
      "sort": 0,
      "type": "OR"
    },
    {
      "_id": "OJFFk7CEeqIdvO8e",
      "sort": 10000,
      "type": "OR"
    },
    {
      "_id": "XUvtgs0KtyowcJ6N",
      "sort": 20000,
      "type": "AND"
    },
    {
      "_id": "c7lqmQA2HFFjKTyl",
      "group": "OJNDsndRmYsq7Eph",
      "sort": 30000,
      "type": "linked",
      "key": "Compendium.dnd5e.items.Item.1Lxk6kmoRhG8qQ0u"
    },
    {
      "_id": "f2UnHjj5S6hjWUdb",
      "group": "OJNDsndRmYsq7Eph",
      "sort": 40000,
      "type": "weapon",
      "key": "martialM"
    },
    {
      "_id": "hgYMehnwxzzdSU98",
      "group": "OJFFk7CEeqIdvO8e",
      "sort": 50000,
      "type": "linked",
      "count": 2,
      "key": "Compendium.dnd5e.items.Item.eO7Fbv5WBk5zvGOc"
    },
    {
      "_id": "aphK30SQ2eCetYdd",
      "group": "OJFFk7CEeqIdvO8e",
      "sort": 60000,
      "type": "weapon",
      "key": "sim"
    },
    {
      "_id": "rQAu5VtTtJQia35h",
      "group": "XUvtgs0KtyowcJ6N",
      "sort": 70000,
      "type": "linked",
      "key": "Compendium.dnd5e.items.Item.8KWz5DJbWUpNWniP"
    },
    {
      "_id": "crwi1kyYRVhHSkm8",
      "group": "XUvtgs0KtyowcJ6N",
      "sort": 80000,
      "type": "linked",
      "count": 4,
      "key": "Compendium.dnd5e.items.Item.DWLMnODrnHn8IbAG"
    }
  ],
  "wealth": "2d4 * 10"
}

Within each entry, _id, group, and sort control how the entries are nested and appear in the list, type indicates the entry's behavior, count is if there are multiples of a type granted, key is either a UUID or category key for selecting items, and requiresProficiency specifies whether the player must first have proficiency in an item to take it.

Types are AND and OR for grouping together choices, linked which links to a single item by UUID, and armor, focus, tool, and weapon which allow selections from categories.

Value

This advancement doesn't store any value data because it is not responsible for actually adding the items.

Blocked by #729
Blocked by #2170
Blocks #1058

@arbron arbron added the blocked label Feb 8, 2023
@arbron arbron self-assigned this Feb 9, 2023
@arbron arbron changed the title Advancement Type: Equipment Advancement Type: Starting Equipment Feb 14, 2024
@arbron arbron added this to the D&D5E 3.1.0 milestone Feb 14, 2024
@arbron arbron removed the blocked label Feb 14, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Feb 14, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Feb 14, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Feb 14, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Feb 16, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Feb 29, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Feb 29, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Mar 6, 2024
arbron added a commit to arbron/dnd5e that referenced this issue Mar 6, 2024
arbron added a commit that referenced this issue Mar 6, 2024
arbron added a commit that referenced this issue Mar 11, 2024
[#1871] Implement configuration UI for starting equipment
@arbron arbron changed the title Advancement Type: Starting Equipment Starting Equipment Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant