Code: Alles auswählen
STARTING
begin
game_speed=7;
SetArtifactUse(1, art_use_eye , state_researched, 0);
end;
on ArtifactUsed(side, nr, par, par2) do
begin
if nr=art_use_eye then PlaceSeeing(par,par2,1,16);
end;
Code: Alles auswählen
STARTING
begin
game_speed=7;
SetArtifactUse(1, art_use_eye , state_researched, 0);
end;
on ArtifactUsed(side, nr, par, par2) do
begin
if nr=art_use_eye then PlaceSeeing(par,par2,1,16);
end;
Code: Alles auswählen
FindArtifact(art_num); // art_num oznacza numer artefaktu.
// można z niej wydobyć koordy w taki sposób:
x := FindArtifact(1)[1];
y := FindArtifact(1)[2];
Code: Alles auswählen
SetArtifactUse(side, art_icon, art_behav, building);