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

npctalk: move almost all dialogue into JSON #27901

Merged
merged 1 commit into from
Jan 28, 2019

Conversation

mlangsdorf
Copy link
Contributor

Summary

SUMMARY: Infrastructure "npctalk: move almost all dialogue into JSON"

Purpose of change

Take advantage of the new JSON dialogue infrastructure to move almost all the remaining hardcoded NPC dialogue into JSON.

Describe the solution

with truefalsetext and generic CONDITION trials from #27707, mission goals, mission based opionion changes, the add_debt effect and some other things from #27734, the NPC needs in JSON from #27858, and the NPC follower AI rules in JSON changes from #27859, there aren't a lot of talk topics that can't be moved into JSON. Move most of those functions into JSON and delete some now unnecessary helper MACROs.

Additional context

Built on top of #27859.
Final implementation of #27643

@mlangsdorf mlangsdorf added NPC / Factions NPCs, AI, Speech, Factions, Ownership Missions Quests and missions [C++] Changes (can be) made in C++. Previously named `Code` [Lua] labels Jan 26, 2019
@mlangsdorf mlangsdorf added [JSON] Changes (can be) made in JSON and removed [Lua] labels Jan 26, 2019
move mission responses and sharing equipment, along with a few other
items, into JSON now that all the infrastructure is in place.
@mlangsdorf mlangsdorf force-pushed the npctalk_ally_to_json branch from d55a39f to 6a0277e Compare January 27, 2019 14:00
@ZhilkinSerg ZhilkinSerg merged commit 77d5cf2 into CleverRaven:master Jan 28, 2019
@mlangsdorf mlangsdorf deleted the npctalk_ally_to_json branch January 28, 2019 23:15
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 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