I didn't really test it, but this should work.
First, add this as a new plugin:
var TimeSystemExtensions = {};
(function($){
$.registerCommand = function(variableId, switchId, hours) {
var time = OrangeTimeSystem.getDateTime();
time.hour += hours;
OrangeTimeSystem.validateDateTimeValues(time);
var timestamp = OrangeTimeSystem.convertConfigToTimestamp(time);
time.callback = 'S' + switchId + ',FALSE';
OrangeTimeSystem.registerAfterTimeEvent(time);
$gameVariables.setValue(variableId, timestamp);
};
$.getTimeLeft = function(variableId) {
var currentTimestamp = OrangeTimeSystem.convertConfigToTimestamp(OrangeTimeSystem.getDateTime());
return timestamp - currentTimestamp;
};
$.splitTimeDifference = function(variableId, daysVariable, hoursVariable, minutesVariable, secondsVariable) {
var timestamp = $.getTimeLeft(variableId);
var data = OrangeTimeSystem.convertTimestampToConfig(timestamp);
if (daysVariable > 0) {
$gameVariables.setValue(daysVariable, data.day);
}
if (hoursVariable > 0) {
$gameVariables.setValue(hoursVariable, data.hour);
}
if (minutesVariable > 0) {
$gameVariables.setValue(minutesVariable, data.minute);
}
if (secondsVariable > 0) {
$gameVariables.setValue(secondsVariable, data.seconds);
}
return timestamp;
};
})(TimeSystemExtensions);
Then, instead of using the plugin command "disable switch 14 in 168 hours", use the following script call:
TimeSystemExtensions.registerCommand(VARIABLE_ID, 14, 168);
Changing VARIABLE_ID by the number of a variable where you want to store the data required by this.
Then, when you want to check the time left, use this:
TimeSystemExtensions.splitTimeDifference(VARIABLE_ID, DAYS_VARIABLE, HOURS_VARIABLE, MINUTES_VARIABLE, SECONDS_VARIABLE);
Replacing VARIABLE_ID by the same variable number you used earlier. Then replace DAYS_VARIABLE for the number of the variable where you want to store how many days are left, HOURS_VARIABLE by the number of the variable where you want to store the number of hours left, and so on.
Then you can include those variables in a text message or do anything else with them.
Ok. Well, I shall fiddle a bit with the time and lighting system then. If I get to a roadblock, I shall tell you. I am not a programmer by any stretch of the imagination, and code is simply beyond me. I can do simple script calls, and I am lucky that all the plugins I have are either literally plug and play, or have detailed videos (Yami and Hime) to explain their features. And you have some nice explanations on the first page, so hopefully I shall be able to tweak it. I probably will be able to get the time system and the actual day/night system working, but the 'eternal night' with the main character being the only light source will probably be the hard one...
Sure. I'm not sure if I understood everything correctly, but if you hit any roadblock you can ask here and I'll try to help.