{"id":13635941,"url":"https://github.com/Numbuh214/EnhanceAPI","last_synced_at":"2025-04-19T04:31:44.933Z","repository":{"id":234660519,"uuid":"789325901","full_name":"Numbuh214/EnhanceAPI","owner":"Numbuh214","description":"Allows for the easy addition of custom enhancements","archived":false,"fork":false,"pushed_at":"2024-05-05T02:25:03.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-02T00:22:46.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Numbuh214.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-20T08:41:31.000Z","updated_at":"2024-05-05T02:25:06.000Z","dependencies_parsed_at":"2024-05-05T03:23:33.985Z","dependency_job_id":null,"html_url":"https://github.com/Numbuh214/EnhanceAPI","commit_stats":null,"previous_names":["numbuh214/enhanceapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numbuh214%2FEnhanceAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numbuh214%2FEnhanceAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numbuh214%2FEnhanceAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numbuh214%2FEnhanceAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Numbuh214","download_url":"https://codeload.github.com/Numbuh214/EnhanceAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223790511,"owners_count":17203355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-02T00:00:54.409Z","updated_at":"2024-11-09T05:31:08.167Z","avatar_url":"https://github.com/Numbuh214.png","language":"Lua","funding_links":[],"categories":["Mods (Require [**Steamodded**](https://github.com/Steamopollys/Steamodded))"],"sub_categories":["API"],"readme":"# Installation / Usage\n\n1.) After installing Steamodded (via Lovely or the old installer), download and extract this Lua file into its own folder in the Mods folder (%AppData/Roaming/Balatro/Mods).\n\n2.) In your own mod, define your Enhancement in the `INIT` function using this format:\n```\n{\n  name = \"Sample Enhancement\",\n  slug = \"m_sample\",\n  sprite = \"m_sample\",\n  pos = {x=0,y=0},\n  effect = \"Sample Enhancement\",\n  label = \"Sample Enhancement\",\n  playing_card = true,\n  display_face = true,\n  config = {},\n  loc_txt =\n  {\n    \"Describe your enhancement {C:attention}here{}\",\n    \"as you would {C:attention}anything{} else\"\n  }\n}\n```\n3.) Call the function `newEnhancement(table)` in order to insert your Enhancement into the custom table.\n\n4.) Define a sprite, in the same manner as you would for anything else.\n\nAnd that's your custom Enhancement added to the game! You'll have to create your own logic and such, depending on what you want the enhancement to actually *do*... but I know you'll do great things now that it's easy to get started!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNumbuh214%2FEnhanceAPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNumbuh214%2FEnhanceAPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNumbuh214%2FEnhanceAPI/lists"}