mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Added numberwang bot, updated twine, updated banterbot
This commit is contained in:
1 parent
06ef1410b1
commit
9564436d73
9 files changed
+319
-25
No files matched your search
+6
-5
@@ -97,13 +97,13 @@ try {
|
||||
handler: function(place, macroName, params, parser)
|
||||
{
|
||||
var msg = "";
|
||||
var stats = state.history[0].variables.skills;
|
||||
if (stats == undefined) {
|
||||
var skills = state.history[0].variables.skills;
|
||||
if (skills == undefined) {
|
||||
new Wikifier(place, "no skills");
|
||||
return;
|
||||
}
|
||||
for(var stat in stats) {
|
||||
msg += stat + ": " + stats[stat]+"<br>";
|
||||
for(var skill in skills) {
|
||||
msg += skill + ": " + skills[skill]+"<br>";
|
||||
}
|
||||
new Wikifier(place, msg);
|
||||
},
|
||||
@@ -226,13 +226,14 @@ try {
|
||||
if(p.slice(-6) == "-start") {
|
||||
if(tale.passages[p+"Description"]) {
|
||||
console.log("Found " + p + "Description");
|
||||
msg += "==== ~" + p.slice(0, -6) + " start~ ====\n";
|
||||
msg += "<<display \"" + p + "Description\">>";
|
||||
}
|
||||
else {
|
||||
console.log("Found " + p);
|
||||
msg += "[[" + p + "]]"
|
||||
}
|
||||
msg += "\n\n";
|
||||
msg += "\n----\n";
|
||||
}
|
||||
}
|
||||
new Wikifier(place, msg);
|
||||
|
||||
@@ -33,7 +33,6 @@ Written by ~krowbar, managed by ~jumblesale
|
||||
[inv] - will show ":: Inventory" at the bottom of the passage
|
||||
[stats] - will show ":: PlayerStats" at the bottom of the passage
|
||||
[skills] - will show ":: PlayerSkills" at the bottom of the passage
|
||||
[playerProfile] - will show ":: PlayerProfile" at the bottom of the passage
|
||||
[item] - will append a "[[Return|previous()]]" to the passage
|
||||
|
||||
## The Player ##
|
||||
|
||||
Reference in new issue
Block a user