Fix the effects used by script (no longer restricted on category / group), and fix many effects headers
This commit is contained in:
@@ -149,10 +149,12 @@ QUERY_ALLEFFECTS = 'SELECT effectID, effectName FROM dgmeffects'
|
||||
# Limit categories to Ships (6), Modules (7), Charges (8), Skills (16),
|
||||
# Drones (18), Implants (20), Subsystems (32), and groups to
|
||||
# Effect Beacons (920)
|
||||
# edit - remove the restrictions here - it's a wide open selection of all typeid's
|
||||
# didn't want to muck too much with the code, but wanted to get most of the new stuff
|
||||
# updated correctly - @blitzmann
|
||||
QUERY_PUBLISHEDTYPEIDS = 'SELECT it.typeID FROM invtypes AS it INNER JOIN \
|
||||
invgroups AS ig ON it.groupID = ig.groupID INNER JOIN invcategories AS ic ON \
|
||||
ig.categoryID = ic.categoryID WHERE it.published = 1 AND (ic.categoryID IN \
|
||||
(6, 7, 8, 16, 18, 20, 32) OR ig.groupID = 920)'
|
||||
ig.categoryID = ic.categoryID'
|
||||
QUERY_TYPEID_GROUPID = 'SELECT groupID FROM invtypes WHERE typeID = ? LIMIT 1'
|
||||
QUERY_GROUPID_CATEGORYID = 'SELECT categoryID FROM invgroups WHERE \
|
||||
groupID = ? LIMIT 1'
|
||||
|
||||
Reference in New Issue
Block a user