{"id":13661860,"url":"https://github.com/carreraSilvio/RPGDatabase","last_synced_at":"2025-04-25T06:30:40.786Z","repository":{"id":151795956,"uuid":"363222210","full_name":"carreraSilvio/RPGDatabase","owner":"carreraSilvio","description":"RPG Database for Unity. Create and manage data for your RPG.","archived":false,"fork":false,"pushed_at":"2021-04-30T18:09:59.000Z","size":2424,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-10T17:45:15.531Z","etag":null,"topics":["database","rpg","tool","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/carreraSilvio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2021-04-30T18:09:30.000Z","updated_at":"2024-07-12T03:26:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"f06ee357-ef2e-4838-a981-57b07815571c","html_url":"https://github.com/carreraSilvio/RPGDatabase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carreraSilvio%2FRPGDatabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carreraSilvio%2FRPGDatabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carreraSilvio%2FRPGDatabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carreraSilvio%2FRPGDatabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carreraSilvio","download_url":"https://codeload.github.com/carreraSilvio/RPGDatabase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250766999,"owners_count":21483903,"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":["database","rpg","tool","unity"],"created_at":"2024-08-02T05:01:42.962Z","updated_at":"2025-04-25T06:30:39.552Z","avatar_url":"https://github.com/carreraSilvio.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# RPG Database\nCreate and manage the data for your RPG. It allows you to create the basic set-up for your grand adventure!\n\n![Imgur](https://i.imgur.com/PbIrcef.gif)\n\n## Features\n* Actors: Create the characters that will take part in your adventure.\n* Classes: Define how attributes will grow, weapons allowed and skills it unlocks.\n* Skills: Robust options to create many types of skills.\n* Items: Potions, antidotes, bombs or quest items. Configure the items in your game.\n* Weapons: Create all the weapons the game will have and how they will affect the actors.\n\n## Prerequisites\nUnity 2018.3 and up\n\n## Install\n\n### Unity 2019.3\n1. Open the package manager and point to the repo URL\n\n![Imgur](https://i.imgur.com/iYGgINz.png)\n\n### Before Unity 2019.3\n\n#### Option A\n1. Open the manifest\n2. Add the repo URL either via https or ssh\n\n\t\t{\n    \t\t\"dependencies\": {\n        \t\t\"com.brightlib.rpgdatabase\": \"https://bitbucket.org/carreraSilvio/rpgdatabase.git\"\n    \t\t}\n\t\t}\n\n#### Option B\n1. Clone or download the project zip\n2. Inside your project Assets folder create a folder called RPGDatabase\n3. Copy the repo there\n\n## Usage\n\n### Edit Database\n1. Go to Tools/Database\n2. Pick a tab you want to access the data\n3. Alter the data as you see fit for your game\n4. Do a \"File/Save\" or close the window to ensure the data is saved\n\n### Read Database\n\n```csharp\n//Loading database\nvar _database = new RPGDatabaseManager();\n_database.Load();\n\n//Fetching data \nvar actorList = _database.FetchEntry\u003cActorDataList\u003e();\nforeach(var actor in actorList)\n{\n    var className = _database.FetchClassData(actorData.classId).name;\n    var hpAtLv = _database.FetchAmount(actor.Id, 10, ActorAttributeType.HP);\n    Debug.Log($\"Actor name is {actor.name}\");\n    Debug.Log($\"Actor class is {className}\");\n    Debug.Log($\"Actor HP at level 10 is {hpAtLv}\");\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcarreraSilvio%2FRPGDatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FcarreraSilvio%2FRPGDatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcarreraSilvio%2FRPGDatabase/lists"}