view update
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
'use strict';
|
||||
const RC = (root.RC = root.RC || {});
|
||||
|
||||
RC.WEIGHT_LIMIT = 100; // kg, single weight class in v1
|
||||
// Weight classes. RC.WEIGHT_LIMIT follows the chosen class (see RC.setClass in ai.js);
|
||||
// 'heavy' is as much as the catalogue can carry, so it is effectively "build what you like".
|
||||
RC.CLASSES = [{ id: 'light', max: 60 }, { id: 'medium', max: 100 }, { id: 'heavy', max: 130 }];
|
||||
RC.WEIGHT_LIMIT = 100; // medium is the default
|
||||
RC.SLOTS = ['chassis', 'motor', 'wheels', 'battery', 'armour', 'weapon', 'tower', 'gadget'];
|
||||
RC.REQUIRED = { chassis: true, motor: true, wheels: true, battery: true };
|
||||
|
||||
@@ -24,12 +27,18 @@
|
||||
{ id: 'fang', slot: 'chassis', name: 'Fang', cost: 860, weight: 26, hp: 120, len: 1.55, wid: 1.0, h: 0.36, shape: 'arrow', lowProfile: true, frontArmour: 0.12 },
|
||||
{ id: 'plough', slot: 'chassis', name: 'Snowplough', cost: 980, weight: 36, hp: 150, len: 1.45, wid: 1.2, h: 0.42, shape: 'plow', frontArmour: 0.22 },
|
||||
{ id: 'discus', slot: 'chassis', name: 'Discus', cost: 1350, weight: 32, hp: 155, len: 1.5, wid: 1.35, h: 0.3, shape: 'saucer', lowProfile: true },
|
||||
{ id: 'orb', slot: 'chassis', name: 'Orb', cost: 700, weight: 28, hp: 140, len: 1.2, wid: 1.2, h: 0.62, shape: 'ball', frontArmour: 0.1 },
|
||||
{ id: 'tower', slot: 'chassis', name: 'Tower', cost: 640, weight: 27, hp: 125, len: 1.1, wid: 1.0, h: 0.82, shape: 'tower' },
|
||||
{ id: 'slab', slot: 'chassis', name: 'Slab', cost: 820, weight: 33, hp: 150, len: 1.55, wid: 1.4, h: 0.26, shape: 'slab', lowProfile: true },
|
||||
|
||||
// motor: force (N), top speed (m/s)
|
||||
{ id: 'sparky', slot: 'motor', name: 'Sparky 2kW', cost: 100, weight: 8, power: 3, force: 650, speed: 4.0 },
|
||||
{ id: 'hornet', slot: 'motor', name: 'Hornet 3kW', cost: 420, weight: 10, power: 5, force: 850, speed: 5.0 },
|
||||
{ id: 'bulldog', slot: 'motor', name: 'Bulldog Torque', cost: 680, weight: 14, power: 6, force: 1250, speed: 4.3 },
|
||||
{ id: 'comet', slot: 'motor', name: 'Comet 5kW', cost: 1250, weight: 12, power: 8, force: 1150, speed: 6.2 },
|
||||
{ id: 'pico', slot: 'motor', name: 'Pico 1kW', cost: 60, weight: 5, power: 2, force: 440, speed: 3.4 },
|
||||
{ id: 'turbine', slot: 'motor', name: 'Turbine 4kW', cost: 560, weight: 11, power: 6, force: 980, speed: 5.4 },
|
||||
{ id: 'titandrive', slot: 'motor', name: 'Titan Drive', cost: 1100, weight: 18, power: 9, force: 1500, speed: 3.8 },
|
||||
|
||||
// wheels: speed factor, lateral grip, turn rate (rad/s), push factor; invertible = drives upside down
|
||||
{ id: 'rubber', slot: 'wheels', name: 'Rubber 4x', cost: 60, weight: 4, speedMul: 1.0, grip: 7, turn: 2.8, push: 1.0, kind: 'small' },
|
||||
|
||||
Reference in New Issue
Block a user