Skip to main content

A Python library for converting Stardew Valley event preconditions to Game State Queries.

Project description

preconditiontogsq

A Python library for converting Stardew Valley event preconditions to Game State Queries.

Features

  • Converting vanilla preconditions to GSQs.

Installation

pip install preconditiontogsq

Usage and Examples

from preconditiontogsq import convert

print(convert('t 600 1400')) # TIME 600 1400

Further examples can be found in the tests directory.

Development/Testing

  • Install dependencies with pip install -r requirements.txt
  • Tests can be added to tests/name_of_test.py and run with py -m tests.name_of_test
  • It can be built with py -m build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

preconditiontogsq-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

preconditiontogsq-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file preconditiontogsq-0.1.0.tar.gz.

File metadata

  • Download URL: preconditiontogsq-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for preconditiontogsq-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e25b7f638ddd91062becc42a7bc69b5c11f7f5580b27757c672900b5c4dd9359
MD5 c1c4a32f82d10cf23f48aa3209f556e2
BLAKE2b-256 9ca95e5225ecf5bd1a33d728a40e9a5e75cc1b34c4cdddb22a95df6421098d8d

See more details on using hashes here.

File details

Details for the file preconditiontogsq-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for preconditiontogsq-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcae7e053bbbdf05b61b5f418ac3d8dd8c30463c132278a2e0188ac45db891e1
MD5 b45d5857ba7e271118891e50e9005182
BLAKE2b-256 d6cf5f529b7b6ccb9d58e2ac8c608c48200983b434175d353de48e5a0d612993

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page