mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-04-04 22:47:23 +02:00
refactor: marker methods to use underscore for unused parameters
This commit is contained in:
parent
2630a8b784
commit
725694efe5
1 changed files with 8 additions and 8 deletions
|
|
@ -1072,7 +1072,7 @@ class MarkersModule {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addSeaMonster(id: string, cell: number) {
|
private addSeaMonster(id: string, _cell: number) {
|
||||||
const name = `${Names.getCultureShort(0)} Monster`;
|
const name = `${Names.getCultureShort(0)} Monster`;
|
||||||
const length = gauss(25, 10, 10, 100);
|
const length = gauss(25, 10, 10, 100);
|
||||||
const legend = `Old sailors tell stories of a gigantic sea monster inhabiting these dangerous waters. Rumors say it can be ${length} ${heightUnit.value} long.`;
|
const legend = `Old sailors tell stories of a gigantic sea monster inhabiting these dangerous waters. Rumors say it can be ${length} ${heightUnit.value} long.`;
|
||||||
|
|
@ -1312,7 +1312,7 @@ class MarkersModule {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addPirates(id: string, cell: number) {
|
private addPirates(id: string, _cell: number) {
|
||||||
const name = "Pirates";
|
const name = "Pirates";
|
||||||
const legend = "Pirate ships have been spotted in these waters.";
|
const legend = "Pirate ships have been spotted in these waters.";
|
||||||
notes.push({ id, name, legend });
|
notes.push({ id, name, legend });
|
||||||
|
|
@ -1376,7 +1376,7 @@ class MarkersModule {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addRuins(id: string, cell: number) {
|
private addRuins(id: string, _cell: number) {
|
||||||
const types = [
|
const types = [
|
||||||
"City",
|
"City",
|
||||||
"Town",
|
"Town",
|
||||||
|
|
@ -1430,7 +1430,7 @@ class MarkersModule {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addCircus(id: string, cell: number) {
|
private addCircus(id: string, _cell: number) {
|
||||||
const adjectives = [
|
const adjectives = [
|
||||||
"Fantastical",
|
"Fantastical",
|
||||||
"Wondrous",
|
"Wondrous",
|
||||||
|
|
@ -1520,7 +1520,7 @@ class MarkersModule {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addMigration(id: string, cell: number) {
|
private addMigration(id: string, _cell: number) {
|
||||||
const animals = [
|
const animals = [
|
||||||
"Antelopes",
|
"Antelopes",
|
||||||
"Apes",
|
"Apes",
|
||||||
|
|
@ -1629,7 +1629,7 @@ class MarkersModule {
|
||||||
return cells.i.filter((i) => !this.occupied[i] && cells.biome[i] === 1);
|
return cells.i.filter((i) => !this.occupied[i] && cells.biome[i] === 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addMirage(id: string, cell: number) {
|
private addMirage(id: string, _cell: number) {
|
||||||
const adjectives = [
|
const adjectives = [
|
||||||
"Entrancing",
|
"Entrancing",
|
||||||
"Diaphanous",
|
"Diaphanous",
|
||||||
|
|
@ -1710,7 +1710,7 @@ class MarkersModule {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addRift(id: string, cell: number) {
|
private addRift(id: string, _cell: number) {
|
||||||
const types = [
|
const types = [
|
||||||
"Demonic",
|
"Demonic",
|
||||||
"Interdimensional",
|
"Interdimensional",
|
||||||
|
|
@ -1741,7 +1741,7 @@ class MarkersModule {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addDisturbedBurial(id: string, cell: number) {
|
private addDisturbedBurial(id: string, _cell: number) {
|
||||||
const name = "Disturbed Burial";
|
const name = "Disturbed Burial";
|
||||||
const legend =
|
const legend =
|
||||||
"A burial site has been disturbed in this area, causing the dead to rise and attack the living.";
|
"A burial site has been disturbed in this area, causing the dead to rise and attack the living.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue