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

Jsonized companion skill practice data #35831

Conversation

ZhilkinSerg
Copy link
Contributor

Summary

SUMMARY: Infrastructure "Jsonized companion skill practice data"

Purpose of change

Allow defining of companion skill practice data in json for vanilla and mods skills.

Describe the solution

  {
    "type": "skill",
    "ident": "melee",
...
    "companion_skill_practice": [
      { "skill": "", "weight": 5 },
      { "skill": "gathering", "weight": 5 },
      { "skill": "trapping", "weight": 5 },
      { "skill": "hunting", "weight": 10 },
      { "skill": "recruiting", "weight": 5 },
      { "skill": "combat", "weight": 20 }
    ]
  },

@ZhilkinSerg ZhilkinSerg added NPC / Factions NPCs, AI, Speech, Factions, Ownership [JSON] Changes (can be) made in JSON Missions Quests and missions [C++] Changes (can be) made in C++. Previously named `Code` Mechanics: Effects / Skills / Stats Effects / Skills / Stats labels Dec 3, 2019
src/skill.cpp Outdated Show resolved Hide resolved
@ZhilkinSerg ZhilkinSerg force-pushed the jsonize-skill-companion-practice branch from 0be9402 to 2775745 Compare December 6, 2019 07:23
@kevingranade kevingranade merged commit 422fcec into CleverRaven:master Dec 7, 2019
@ZhilkinSerg ZhilkinSerg deleted the jsonize-skill-companion-practice branch December 7, 2019 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` [JSON] Changes (can be) made in JSON Mechanics: Effects / Skills / Stats Effects / Skills / Stats Missions Quests and missions NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants