|
@@ -37,11 +37,12 @@ end
|
|
|
if $ARGS[0]='journalmenu':
|
|
|
*clr & cla
|
|
|
gs 'stat'
|
|
|
+ *nl
|
|
|
if $start_type[1] ! 'nomagic':
|
|
|
- $tablebody = '<tr><th><a href="exec:menutrack = 0 & gs ''journal'', ''magictab''">Magic</a></th><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th></tr>'
|
|
|
+ $tablebody = '<tr><th><a href="exec:menutrack = 0 & gs ''journal'', ''magictab''">Magic</a></th><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th><th><a href="exec:menutrack = 7 & gs ''journal'', ''notification_log''">Notifications</a></th></tr>'
|
|
|
|
|
|
else
|
|
|
- $tablebody ='<tr><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th></tr>'
|
|
|
+ $tablebody ='<tr><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th><th><a href="exec:menutrack = 7 & gs ''journal'', ''notification_log''">Notifications</a></th></tr>'
|
|
|
! menu
|
|
|
end
|
|
|
!display the table here.
|
|
@@ -479,6 +480,29 @@ if $ARGS[0] = 'notestab':
|
|
|
!! notes
|
|
|
end
|
|
|
|
|
|
+!!---------------------------------!!
|
|
|
+!! notifications !!
|
|
|
+!!---------------------------------!!
|
|
|
+
|
|
|
+
|
|
|
+if $ARGS[0] = 'notification_log':
|
|
|
+ $jumploc = 'notification_log'
|
|
|
+ gs 'journal', 'journalmenu'
|
|
|
+ '<center><h2>Notifications</h2></center>'
|
|
|
+ *nl
|
|
|
+ !! DEBUG
|
|
|
+ !!'<a href="exec: notif_debug_counter += 1 & gs ''notification'', ''add'', ''test message <<notif_debug_counter>>'' & gt ''journal'',''notification_log''">DEBUG</a>'
|
|
|
+ if $notification_log[0] ! '':
|
|
|
+ notification_log_loop_index = arrsize('$notification_log') - 1
|
|
|
+ :notification_log_loop
|
|
|
+ *pl $notification_log[notification_log_loop_index]
|
|
|
+ *nl
|
|
|
+ if notification_log_loop_index > 0: notification_log_loop_index -= 1 & jump 'notification_log_loop'
|
|
|
+ else
|
|
|
+ 'Notification log is empty.'
|
|
|
+ end
|
|
|
+end
|
|
|
+
|
|
|
!! ---- Other Sections ----
|
|
|
|
|
|
|