kirby-campaign
kirby-campaign holds what lasts between fights: teams, their rosters, and the bases they operate from. It has no database and no web layer. It’s the newest and smallest of the Kirby packages.
A team is not a side
Section titled “A team is not a side”A team is who you are between fights: a team member on Tuesday is still one on Wednesday. A side is who you’re fighting with right now.
They usually agree, and they have to be able to disagree: a schism, a temporary alliance against something worse, a mind-controlled teammate. So a character’s team sets their side by default, but never overrides a side they’ve already been given.
from kirby_campaign import Team, TeamMember, sides_from_teams
heroes = Team( id="test-heroes", name="Test Heroes", team_type="hero", members=(TeamMember("ravel", "leader"), TeamMember("powerlad")), base_ids=("test-base",),)sides_from_teams([heroes])The dependency runs one way
Section titled “The dependency runs one way”kirby-campaign uses kirby-combat, never the other way round. A free-for-all in an alley has sides and no campaign at all, so the combat engine can’t depend on one.
Install
Section titled “Install”pip install kirby-campaignSource
Section titled “Source”kirby-campaign is source-available, free for personal use, under the PolyForm Noncommercial License 1.0.0.
HERO System™ is DOJ, Inc. d/b/a Hero Games' trademark for its roleplaying system. Hero Designer is © DOJ, Inc. Kirby is an independent work. Not affiliated with or endorsed by DOJ, Inc. d/b/a Hero Games. No game rules content is distributed here.