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 NPC needs to JSON #27858

Merged
merged 1 commit into from
Jan 26, 2019

Conversation

mlangsdorf
Copy link
Contributor

Summary

SUMMARY: Infrastructure "npctalk: move NPC needs to JSON"

Purpose of change

add dynamic lines and and conditions based on NPC hunger, thirst, or fatigue.

Describe the solution

Add JSON parsing for "npc_need":, with the need being one of "thirst", "hunger", or "fatigue". A second key can either be "amount" as in integer or "level" as one of the established fatigue levels (ie, tired, dead tired, etc).

Additional context

See #27643 for the overall plan.

add dynamic lines and and conditions based on NPC hunger, thirst, or
fatigue.
@mlangsdorf mlangsdorf added NPC / Factions NPCs, AI, Speech, Factions, Ownership [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Jan 25, 2019
@ZhilkinSerg ZhilkinSerg added <Documentation> Design documents, internal info, guides and help. [JSON] Changes (can be) made in JSON labels Jan 25, 2019
@kevingranade kevingranade merged commit ff845a0 into CleverRaven:master Jan 26, 2019
@mlangsdorf mlangsdorf deleted the npctalk_needs branch January 26, 2019 13:39
kevingranade pushed a commit that referenced this pull request Jan 29, 2019
add dynamic lines and and conditions based on NPC hunger, thirst, or
fatigue.
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` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style <Documentation> Design documents, internal info, guides and help. [JSON] Changes (can be) made in JSON NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants