scrolls
This commit is contained in:
+46
-3
@@ -60,14 +60,13 @@ content = """
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# ###### #
|
||||
# ###### B #
|
||||
# # #
|
||||
# +++ # #
|
||||
# # #
|
||||
# | #
|
||||
# #
|
||||
# oo G - M @ #
|
||||
# #
|
||||
# oo G - @ #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
@@ -75,6 +74,7 @@ content = """
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
# M #
|
||||
# #
|
||||
# #
|
||||
# #
|
||||
@@ -111,6 +111,16 @@ solid = true
|
||||
name = "muffin"
|
||||
script_name = "muffin"
|
||||
|
||||
# Notice board — long scroll to test overflow and scrolling.
|
||||
[[objects]]
|
||||
palette = "B"
|
||||
tile = 240
|
||||
fg = "#cc9944"
|
||||
bg = "#000000"
|
||||
solid = true
|
||||
name = "noticeboard"
|
||||
script_name = "noticeboard"
|
||||
|
||||
[scripts]
|
||||
greeter = """
|
||||
fn init() {
|
||||
@@ -162,4 +172,37 @@ fn ignore() {
|
||||
log("You walk away from the muffin. Wise.");
|
||||
say("Suspicious...");
|
||||
}
|
||||
"""
|
||||
|
||||
noticeboard = """
|
||||
fn bump(id) {
|
||||
scroll([
|
||||
" TOWN NOTICE BOARD",
|
||||
" ",
|
||||
"ROAD CLOSURE — The eastern road through Miller's Crossing remains closed",
|
||||
"following flood damage to the main bridge. Repairs are underway but travellers",
|
||||
"should expect delays of at least three weeks. The north fork via Ashwell is",
|
||||
"passable, though it adds half a day to the journey.",
|
||||
" ",
|
||||
"LOST ANIMAL — One grey mule, answers to the name Pepper. Last seen grazing",
|
||||
"near the old mill on the morning of the 14th. The animal has a notched left",
|
||||
"ear and wears a blue rope halter. Any information to the innkeeper; a reward",
|
||||
"of two silver pieces is offered for her safe return.",
|
||||
" ",
|
||||
"POSITION AVAILABLE — Captain Aldric of the town garrison seeks an experienced",
|
||||
"wilderness guide for an expedition into the Darkwood. Duration: ten to fourteen",
|
||||
"days. Pay is good and provisions will be supplied. Candidates must present",
|
||||
"themselves at the barracks before the evening bell. Some risk is involved and",
|
||||
"the captain asks that only those in sound health and good standing apply.",
|
||||
" ",
|
||||
"HARVEST FESTIVAL — The annual Harvest Festival will be held on the last",
|
||||
"Saturday of the month. The market square will be closed to carts from dawn.",
|
||||
"Stall permits must be obtained from the clerk's office no later than Thursday.",
|
||||
"There will be music, a pie competition, and the traditional lantern parade at",
|
||||
"dusk. All residents are warmly encouraged to attend.",
|
||||
" ",
|
||||
" Posted by order of the Town Council.",
|
||||
" Unauthorised notices will be removed.",
|
||||
]);
|
||||
}
|
||||
"""
|
||||
Reference in New Issue
Block a user