Browse Source

[fix] stopgap solution for broken library, working on an ovehaul

LinaHirata 7 months ago
parent
commit
ae79528ece
3 changed files with 19 additions and 19 deletions
  1. 7 7
      locations/city_library.qsrc
  2. 6 6
      locations/pav_library.qsrc
  3. 6 6
      locations/uni_library.qsrc

+ 7 - 7
locations/city_library.qsrc

@@ -211,7 +211,7 @@ if $ARGS[0] = 'loan':
 
 	if $lib_book_loaned = '' and lib_debt = 0:
 		!!There''s currently only code for fantasy novels
-		!!act 'Borrow a book on science':
+		!{act 'Borrow a book on science':
 			*clr & cla
 			menu_off = 1
 			s_book += 1
@@ -223,7 +223,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'city_library'
 		end
 		
-		!!act 'Borrow an adventure novel':
+		act 'Borrow an adventure novel':
 			*clr & cla
 			menu_off = 1
 			a_book += 1
@@ -233,9 +233,9 @@ if $ARGS[0] = 'loan':
 			'You find an adventure novel that catches your interest and bring it to the librarian, who notes your name and the title of the book down before handing it to you.'
 			'"You need to return it within 2 weeks. Every day that you''re late incurs a 50 <b>₽</b> fine."'
 			act 'Continue': gt 'city_library'
-		end
+		end}
 		
-		!!act 'Borrow a fantasy novel':
+		act 'Borrow a fantasy novel':
 			*clr & cla
 			menu_off = 1
 			f_book += 1
@@ -247,7 +247,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'city_library'
 		end
 		
-		!!act 'Borrow a science fiction novel':
+		!{act 'Borrow a science fiction novel':
 			*clr & cla
 			menu_off = 1
 			sf_book += 1
@@ -259,7 +259,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'city_library'
 		end
 		
-		!!act 'Borrow a romance novel':
+		act 'Borrow a romance novel':
 			*clr & cla
 			menu_off = 1
 			r_book += 1
@@ -269,7 +269,7 @@ if $ARGS[0] = 'loan':
 			'You find a romance novel that catches your interest and bring it to the librarian, who notes your name and the title of the book down before handing it to you.'
 			'"You need to return it within 2 weeks. Every day that you''re late incurs a 50 <b>₽</b> fine."'
 			act 'Continue': gt 'city_library'
-		end
+		end}
 	
 		act 'Go back': gt 'city_library'
 	end

+ 6 - 6
locations/pav_library.qsrc

@@ -227,7 +227,7 @@ if $ARGS[0] = 'loan':
 
 	if $lib_book_loaned = '' and lib_debt = 0:
 		!!There''s currently only code for fantasy novels
-		!!act 'Borrow a science book':
+		!{act 'Borrow a science book':
 			*clr & cla
 			menu_off = 1
 			s_book += 1
@@ -239,7 +239,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'pav_library'
 		end
 		
-		!!act 'Borrow an adventure novel':
+		act 'Borrow an adventure novel':
 			*clr & cla
 			menu_off = 1
 			a_book += 1
@@ -249,7 +249,7 @@ if $ARGS[0] = 'loan':
 			'You find an adventure novel that catches your interest and bring it to the librarian, who notes your name and the title of the book down before handing it to you.'
 			'"You need to return it within 2 weeks. Every day that you''re late incurs a 50 <b>₽</b> fine."'
 			act 'Continue': gt 'pav_library'
-		end
+		end}
 		
 		act 'Borrow a fantasy novel':
 			*clr & cla
@@ -263,7 +263,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'pav_library'
 		end
 		
-		!!act 'Borrow a science fiction novel':
+		!{act 'Borrow a science fiction novel':
 			*clr & cla
 			menu_off = 1
 			sf_book += 1
@@ -275,7 +275,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'pav_library'
 		end
 		
-		!!act 'Borrow a romance novel':
+		act 'Borrow a romance novel':
 			*clr & cla
 			menu_off = 1
 			r_book += 1
@@ -285,7 +285,7 @@ if $ARGS[0] = 'loan':
 			'You find a romance novel that catches your interest and bring it to the librarian, who notes your name and the title of the book down before handing it to you.'
 			'"You need to return it within 2 weeks. Every day that you''re late incurs a 50 <b>₽</b> fine."'
 			act 'Continue': gt 'pav_library'
-		end
+		end}
 		
 		act 'Go back': gt 'pav_library'
 	end

+ 6 - 6
locations/uni_library.qsrc

@@ -458,7 +458,7 @@ if $ARGS[0] = 'loan':
 
 	if $lib_book_loaned = '' and lib_debt = 0:
 		!!There''s currently only code for fantasy novels (Is this still true? I''ve left everything but the fantasy novel out until confirmed)
-		!!'act 'Borrow a science book':
+		!{act 'Borrow a science book':
 			*clr & cla
 			menu_off = 1
 			s_book += 1
@@ -470,7 +470,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'uni_library'
 		end
 		
-		!!'act 'Borrow an adventure novel':
+		act 'Borrow an adventure novel':
 			*clr & cla
 			menu_off = 1
 			a_book += 1
@@ -480,7 +480,7 @@ if $ARGS[0] = 'loan':
 			'You find an adventure novel that catches your interest and bring it to the librarian, who notes your name and the title of the book down before handing it to you.'
 			'"You need to return it within 2 weeks. Every day that you''re late incurs a 50 <b>₽</b> fine."'
 			act 'Continue': gt 'uni_library'
-		end
+		end}
 		
 		act 'Borrow a fantasy novel':
 			*clr & cla
@@ -494,7 +494,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'uni_library'
 		end
 		
-		!!act 'Borrow a science fiction novel':
+		!{act 'Borrow a science fiction novel':
 			*clr & cla
 			menu_off = 1
 			sf_book += 1
@@ -506,7 +506,7 @@ if $ARGS[0] = 'loan':
 			act 'Continue': gt 'uni_library'
 		end
 		
-		!!act 'Borrow a romance novel':
+		act 'Borrow a romance novel':
 			*clr & cla
 			menu_off = 1
 			r_book += 1
@@ -516,7 +516,7 @@ if $ARGS[0] = 'loan':
 			'You find a fantasy novel that catches your interest and bring it to the librarian, who notes your name and the title of the book down before handing it to you.'
 			'"You need to return it within 2 weeks. Every day that you''re late incurs a 50 <b>₽</b> fine."'
 			act 'Continue': gt 'uni_library'
-		end
+		end}
 		
 		act 'Go back': gt 'uni_library', 'start'
 	end