Skip to content

Commit

Permalink
Cleanup tutorial and fastplay scripts
Browse files Browse the repository at this point in the history
- Assign tech to artifact directly in fastplay.
- Don't add an oilResource which appears to come with the map, nor does the artifact seemingly exist anymore at the start.
  • Loading branch information
KJeff01 committed Apr 21, 2024
1 parent 2568be6 commit 286e68d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions data/base/script/fastplay/fastdemo.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,10 @@ function eventStartLevel()
},
});

camSafeRemoveObject("flamerArti", false);
camSetArtifacts({
"base1Factory": { tech: ["R-Defense-Tower01", "R-Wpn-MG-Damage02"] },
"base1PowerGenerator": { tech: "R-Struc-PowerModuleMk1" },
"artifactPos": { tech: "R-Wpn-Flamer01Mk1" },
"flamerArti": { tech: "R-Wpn-Flamer01Mk1" },
"radarTower": { tech: "R-Sys-Sensor-Turret01" },
"base2Factory": { tech: ["R-Vehicle-Prop-Halftracks", "R-Wpn-Flamer-Damage01"] },
"bunkerArti": { tech: ["R-Sys-Engineering01", "R-Sys-MobileRepairTurret01" ]},
Expand Down
3 changes: 0 additions & 3 deletions data/base/script/tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,6 @@ function eventStartLevel()
setStructureLimits(cam_base_structures.powerGenerator, 1, CAM_HUMAN_PLAYER);
setStructureLimits(cam_base_structures.researchLab, 1, CAM_HUMAN_PLAYER);

camSafeRemoveObject("mgArtifact", false);
addFeature("OilResource", 24, 26);

setMiniMap(true);
setDesign(false);

Expand Down

0 comments on commit 286e68d

Please sign in to comment.