Skip to content

Commit

Permalink
Add Gwendolyne's readme template
Browse files Browse the repository at this point in the history
  • Loading branch information
skellytz committed Jun 28, 2024
1 parent 0ec50dd commit 4020689
Show file tree
Hide file tree
Showing 9 changed files with 1,464 additions and 0 deletions.
Binary file added readmes/template-gwendolyne/images/105.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readmes/template-gwendolyne/images/105a.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readmes/template-gwendolyne/images/202.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readmes/template-gwendolyne/images/shsbkgd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added readmes/template-gwendolyne/images/shsweb.ico
Binary file not shown.
858 changes: 858 additions & 0 deletions readmes/template-gwendolyne/mymod-readme-english.html

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions readmes/template-gwendolyne/scripts/script_shs_trick.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

var LANG_EN = "en";

var hintTable = [];
hintTable[LANG_EN] =
[
"A dozen side quests to be played... or not...",
"More than a hundred maps, including new ones.",
"A bestiary inspired by PnP editions and proposing new creatures in BG2 universe.",
"Evil, Gem, Planar Dragons...",
"Fiends and Devils who take adwantage of the chaos wreaked in the Kingdom of Eternal Diamond to export their Blood War among human people.",
"A horde of vampires that would make Bodhi out to be a capricious little girl.",
"Undead knights whose beshavior is still so inflexible in the Hereafter.",
"New items.",
"Food ready-to-eat or needed for cooking.",
"An Alchimy set to create potions and miscellaneous items...",
];

var hintIdx = 0;

function showNextHint(lang, textId) {
var hints = hintTable[lang];
if (hints.length > 0) {
var elem = document.getElementById(textId);
if ('textContent' in elem) {
elem.textContent = hints[hintIdx];
} else {
elem.innerText = hints[hintIdx];
}
hintIdx = (hintIdx + 1) % hints.length;
}
}

function showHints(boxId, lang, textId) {
document.getElementById(boxId).style.display = "block";
showNextHint(lang, textId);
}

function showSpoiler(obj)
{
var inner = obj.parentNode.getElementsByTagName("div")[0];
if (inner.style.display == "none")
inner.style.display = "";
else
inner.style.display = "none";
}
Loading

0 comments on commit 4020689

Please sign in to comment.