Skip to content

Commit 0836a11

Browse files
authored
Merge pull request #105 from kwadukathole/bugfix/pwpIngameListCorrection
Added missing pwp and translations to pwp ingame list
2 parents c291934 + 8772e88 commit 0836a11

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

js/buildings.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ var BUILDINGS=[
222222

223223

224224
const PWPS_INGAME_LIST=[
225-
['default projects list'],
226-
['topiaries','topiaires','Buchsbaums','sculturas arboreas','setos'],
227-
['unknown renovations 2'], //Club LOL + Fortune Teller?
228-
['unknown renovations 3'], //dream suite + museum renovation?
225+
['default projects list','liste des projets par défaut','Standard-Bauprojekte','elenco dei progetti predefiniti','lista de proyectos predeterminados'],
226+
['topiaries','topiaires','Buchsbaumskulpturen','sculturas arboreas','setos'],
227+
['dream suite','institut du rêve','Schlummerhaus','casa del sogno','casa del sueño'],
228+
['museum renovation','rénovation du musée','Museumsausbau','ristrutturazione del museo','renovación del museo'],
229229
BUILDINGS[20][4],
230230
BUILDINGS[21][4],
231-
['town hall renovation+flower clock'],
232-
['train station renovation'],
231+
['town hall renovation+flower clock','rénovation de la mairie+horloge florale','Rathausumbau+Blumenuhr','nuovo municipio+orologio floreale','nuevo ayuntamiento+reloj de flores'],
232+
['train station reconstruction','rénovation de la gare','Bahnhofsumbau','nuova stazione','nueva estación'],
233233
BUILDINGS[103][4],
234234
BUILDINGS[106][4],
235235
BUILDINGS[102][4],
@@ -295,11 +295,12 @@ const PWPS_INGAME_LIST=[
295295
BUILDINGS[151][4],
296296
BUILDINGS[153][4],
297297
["police station","poste police","Polizeizentrale","staz. di polizia","comisaría"],
298-
["suspension bridge","pont suspendu","Hängebrücke","ponte sospeso","puente colgante"],
298+
BUILDINGS[165][4],
299299
["brick bridge","pont en brique","Backsteinbrücke","ponte di mattoni","puente de ladrillo"],
300300
["modern bridge","pont moderne","Betonbrücke","ponte moderno","puente moderno"],
301-
["cobblestone bridge","pont en pierre","Steinbrücke","ponte di pietra","puente de piedra"],
301+
BUILDINGS[135][4],
302302
BUILDINGS[163][4],
303303
BUILDINGS[148][4],
304-
BUILDINGS[150][4]
304+
BUILDINGS[150][4],
305+
["fortune-teller's shop",'cabinet de voyance','Wahrsagerladen','negozio della veggente','tienda de la adivina']
305306
];

js/editor_garden.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ function Town(){
591591
}
592592

593593
/* read unlocked PWPs */
594-
this.availablePWPs=new BitArray(Offsets.TOWN_AVAILABLEPWPS, el('pwps-available'), PWPS_INGAME_LIST, 80);
594+
this.availablePWPs=new BitArray(Offsets.TOWN_AVAILABLEPWPS, el('pwps-available'), PWPS_INGAME_LIST, 81);
595595
}
596596
Town.prototype.fixBuildingCounters=function(){
597597
var nBuildings=0;

0 commit comments

Comments
 (0)