Automatically add imported creatures and traps to VCC compendium

Project:Virtual Combat Cards
Version:1.4.0
Component:Code
Category:feature request
Priority:normal
Assigned:Nebulorum
Status:closed
Description

The idea is to remove the added step of importing the captured information to the VCC Compendium.

I have been fiddling with this idea for some time. The idea is to do one use the following logic:

  1. If the creatures is not in the compendium added immediately;
  2. When it is already in the compendium maybe check if it has been manually edited. If not import again (this could be due to some update on the entry).

Alternatively we could have some flag to always import (maybe a configuration option). Number 2 above will depend of how much time this feature in general take to make.

#1

Status:active» patch (ready to commit)

To keep the logic simple, the import logic will check if the entity being imported is present in the VCC database. If it's not present, the logic will automattically add the entity to the database import. This preserves any customization done by the user.

#2

Version:1.8.x-dev» 1.4.0
Status:patch (ready to commit)» fixed

Included on version 1.4.0. We limited the scope of this fix to automatically importing creatures that are not in the VCC compendium. If it is present in the compendium you'll to import it manually.

#3

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.