Fluorohydride / ygopro

A script engine for "yu-gi-oh!" and sample gui
GNU General Public License v2.0
1.84k stars 596 forks source link

How are the lua files for each card and ai linked to the program when the duel starts? #2323

Open egycno opened 3 years ago

egycno commented 3 years ago

1- How are the lua files for each card and ai linked to the program when the duel starts? And what file is responsible for that?

2- How to determine the coordinates of each part of the field (monster zone, hand, graveyard..etc), for example when summoning a monster from an extra deck to one of the five cells of the monster zone, how does that happen? And what is the file that performs that function?

purerosefallen commented 2 years ago

For question 1: in data_manager.cpp. Take a look of the script reader things.