{"id":16122044,"url":"https://github.com/foxcapades/renpy-callback-list","last_synced_at":"2026-03-18T18:02:08.924Z","repository":{"id":184700002,"uuid":"672334480","full_name":"Foxcapades/renpy-callback-list","owner":"Foxcapades","description":"Create lists of character callbacks with ease!","archived":false,"fork":false,"pushed_at":"2023-07-31T17:20:31.000Z","size":1149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T11:48:37.859Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ren'Py","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Foxcapades.png","metadata":{"files":{"readme":"readme.adoc","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-29T18:06:29.000Z","updated_at":"2023-07-29T18:35:41.000Z","dependencies_parsed_at":"2024-11-01T05:25:11.258Z","dependency_job_id":"7b017cbe-12eb-45e0-bd28-448ee1f2be0c","html_url":"https://github.com/Foxcapades/renpy-callback-list","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"043d008809c80dad46c919c669dddbb01d894d77"},"previous_names":["foxcapades/renpy-callback-list"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Foxcapades/renpy-callback-list","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Frenpy-callback-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Frenpy-callback-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Frenpy-callback-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Frenpy-callback-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Foxcapades","download_url":"https://codeload.github.com/Foxcapades/renpy-callback-list/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Foxcapades%2Frenpy-callback-list/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29844845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T21:09:10.395Z","updated_at":"2026-02-25T23:06:39.603Z","avatar_url":"https://github.com/Foxcapades.png","language":"Ren'Py","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Ren'Py Character Callback List\n\nCreate lists of character callbacks with ease!\n\nHave you ever needed to create multiple callbacks on the same character that\ndo different things?  Do you not want to have to cram unrelated things into a\nsingle callback?  If so, this is the tool for you!\n\nThis library provides a new class called `CallbackList` that allows you to group\nmultiple character callbacks into a single callable!\n\nIt's just a class wrapping a list of callbacks, it's that simple!\n\n[IMPORTANT]\n--\nThis library only supports Ren'Py versions 8.1+\n--\n\n== Usage\n\n[source, python]\n----\ninit python:\n    def callback1(event, interact=True, **kwargs):\n        ...\n\n    def callback2(event, interact=True, **kwargs):\n        ...\n\ndefine e = Character(\"Eileen\", callback=CallbackList(callback1, callback2))\n----\n\n. Create your character callbacks.\n. Define your character(s)\n. Create a `CallbackList`\n. Pass that `CallbackList` to the character(s) with the `callback` keyword.\n\n=== Examples\n\n*Inline CallbackLists*\n\n--\nIf you only have one character that you want to apply the `CallbackList` to,\nyou can inline the construction of that `CallbackList` in the character\nconstructor:\n\n[source, python]\n----\ndefine e = Character(\"Eileen\", callback=CallbackList(callback1, callback2))\n----\n--\n\n*Separate CallbackLists*\n\n--\nIf you want to use the same `CallbackList` for multiple characters, you may\ndefine it separately and pass it to the character constructors:\n\n[source, python]\n----\ndefine my_cb_list = CallbackList(callback1, callback2)\n\ndefine a = Character(\"Annie\", callback=my_cb_list)\ndefine e = Character(\"Eileen\", callback=my_cb_list)\n----\n--\n\n== License\n\nThis source code and project are released under the MIT license, which to\nparaphrase in a way that is not legally binding:\n\n* You can use it for free things\n* You can use it for paid things\n* You can modify it however you see fit\n* You can redistribute it as you see fit\n* Go nuts!\n\nFor a better breakdown of what the license actually means see:\nhttps://choosealicense.com/licenses/mit/\n\nI do ask that you credit me in some way, but if you don't I'm not gonna call the\nopen-source police on you.  If you do choose to credit me you can do so by\nproviding a link to my link:https://github.com/Foxcapades[GitHub], my\nlink:https://foxcapades.itch.io/[Itch.io], or just call me Foxcapades.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxcapades%2Frenpy-callback-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxcapades%2Frenpy-callback-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxcapades%2Frenpy-callback-list/lists"}