db0 / godot-card-game-framework

A framework which comes with prepared scenes and classes to kickstart your card game, as well as a powerful scripting engine to use to provide full rules enforcement.
http://dbzer0.com/projects/godot-card-game-framework/
GNU Affero General Public License v3.0
907 stars 96 forks source link

Store the set name in the card properties somehow #64

Open db0 opened 3 years ago

db0 commented 3 years ago

Because many games allow cards with the same name in different sets, using the set should be a way to differentiate.

Technically I could go full geek and just make each dictionary key a UUID or something, but I've used OCTGN which does this method, and it's a PITA to work with.

ophoria commented 3 years ago

An approach is to let one of the cards (with same names but from different sets, or prints, or whatever) be some kind of "default" and trat all others as "alternate" versions of it. Doesn't really answer your issue though, but most games will not have a card in multiple versions, not will they have plenty of them.