From 5aac5f604a631ce1e92999d313a14e2aa5579d3e Mon Sep 17 00:00:00 2001 From: Daniel Luque Date: Tue, 30 Aug 2016 01:24:02 +0200 Subject: [PATCH] Version 0.3 --- README.md | 2 +- visualnovel-mod/package.json | 4 +- visualnovel-mod/vnMod.js | 8 +-- visualnovel-mod/vnMod/vnResearchs.js | 74 +++++++++++++++++++++------- visualnovel-mod/vnMod/vnTopics.js | 46 ++++++++--------- 5 files changed, 86 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index 3e64d08..733693e 100644 --- a/README.md +++ b/README.md @@ -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
+**Version**: 0.3
**Requires API version**: 0.1.x
**[Steam Workshop page.](http://steamcommunity.com/sharedfiles/filedetails/?id=299122114&searchtext=)** diff --git a/visualnovel-mod/package.json b/visualnovel-mod/package.json index 6f81254..de93d9b 100644 --- a/visualnovel-mod/package.json +++ b/visualnovel-mod/package.json @@ -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", @@ -10,4 +10,4 @@ "dependencies": { "gdt-modAPI": "0.1.x" } -} \ No newline at end of file +} diff --git a/visualnovel-mod/vnMod.js b/visualnovel-mod/vnMod.js index 94caee9..267d05e 100644 --- a/visualnovel-mod/vnMod.js +++ b/visualnovel-mod/vnMod.js @@ -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); -})(); \ No newline at end of file +})(); diff --git a/visualnovel-mod/vnMod/vnResearchs.js b/visualnovel-mod/vnMod/vnResearchs.js index 333fc9c..f3adadb 100644 --- a/visualnovel-mod/vnMod/vnResearchs.js +++ b/visualnovel-mod/vnMod/vnResearchs.js @@ -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( { @@ -41,7 +41,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Auto Save GDT.addResearchItem( { @@ -54,7 +54,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add CG Gallery GDT.addResearchItem( { @@ -67,7 +67,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Fast Skip GDT.addResearchItem( { @@ -80,7 +80,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Multi Character GDT.addResearchItem( { @@ -93,7 +93,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Music Gallery GDT.addResearchItem( { @@ -106,7 +106,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add NVL Mode GDT.addResearchItem( { @@ -119,7 +119,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Quick Saving GDT.addResearchItem( { @@ -132,7 +132,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Scenes Gallery GDT.addResearchItem( { @@ -143,7 +143,7 @@ var vnResearch = {}; return LevelCalculator.getMissionLevel('Engine') >= 3; }, category: "Engine", - categoryDisplayName: "Engine".localize() + categoryDisplayName: "Engine".localize() }); //Add Screenshots Support @@ -158,7 +158,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Skip GDT.addResearchItem( { @@ -171,7 +171,7 @@ var vnResearch = {}; category: "Engine", categoryDisplayName: "Engine".localize() }); - + //Add Translations GDT.addResearchItem( { @@ -184,7 +184,7 @@ var vnResearch = {}; category: "Language/Localization", categoryDisplayName: "Language/Localization".localize() }); - + //Add Video Gallery GDT.addResearchItem( { @@ -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() + }); }; - + })(); diff --git a/visualnovel-mod/vnMod/vnTopics.js b/visualnovel-mod/vnMod/vnTopics.js index 7775ebd..39411c8 100644 --- a/visualnovel-mod/vnMod/vnTopics.js +++ b/visualnovel-mod/vnMod/vnTopics.js @@ -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], @@ -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], @@ -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] } - + ]); }; - -})(); \ No newline at end of file + +})();