WatcherNinth
Chieftain
- Joined
- Mar 8, 2017
- Messages
- 10
As the first one ,it seems easy to simply add a new kind of victory into the table and set the RequirmentSet properly to trigger the victory ,but I worry about how to change UI to fit this new Victory.I'll try to trigger a exist victory in a new way(like Utopia Project) soon.
As the second one, the table is
WMD cannot add modifiers(or I don't know how to trigger after I add it), so the function is great limited.But at least the fallout duration can be set to 0 to erase the fallout effect, makes it seems "non-nuke".but will it be successfully drop out by a WMD capable unit remains to be tested.
As the second one, the table is
Code:
CREATE TABLE "WMDs" (
"WeaponType" TEXT NOT NULL,
"Name" TEXT NOT NULL,
"BlastRadius" INTEGER NOT NULL DEFAULT 1,
"FalloutDuration" INTEGER NOT NULL DEFAULT 0,
"AffectPopulation" BOOLEAN NOT NULL CHECK (AffectPopulation IN (0,1)) DEFAULT 0,
"AffectImprovements" BOOLEAN NOT NULL CHECK (AffectImprovements IN (0,1)) DEFAULT 0,
"AffectBuildings" BOOLEAN NOT NULL CHECK (AffectBuildings IN (0,1)) DEFAULT 0,
"AffectUnits" BOOLEAN NOT NULL CHECK (AffectUnits IN (0,1)) DEFAULT 0,
"AffectResources" BOOLEAN NOT NULL CHECK (AffectResources IN (0,1)) DEFAULT 0,
"AffectRoutes" BOOLEAN NOT NULL CHECK (AffectRoutes IN (0,1)) DEFAULT 0,
"ICBMStrikeRange" INTEGER NOT NULL DEFAULT 0,
"Maintenance" INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY(WeaponType));