The cores in this repository are built from Satellaa/ygopro-core, with customizations to facilitate the creation of custom cards. Additionally, Satellaa/ygopro-core is open to new feature requests and suggestions via issues.
To use the cores in this repository, follow these steps:
- Add the following structure to the
config/user_configs.json
file. If the file does not exist, create it.
{
"repos": [
{
"url": "https://github.com/Satellaa/ocgcore.git",
"repo_name": "OCG-core",
"repo_path": "./repositories/OCG-core",
"script_path": "script",
"core_path": "bin",
"has_core": true,
"should_update": true,
"should_read": true
}
]
}
- Open the
config/configs.json
file and sethas_core
tofalse
.
That's it! Simply restart EDOPro and enjoy your new setup.
Currently, to use constants from script/extra_constant.lua
, you must add Duel.LoadScript("extra_constant.lua")
to the cards that use those constants. This issue will be fixed in the upcoming version of EDOPro, which will allow you to utilize init.lua
in the repository.