server/contrib
Schmoozerd 8c29893310 [11964] Implement new conditions system
Tree-like design idea by Faramir118, thanks for that!

* Add `conditions` table to store conditions.
* REPLACE current handling of conditions for the *_loot_template tables
  Convert the old conditions in *_loot_template to the new system by SQL-Queries
* ADD support for new conditions to gossip_menu and gossip_menu_option.
  If for these tables no condition_id (new system) is provided, the old conditions will still be used
* Add a small helper python script to contrib/convertConditions, see README there for details
* Add new command to reload the `conditions` table (.reload conditions)
* Add two Meta-Condition types CONDITION_AND (-1) and CONDITION_OR (-2) which are used as:
  value1 (as condition_entry) AND / OR value2 (as condition_entry)

  With these meta-conditions it is possible to create tree like and very complicated combined conditions (like HasAura && (HasItem || HasQuest))

NOTE about conversion:
For easier convertion all the old table data is still preserved, but will be removed eventually (within a circle of the moon approximately)
The python script will not create an optimal initial fill of the `conditions` table. You might want to tweak it manually or suggest some optimized algorithm :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-15 23:06:00 +02:00
..
convertConditions [11964] Implement new conditions system 2012-04-15 23:06:00 +02:00
dbcEditer [11066] Remove tail whitespaces. 2011-01-25 00:22:29 +03:00
dbcformat [11066] Remove tail whitespaces. 2011-01-25 00:22:29 +03:00
extractor [11917] Increment map version magic. You have to re-extract maps, vmaps and mmaps 2012-02-07 00:02:28 +01:00
extractor_binary [11941] Implement effects for spells 27687, 27695 2012-04-06 23:51:21 +02:00
git_id [11936] Add git_id (*nix version) to .gitignore 2012-03-31 03:38:53 +02:00
mmap [11924] fix MoveMapGen vc90 build problems (add missing project dependencies) thx Thermaltake 2012-02-07 23:59:59 +02:00
mysql_to_pgsql [11875] Update Copyright notice to year 2012 2012-01-16 17:43:59 +01:00
soap [11875] Update Copyright notice to year 2012 2012-01-16 17:43:59 +01:00
vmap_assembler [11875] Update Copyright notice to year 2012 2012-01-16 17:43:59 +01:00
vmap_extractor_v3 [11916] Remove old binaries for extraction 2012-02-06 23:57:24 +01:00