Skip to content

Commit

Permalink
Version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LuqueDaniel committed Aug 29, 2016
1 parent 0881ffa commit 5aac5f6
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 48 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GDT - Visual Novel Mod
==========================================================================
This Game Dev Tycoon mod adds some new topics and researches related to visual novels.

**Version**: 0.2<br />
**Version**: 0.3<br />
**Requires API version**: 0.1.x<br />
**[Steam Workshop page.](http://steamcommunity.com/sharedfiles/filedetails/?id=299122114&searchtext=)**

Expand Down
4 changes: 2 additions & 2 deletions visualnovel-mod/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "visualnovelMod",
"name": "Visual Novel Mod",
"version": "0.2",
"version": "0.3",
"description": "This Game Dev Tycoon mod adds some new topics and researches related to visual novels.",
"image": "vn_mod_thumbnail.png",
"author": "DanielL501",
Expand All @@ -10,4 +10,4 @@
"dependencies": {
"gdt-modAPI": "0.1.x"
}
}
}
8 changes: 4 additions & 4 deletions visualnovel-mod/vnMod.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
var ready = function () {
//Adds topics
vnTopics.addTopics();

//Adds researchs
vnResearch.addResearchs();
};

var error = function () {
};

GDT.loadJs(
[
//Visual Novel Mod files
'vnMod/vnTopics.js',
'vnMod/vnResearchs.js'
], ready, error);
})();
})();
74 changes: 56 additions & 18 deletions visualnovel-mod/vnMod/vnResearchs.js
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
var vnResearch = {};

(function () {

vnResearch.addResearchs = function () {
//Add 3D Characters
GDT.addResearchItem(
{
id:"vnMod/3D Characters",
name: "3D Characters".localize(),
v: 10,
v: 8,
canResearch: function (company) {
return LevelCalculator.getMissionLevel('Engine') >= 5 && company.currentLevel >= 2
},
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add 3D Backgrounds
GDT.addResearchItem(
{
id:"vnMod/3D Backgrounds",
name: "3D Backgrounds".localize(),
v: 10,
v: 8,
canResearch: function (company) {
return LevelCalculator.getMissionLevel('Engine') >= 5 && company.currentLevel >= 2
},
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Auto Advance
GDT.addResearchItem(
{
Expand All @@ -41,7 +41,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Auto Save
GDT.addResearchItem(
{
Expand All @@ -54,7 +54,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add CG Gallery
GDT.addResearchItem(
{
Expand All @@ -67,7 +67,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Fast Skip
GDT.addResearchItem(
{
Expand All @@ -80,7 +80,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Multi Character
GDT.addResearchItem(
{
Expand All @@ -93,7 +93,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Music Gallery
GDT.addResearchItem(
{
Expand All @@ -106,7 +106,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add NVL Mode
GDT.addResearchItem(
{
Expand All @@ -119,7 +119,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Quick Saving
GDT.addResearchItem(
{
Expand All @@ -132,7 +132,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Scenes Gallery
GDT.addResearchItem(
{
Expand All @@ -143,7 +143,7 @@ var vnResearch = {};
return LevelCalculator.getMissionLevel('Engine') >= 3;
},
category: "Engine",
categoryDisplayName: "Engine".localize()
categoryDisplayName: "Engine".localize()
});

//Add Screenshots Support
Expand All @@ -158,7 +158,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Skip
GDT.addResearchItem(
{
Expand All @@ -171,7 +171,7 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add Translations
GDT.addResearchItem(
{
Expand All @@ -184,7 +184,7 @@ var vnResearch = {};
category: "Language/Localization",
categoryDisplayName: "Language/Localization".localize()
});

//Add Video Gallery
GDT.addResearchItem(
{
Expand All @@ -197,6 +197,44 @@ var vnResearch = {};
category: "Engine",
categoryDisplayName: "Engine".localize()
});

GDT.addResearchItem(
{
id: "vnMod/Animation Scenes",
name: "Animation Scenes".localize(),
v: 10,
canResearch: function (company) {
return LevelCalculator.getMissionLevel('Graphic') >= 5 && company.currentLevel >= 3
},
category: "Graphic",
categoryDisplayName: "Graphic".localize()
});

//Add VR Theater
GDT.addResearchItem(
{
id: "vnMod/VR Theater",
name: "VR Theater".localize(),
v: 8,
canResearch: function (company) {
return LevelCalculator.getMissionLevel('Engine') >= 6 && company.currentLevel >= 3
},
category: "Engine",
categoryDisplayName: "Engine".localize()
});

//Add VR Interactive
GDT.addResearchItem(
{
id: "vnMod/VR Interactive",
name: "VR Interactive".localize(),
v: 12,
canResearch: function (company) {
return LevelCalculator.getMissionLevel('Engine') >= 7 && company.currentLevel >= 3
},
category: "Engine",
categoryDisplayName: "Engine".localize()
});
};

})();
46 changes: 23 additions & 23 deletions visualnovel-mod/vnMod/vnTopics.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
var vnTopics = {};

(function () {

//Add new topics
vnTopics.addTopics = function () {
GDT.addTopics([
{
id: "vnMod/Drama",
name: "Drama".localize("game topic"),
genreWeightings: [0.8, 0.8, 0.8, 0.6, 0.6, 0.9],
genreWeightings: [0.8, 0.8, 0.8, 0.6, 0.6, 0.9],
audienceWeightings: [0.6, 0.9, 1]
},

{
id: "vnMod/Dating Sim",
name: "Dating Sim".localize("game topic"),
genreWeightings: [0.6, 0.7, 0.8, 1.0, 0.6, 0.8],
genreWeightings: [0.6, 0.7, 0.8, 1.0, 0.6, 0.8],
audienceWeightings: [0.6, 0.8, 0.9],
missionOverrides: [
[0.7, 0.8, 1, 1, 0.8, 0.7, 0.9, 1, 0.8],
Expand All @@ -25,32 +25,32 @@ var vnTopics = {};
[0.8, 0.9, 1, 1, 0.9, 0.8, 1, 0.9, 0.8],
[0.6, 0.9, 1, 1, 0.8, 0.6, 0.9, 1, 0.8]]
},

{
id: "vnMod/Erogame",
name: "Erogame".localize("game topic"),
genreWeightings: [0.6, 0.8, 0.8, 0.8, 0.6, 0.6],
audienceWeightings: [0.6, 0.6, 1]
},

{
id: "vnMod/Friendship",
name: "Friendship".localize("game topic"),
genreWeightings: [0.7, 0.8, 0.9, 0.6, 0.6, 0.9],
genreWeightings: [0.7, 0.8, 0.9, 0.6, 0.6, 0.9],
audienceWeightings: [0.8, 0.9, 1]
},

{
id: "vnMod/Gore",
name: "Gore".localize("game topic"),
genreWeightings: [1.0, 0.8, 0.8, 0.6, 0.6, 0.7],
genreWeightings: [1.0, 0.8, 0.8, 0.6, 0.6, 0.7],
audienceWeightings: [0.6, 0.6, 1]
},

{
id: "vnMod/Kinetic Novel",
name: "Kinetic Novel".localize("game topic"),
genreWeightings: [0.6, 0.8, 0.6, 0.6, 0.6, 0.9],
genreWeightings: [0.6, 0.8, 0.6, 0.6, 0.6, 0.9],
audienceWeightings: [0.6, 0.8, 0.9],
missionOverrides: [
[0.6, 0.6, 1, 1, 0.8, 0.6, 0.9, 1, 0.8],
Expand All @@ -60,43 +60,43 @@ var vnTopics = {};
[0.6, 0.6, 1, 1, 0.8, 0.6, 0.9, 1, 0.8],
[0.6, 0.6, 1, 1, 0.8, 0.6, 0.9, 1, 0.8]]
},

{
id: "vnMod/Love",
name: "Love".localize("game topic"),
genreWeightings: [0.7, 0.8, 0.8, 0.8, 0.6, 0.9],
genreWeightings: [0.7, 0.8, 0.8, 0.8, 0.6, 0.9],
audienceWeightings: [0.6, 0.9, 1]
},

{
id: "vnMod/Magic",
name: "Magic".localize("game topic"),
genreWeightings: [1, 1, 1, 0.7, 0.7, 0.9],
audienceWeightings: [0.8, 0.9, 0.9]
},

{
id: "vnMod/Romantic Comedy",
name: "Romantic Comedy".localize("game topic"),
genreWeightings: [0.7, 0.8, 0.7, 0.7, 0.6, 0.9],
genreWeightings: [0.7, 0.8, 0.7, 0.7, 0.6, 0.9],
audienceWeightings: [0.6, 0.9, 1]
},

{
id: "vnMod/Survival",
name: "Survival".localize("game topic"),
genreWeightings: [0.9, 1, 0.9, 0.7, 0.8, 0.8],
genreWeightings: [0.9, 1, 0.9, 0.7, 0.8, 0.8],
audienceWeightings: [0.8, 1, 1]
},

{
id: "vnMod/Science",
name: "Science".localize("game topic"),
genreWeightings: [0.7, 0.8, 0.8, 0.8, 0.8, 0.8],
genreWeightings: [0.7, 0.8, 0.8, 0.8, 0.8, 0.8],
audienceWeightings: [0.7, 0.8, 1]
}

]);
};
})();

})();

0 comments on commit 5aac5f6

Please sign in to comment.