I see these 2 code blocks that deal with whether a unit can be built by city state or spawned by barbarian camps or not. But I don't understand if they mean the same thing or opposite. For example:
So is #1 removing the unit from City-State build list and #2 that also does it (same results), or is #1 removing and #2 adding Slinger to the build list (different results)?
#2 is confusing to me because there is also a line you could write ('CIVILIZATION_MINOR', 'UNITCLASS_VP_SLINGER', UNIT_VP_SLINGER); which makes sense as adding the unit to the build list.
XML:
#1
DELETE FROM Civilization_UnitClassOverrides
WHERE CivilizationType = 'CIVILIZATION_MINOR' AND
UnitClassType IN (
'UNITCLASS_VP_SLINGER';
#2
INSERT INTO Civilization_UnitClassOverrides
(CivilizationType, UnitClassType, UnitType)
VALUES
('CIVILIZATION_MINOR', 'UNITCLASS_VP_SLINGER', NULL);
So is #1 removing the unit from City-State build list and #2 that also does it (same results), or is #1 removing and #2 adding Slinger to the build list (different results)?
#2 is confusing to me because there is also a line you could write ('CIVILIZATION_MINOR', 'UNITCLASS_VP_SLINGER', UNIT_VP_SLINGER); which makes sense as adding the unit to the build list.
Last edited: