Skip to main content

kirby-world

Places for the Kirby HERO System platform: a World of Scenes, and the geometry inside them — surfaces, walls, furnishings, hazards, constructs, cover, falling, line of sight and per-mode movement reachability.

A place is not a fight. A house with five people doing chores, and what is reachable from the kitchen, needs nothing but this package:

from kirby_world import AmbientConditions, Position, Scene, SceneBounds
from kirby_world.movement_legality import movement_reach

house = Scene(id="house", name="Safehouse", bounds=SceneBounds(0, 0, 0, 20, 20, 4),
              surfaces=[], walls=[], hazards=[], ambient=AmbientConditions())
house = house.place_combatant("ana", Position(1.0, 0.0, 0.0))
movement_reach("flight", Position(0, 0, 1), Position(5, 0, 1), 10.0, house).reachable

Where it sits

kirby-terrain   what a thing is made of     no deps
kirby-world     places                      -> kirby-terrain
kirby-combat    the fight                   -> kirby-world, kirby-cost, kirby-dice

Questions about the person moving rather than the place — is he Stunned, what has this building already absorbed — belong to the fight. They arrive here as plain values (mover_can_move, a damage ledger), never as the fight itself. tests/test_a_place_without_a_fight.py enforces that by making the fight engine unimportable and building a house anyway.

Split out of kirby-combat at 0.20.0, where kirby_combat.scene remains as a re-export of this package.

License

PolyForm Noncommercial 1.0.0. Not affiliated with or endorsed by Hero Games.

Metadata

Release files for kirby-world 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kirby-world 0.1.1
File Size Uploaded Provenance Actions
kirby_world-0.1.1.tar.gz 71.1 kB Without provenance Details for kirby_world-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kirby-world 0.1.1
File Interpreter ABI Platform Actions
kirby_world-0.1.1-py3-none-any.whl Python 3 none any Details for kirby_world-0.1.1-py3-none-any.whl

Total release size: 119.1 kB

Release files / kirby_world-0.1.1.tar.gz

Download URL kirby_world-0.1.1.tar.gz
Size 71.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5696039e9c4a574b7e49c307c7103fd6da992b57a7693d3fd413c4ca02f9b66d
BLAKE2b-256 checksum
How to use checksums
d833be50b5b3ad0634f498511f61ed1a4b6efeccd2d8fab279b06f3145aacd0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / kirby_world-0.1.1-py3-none-any.whl

Download URL kirby_world-0.1.1-py3-none-any.whl
Size 48.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
686aa26ac28c7beb6540054cf389d7567a2b4a30ba2a13bbab40538cee3f259c
BLAKE2b-256 checksum
How to use checksums
f67c6cfaff4978d1aa468d1fdcdb4c3511b78512fd71db6a3b818914ea665acd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for kirby-world 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page