lachumproyale
Chieftain
- Joined
- Apr 22, 2020
- Messages
- 35
Futzing around with ARS's Improved Movement and I'm trying to add a new type of route: Basically a road for the atomic age that acts like a railroad (needs to be built) and can give its own unique bonuses. Basically a "highway." Can't seem to get it into the game though. here's what I have:
Code:
INSERT INTO Types (Type, Kind)
VALUES
('ROUTE_ATOMIC_ROAD', 'KIND_ROUTE');
INSERT INTO Routes (RouteType, Name, Description, PlacementValue, MovementValue SupportsBridges, PlacementRequiresRoutePresent, PlacementRequiresOwnedTile, PrereqEra)
VALUES
('ROUTE_ATOMIC_ROAD', 'LOC_ROUTE_ATOMIC_ROAD_NAME', 'LOC_ROUTE_ATOMIC_ROAD_DESCRIPTION', 5, .15, 'true', 'false', 'false', null);
INSERT INTO Routes_XP2 (RouteType, PrereqTech, BuildOnlyWithUnit, BuildWithUnitChargeCost)
VALUES
('ROUTE_ATOMIC_ROAD', 'TECH_PLASTICS','true', 0);
INSERT INTO Route_ResourceCosts (RouteType, BuildWithUnitCost, ResourceType)
VALUES
('ROUTE_ATOMIC_ROAD', 1, 'RESOURCE_OIL');
INSERT INTO Route_ValidBuildUnits (RouteType, UnitType)
VALUES
('ROUTE_ATOMIC_ROAD', 'UNIT_BUILDER'),
('ROUTE_ATOMIC_ROAD', 'UNIT_MILITARY_ENGINEER');
Last edited: