Added banterbot, tildebot, and some changes to topicbot and twine

This commit is contained in:
RussellChamp committed 2015-01-21 19:22:48 +00:00
1 parent fc28abd134
commit dbdd65d2d1
15 files changed
+996 -62

No files matched your search

+8 -2
View File
@@ -1,5 +1,11 @@
:: cleaver-itemDescription [item]
This is a rusty old cleaver. It won't help you in a fight, but it could be useful
''a cleaver''
//This is a rusty old cleaver. It won't help you in a fight, but it could be useful//
:: crowbar-itemDescription [item]
It feels like this crowbar has a history behind it...
''a crowbar''
//It feels like this crowbar has a history behind it...//
:: glowing rock-itemDescription [item]
''a glowing, orange rock''
//This rock glows with magical energies. You wonder what purpose it could serve//
+22 -18
View File
@@ -3,42 +3,46 @@
<<set $skills['adventuring'] to 1>>
:: krowbar-startDescription
Set in the wall, you see a large portal, twice your height, shining with a malevolent, pulsating, purple glow.
Despite its omnious aura, you feel a strange impulse that compels you to [[enter the portal|krowbar-start]].
Set in the stone floor, you see a large pool of water, twice your height wide, rippling with a malevolent, purple glow. Thin, flowing tendrils reach out of the portal, embrasing the narrow, steel frame around its edge. Small rocks, glowing orange, blue, and green circle the pool and gently bob up and down in the air. Despite its omnious aura, you feel a strange impulse that compels you to [[enter the pool|krowbar-start]].
:: krowbar-start [start inv]
[[The Portal|krowbar-ExaminePortal]] you stepped through is in a forest of [[tropical trees|krowbar-ExamineTrees]].
The heat and humidity hit you in contrast to the cool, dry environment of the Hub.
As you listen, you hear the sounds of gunfire and muffled explosions in the distance.
[[The pool|krowbar-ExaminePortal]] you emerged from is in a forest of [[tropical trees|krowbar-ExamineTrees]].
The heat and humidity hit you in contrast to the cool, dry environment of the Hub. As you listen, you hear the sounds of gunfire and muffled explosions in the distance.
There is [[a beaten dirt path leading downward|krowbar-FollowPath1]].
<<if $events["krowbar-PortalRestored"]>>[[Enter the portal|Start]]<<endif>>
<<if $events["krowbar-PortalRestored"]>>[[Step into the pool|Start]]<<endif>>
<<if $items["glowing rock"]>>[[Place glowing rock in pool crevice|krowbar-PlaceRock]]<<endif>>
[[Player Profile|PlayerProfile]]
:: krowbar-ExaminePortal
<<if $events["krowbar-PortalRestored"]>>The portal is now the same purple color as when you first entered
<<else>>You examine the portal and note that it has lost the swirling purple luster that it had when you first came through.
<<if $events["krowbar-PortalRestored"]>>The pool has now the same purple sheen as when you first entered.
<<else>>You examine the pool and note that there are several locations around its edge that appear to be missing glowing rocks.
<<endif>>
[[Return|previous()]]
:: krowbar-ExamineTrees
Upon closer examination, you find that these trees have strange orange bark and blue-tinted leaves.
You also notice small burn pock-marks on several of the trees.
Upon closer examination, you find that these trees have strange orange bark and blue-tinted leaves. You also notice small burn pock-marks on several of the trees.
How curious!
[[Return|previous()]]
:: krowbar-FollowPath1 [inv]
You are on a dirt path on a hill that [[leads to the Portal|krowbar-start]].
The path [[continues downward|krowbar-FollowPath2]].
<<if not visited("krowbar-PressButton")>>You see [[a button|krowbar-PressButton]] on the ground<<endif>>
:: krowbar-PressButton
After you press the button, you hear a 'click' and feel a thrum in the air.
:: krowbar-PlaceRock
You place the glowing rock where you believe it belongs around the pool. The pool lights up and starts humming like the one in The Cave did.
[[Return|previous()]]
<<set $events["krowbar-PortalRestored"] to true>>
<<set $items["glowing rock"] to false>>
:: krowbar-FollowPath1 [inv]
You are on a dirt path on a hill that [[leads to the pool|krowbar-start]].
The path [[continues downward|krowbar-FollowPath2]].
<<if not visited("krowbar-PressButton")>>You see [[a glowing rock|krowbar-GetGlowingRock]] on the ground<<endif>>
:: krowbar-GetGlowingRock
You pick up the glowing, orange rock.
[[Return|previous()]]
<<set $items["glowing rock"] to true>>
:: krowbar-FollowPath2 [inv]
You find yourself in a small clearing. In the center, you see [[a small, thatched-roof cottage|krowbar-EnterCottage]].
You see three dirt paths. One [[leads upwards|krowbar-FollowPath1]], one leads [[toward a lake|krowbar-FollowPath3]], and one leads [[toward rubble|krowbar-FollowPath4]]
Three dirt paths lead from here; one [[leads upwards|krowbar-FollowPath1]], one leads [[toward a lake|krowbar-FollowPath3]], and one leads [[toward rubble|krowbar-FollowPath4]]
[[Examine cottage|krowbar-ExamineCottage]]
:: krowbar-ExamineCottage
+4
View File
@@ -200,6 +200,10 @@ try {
}
msg += "<<endif>><<endnobr>>";
new Wikifier(place, msg);
console.log("$items contains " + Object.keys(state.history[0].variables.items).length + " object(s)");
console.log("$events contains " + Object.keys(state.history[0].variables.events).length + " object(s)");
console.log("$stats contains " + Object.keys(state.history[0].variables.stats).length + " object(s)");
console.log("$skills contains " + Object.keys(state.history[0].variables.skills).length + " object(s)");
},
init: function() { },
};
+4 -1
View File
@@ -1,6 +1,10 @@
Tilde.town shared Twine story guidelines
Written by ~krowbar, managed by ~jumblesale
## Building the story
* Run the following script to collect and build the twine story
* ~jumblesale/twine/build.py
## Reserved Passages ##
* These passages are reserved for use by the core shared system
:: Start - Acts as the core hub
@@ -32,7 +36,6 @@ Written by ~krowbar, managed by ~jumblesale
[playerProfile] - will show ":: PlayerProfile" at the bottom of the passage
[item] - will append a "[[Return|previous()]]" to the passage
## The Player ##
* Global objects are provided for $items, $events, $stats, and $skills that any
story can reference or modify