So, WaveJones has helped me out, and it was fixed… But then, I started getting errors, I looked around the forums and I saw that @SirEverard suggested using a program to run it through, this is what I got:
1 var PGP = {};
2 (function () {
3 pgp.addPlatform = function () {
4 var icon = ‘.\mods\PlayGameMod\console\playBox.png’;
5 GDT.addPlatform1 = function ()
6 {
7 id: ‘playBoxA’,
======^
lint warning: use of label
==================^
lint warning: multiple statements separated by commas (use semicolons?)
8 name: ‘PlayBox’,
========^
SyntaxError: invalid label
9 company: ‘PlayGame Productions’,
10 startAmount: 0.15,
11 unitsSold: 0.698,
12 licencePrize: 5000,
13 published: ‘1/2/1’,
14 platformRetireDate: ‘10/6/2’,
15 developmentCosts: 10000,
16 genreWeightings: [1, 1, 1, 1, 1, 1],
17 audienceWeightings: [1, 1, 1],
18 techLevel: 1,
19 iconUri: icon,
20 events: [
21 {
22 id: ‘10537DA1-58F1-4F23-8854-F1E2621933ZG’,
23 date: ‘1/1/3’,
24 getNotification: function (company) {
25 return new Notification({
26 header: “Industry News”.localize(),
27 text: “Thanks to WaveJones, now the renown game company PlayGame Productions has recently announced that there brand new game console, the PlayBox, has hit RTM and will be in shelves next month! {0}.”.localize().format(General.getETADescription(‘1/2/1’, ‘1/3/4’)),
28 image: icon
29 });
30 }
31 }
32 ]
33 });
34 };
35
36
Sorry that it is messy,