Differential D2952 Diff 14052 ps/trunk/binaries/data/mods/public/simulation/components/tests/test_Foundation.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/simulation/components/tests/test_Foundation.js
Show All 13 Lines | |||||
Engine.LoadComponentScript("AutoBuildable.js"); | Engine.LoadComponentScript("AutoBuildable.js"); | ||||
Engine.LoadComponentScript("Foundation.js"); | Engine.LoadComponentScript("Foundation.js"); | ||||
Engine.LoadComponentScript("Timer.js"); | Engine.LoadComponentScript("Timer.js"); | ||||
let player = 1; | let player = 1; | ||||
let playerEnt = 3; | let playerEnt = 3; | ||||
let foundationEnt = 20; | let foundationEnt = 20; | ||||
let previewEnt = 21; | let previewEnt = 21; | ||||
let newEnt = 22; | let newEnt = 22; | ||||
let finalTemplate = "structures/athen_civil_centre.xml"; | let finalTemplate = "structures/athen/civil_centre.xml"; | ||||
function testFoundation(...mocks) | function testFoundation(...mocks) | ||||
{ | { | ||||
ResetState(); | ResetState(); | ||||
let foundationHP = 1; | let foundationHP = 1; | ||||
let maxHP = 100; | let maxHP = 100; | ||||
let rot = new Vector3D(1, 2, 3); | let rot = new Vector3D(1, 2, 3); | ||||
▲ Show 20 Lines • Show All 237 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator