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

Updates/fixes to factions and epilogues #2634

Merged
merged 1 commit into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions data/json/npcs/factions.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
},
"mon_faction": "player",
"epilogues": [ { "power_min": 0, "id": "epilogue_faction_your_followers_0" } ],
"epilogues": [ { "power_min": 0, "power_max": 149, "id": "epilogue_faction_your_followers_0" } ],
"description": "The survivors who have entrusted you with their well-being. If morale drops, poor performance and mutiny may become issues."
},
{
Expand Down Expand Up @@ -74,6 +74,10 @@
},
"marloss": { "kill on sight": true }
},
"epilogues": [
{ "power_min": 0, "power_max": 149, "id": "epilogue_faction_robofac_0" },
{ "power_min": 150, "id": "epilogue_faction_robofac_150" }
],
"description": "The surviving staff of Hub 01, a pre-Cataclysm research lab. They rarely leave their lab, if at all, and rely on their robots and advanced technology to survive."
},
{
Expand Down Expand Up @@ -135,8 +139,9 @@
"hells_raiders": { "kill on sight": true }
},
"epilogues": [
{ "power_min": 0, "id": "epilogue_faction_old_guard_0" },
{ "power_max": 150, "id": "epilogue_faction_old_guard_150" }
{ "power_min": 0, "power_max": 99, "id": "epilogue_faction_old_guard_0" },
{ "power_min": 115, "power_max": 139, "id": "epilogue_faction_old_guard_115" },
{ "power_min": 140, "id": "epilogue_faction_old_guard_140" }
],
"description": "The remains of the federal government. The extent of their strength is unknown but squads of patrolling soldiers have been seen under their banner."
},
Expand Down Expand Up @@ -210,8 +215,8 @@
"hells_raiders": { "kill on sight": true }
},
"epilogues": [
{ "power_min": 0, "id": "epilogue_faction_free_merchants_0" },
{ "power_max": 150, "id": "epilogue_faction_free_merchants_150" }
{ "power_min": 0, "power_max": 149, "id": "epilogue_faction_free_merchants_0" },
{ "power_min": 150, "id": "epilogue_faction_free_merchants_150" }
],
"description": "A conglomeration of entrepreneurs and businessmen that stand together to hammer-out an existence through trade and industry."
},
Expand Down Expand Up @@ -299,8 +304,8 @@
}
},
"epilogues": [
{ "power_min": 0, "id": "epilogue_faction_tacoma_commune_0" },
{ "power_max": 150, "id": "epilogue_faction_tacoma_commune_150" }
{ "power_min": 0, "power_max": 149, "id": "epilogue_faction_tacoma_commune_0" },
{ "power_min": 150, "id": "epilogue_faction_tacoma_commune_150" }
],
"description": "An outpost started by the Free Merchants to provide a source of food and raw materials."
},
Expand Down Expand Up @@ -368,8 +373,8 @@
"no_faction": { "knows your voice": true }
},
"epilogues": [
{ "power_min": 0, "id": "epilogue_faction_wasteland_scavengers_0" },
{ "power_max": 150, "id": "epilogue_faction_wasteland_scavengers_150" }
{ "power_min": 0, "power_max": 149, "id": "epilogue_faction_wasteland_scavengers_0" },
{ "power_min": 150, "id": "epilogue_faction_wasteland_scavengers_150" }
],
"description": "Autonomous bands or individuals who make their living raiding the ruins of the old-world for gear and provisions."
},
Expand Down Expand Up @@ -399,8 +404,8 @@
"your_followers": { "kill on sight": true }
},
"epilogues": [
{ "power_min": 0, "id": "epilogue_faction_hells_raiders_0" },
{ "power_max": 150, "id": "epilogue_faction_hells_raiders_150" }
{ "power_min": 0, "power_max": 149, "id": "epilogue_faction_hells_raiders_0" },
{ "power_min": 150, "id": "epilogue_faction_hells_raiders_150" }
],
"description": "The largest gang of hooligans and bandits that preys upon other survivors. Even if you have no gear, there is always a need for slaves and fresh meat."
},
Expand Down Expand Up @@ -498,6 +503,10 @@
},
"hells_raiders": { "kill on sight": true }
},
"epilogues": [
{ "power_min": 0, "power_max": 149, "id": "epilogue_faction_isherwoods_0" },
{ "power_min": 150, "id": "epilogue_faction_isherwoods_150" }
],
"description": "A small family surviving on their generational land."
},
{
Expand Down
26 changes: 23 additions & 3 deletions data/json/snippets/epilogue_factions.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@
"text": " Locked in an endless battle, the Old Guard was forced to consolidate their resources in a handful of fortified bases along the coast. Without the men or material to rebuild, the soldiers that remained lost all hope…"
},
{
"id": "epilogue_faction_old_guard_150",
"text": " The steadfastness of individual survivors after the cataclysm impressed the tattered remains of the once glorious union. Spurred on by small successes, a number of operations to re-secure facilities met with limited success. Forced to eventually consolidate to large bases, the Old Guard left these facilities in the hands of the few survivors that remained. As the years passed, little materialized from the hopes of rebuilding civilization…"
"id": "epilogue_faction_old_guard_115",
"text": " Though partially successful in restoring a semblance of order, the forces of the Old Guard remained stretched thin and faced with threats on all sides. Over time the facade of being the last vestige of old America faded, absorbed into the communities they once watched over. The idea of New England being just one part of a nation spanning from coast to coast would gradually become a faded memory, passed down through oral history…"
},
{
"id": "epilogue_faction_old_guard_140",
"text": " The steadfastness of individual survivors after the cataclysm impressed the tattered remains of the once glorious union. Spurred on by small successes, a number of operations to re-secure facilities met with limited success. Though the nation itself was dead and gone, people still carried on as best as they could, and the soldiers of the Old Guard still struggled along with them…"
},
{
"id": "epilogue_faction_free_merchants_0",
"text": " Life in the refugee shelter deteriorated as food shortages and disease destroyed any hope of maintaining a civilized enclave. The merchants and craftsmen dispersed to found new colonies but most became victims of marauding bandits. Those who survived never found a place to call home…"
},
{
"id": "epilogue_faction_free_merchants_150",
"text": " The Free Merchants struggled for years to keep themselves fed but their once profitable trade routes were plundered by bandits and thugs. In squalor and filth the first generations born after the cataclysm are told stories of the old days when food was abundant and the children were allowed to play in the sun…"
"text": " Despite constant threats of banditry, life continued on and the refugee center slowly grew into a struggling community. Food and overcrowding remained a constant worry, the next generation faced with either hard work in relative safety or a dangerous yet potentially lucrative life as a scavenger. They learned to live day by day, hopeful for the future despite uncertainty…"
},
{
"id": "epilogue_faction_tacoma_commune_0",
Expand All @@ -47,6 +51,22 @@
{
"id": "epilogue_faction_hells_raiders_150",
"text": " Fueled by drugs and rage, the Hell's Raiders fought tooth and nail to overthrow the last strongholds of the Old Guard. The costly victories brought the warlords abundant territory and slaves but little in the way of stability. Within weeks, infighting led to civil war as tribes vied for leadership of the faction. When only one warlord finally secured control, there was nothing left to fight for… just endless cities full of the dead."
},
{
"id": "epilogue_faction_robofac_0",
"text": " Despite all the wonders of science, shortages and crises plagued Hub-01 from the first day of the Cataclysm. The researchers and administrators among the surviving staff lacked the practical skills to survive in the savage new world. As Hub-01's systems collapsed from a lack of maintenance, the few survivors fled the building to be killed by the zombies and bandits."
},
{
"id": "epilogue_faction_robofac_150",
"text": " Though reclusive and often brusque with the few people to reach out to them, over time the scientists of Hub-01 developed a network of scavengers and mercenaries, always on the lookout for more materials to keep them in working order. There they continued what research they could, always limited by what little scraps of old-world technology they could get their hands on. Their knowledge however remained, closely-guarded yet from time to time proving useful to the occasional survivor willing to part with some forgotten scrap of technology."
},
{
"id": "epilogue_faction_isherwoods_0",
"text": " Life on the farm grew tense as new horrors sprung from the world. The Isherwoods were plagued by undead hordes and the encroachment of triffids. When an otherworldly mold took over the fields, the family was forced to move. The farm was later found abandoned, the fields black with ash…"
},
{
"id": "epilogue_faction_isherwoods_150",
"text": " The generational land of the Isherwoods came to flourish following <the_cataclysm>, helping to feed nearby settlements. Survivors flocked to learn botany, animal handling, and backwoods remedies, eventually forming a small community…"
}
]
}
Expand Down
2 changes: 2 additions & 0 deletions src/faction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ void faction::faction_display( const catacurses::window &fac_w, const int width
int y = 2;
mvwprintz( fac_w, point( width, ++y ), c_light_gray, _( "Attitude to you: %s" ),
fac_ranking_text( likes_u ) );
mvwprintz( fac_w, point( width, ++y ), c_light_gray, _( "Faction strength: %s" ),
power );
fold_and_print( fac_w, point( width, ++y ), getmaxx( fac_w ) - width - 2, c_light_gray, _( desc ) );
}

Expand Down