Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/maps/tutorials/Introductory_Tutorial.js
Trigger.prototype.tutorialGoals = [ | Trigger.prototype.tutorialGoals = [ | ||||
{ | { | ||||
"instructions": markForTranslation("Welcome to the 0 A.D. tutorial."), | "instructions": markForTranslation("Welcome to the 0!A.D. tutorial."), | ||||
}, | }, | ||||
{ | { | ||||
"instructions": markForTranslation("Left-click on a female citizen and then right-click on a berry bush to make that female citizen gather food. Female citizens gather vegetables faster than other units."), | "instructions": markForTranslation("Left-click on a female citizen and then right-click on a berry bush to make that female citizen gather food. Female citizens gather vegetables faster than other units."), | ||||
"OnPlayerCommand": function(msg) | "OnPlayerCommand": function(msg) | ||||
{ | { | ||||
if (msg.cmd.type == "gather" && msg.cmd.target && | if (msg.cmd.type == "gather" && msg.cmd.target && | ||||
TriggerHelper.GetResourceType(msg.cmd.target).specific == "fruit") | TriggerHelper.GetResourceType(msg.cmd.target).specific == "fruit") | ||||
this.NextGoal(); | this.NextGoal(); | ||||
▲ Show 20 Lines • Show All 404 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator