Skip to content

Project Ignis card script libraries and canonical card scripts for EDOPro. Send bug reports through Discord only!

Notifications You must be signed in to change notification settings

mcthreems/CardScripts

This branch is 3 commits ahead of, 4060 commits behind ProjectIgnis/CardScripts:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

760da25 · Mar 31, 2022
Dec 28, 2021
Mar 3, 2022
Mar 23, 2022
Oct 12, 2021
Mar 24, 2022
Mar 31, 2022
Nov 2, 2021
Mar 31, 2022
Mar 20, 2020
Jan 19, 2020
Aug 26, 2020
Mar 31, 2020
Aug 26, 2020
Mar 23, 2022
Mar 23, 2022
Mar 15, 2022
Oct 3, 2019
Sep 16, 2021
Mar 30, 2022
Dec 24, 2021
Jan 1, 2022
Aug 21, 2021
Aug 21, 2021
May 31, 2019
Mar 30, 2022
Sep 11, 2021
Apr 8, 2021
Apr 28, 2021
Feb 24, 2022
Nov 16, 2021
Mar 24, 2022

Repository files navigation

Project Ignis card scripts for EDOPro

The canonical card script collection for EDOPro.

This is home to our official card script project, with the fastest prerelease card script delivery and the most accurate rulings and mechanics, including pre-errata variants. This is also home to our unofficial card script project, documenting anime, manga, and video-game-exclusive cards as their display text is written.

The root folder here contains base scripts, constants and utilities, such as summon procedures.

Card scripts are written in Lua 5.3, targeting the embedded interpreter in our ocgcore. They are automatically synchronized with servers.

Contributing

Please keep all bug reports and questions on Discord; do NOT open an issue or pull request for this purpose.

Reach out to us on Discord to learn how to contribute and start scripting! Before opening a pull request, please speak with a member of staff in #card-scripting-101 first and read CONTRIBUTING.md.

Notes for maintainers: pull requests containing one or very few commits should generally be squash-merged to keep history clean

Travis CI

  • A basic Lua syntax check is done on scripts on pushes and pull requests. It loads constant.lua and utility.lua into ocgcore. Then it searches through one subfolder level for files of the form cX.lua, where X is an integer, loading them into the core as a dummy card with the same passcode. Three-digit passcodes and 151000000 are skipped.

  • The syntax checker will catch basic Lua syntax errors like missing end statements and runtime errors in initial_effect (or a lack of initial_effect in a card script). It will not catch runtime errors in other functions declared within a script unless they are called by initial_effect of some other script.

  • This is not a static analyzer and it will not catch incorrect parameters for calls outside of initial_effect or any other runtime error.

  • If a pushed HEAD commit title contains [ci skip], [skip ci], [travis skip], or [skip travis], this is skipped.

GitHub Actions

  • Scripts that have been added or changed since the last tag are committed directly to the delta repository to sync with clients.
  • Scripts that were deleted since the last Actions run are deleted from the delta repository.
  • If a pushed HEAD commit title contains [ci skip], [skip ci], [actions skip], or [skip actions], this is skipped.

Copyright notice and license

Copyright (C) 2020 Project Ignis contributors. See version history and author credit line for each file.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

About

Project Ignis card script libraries and canonical card scripts for EDOPro. Send bug reports through Discord only!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%