shop_dolls.qsrc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. # shop_dolls
  2. !!Savva Timurovich - A204 static_num
  3. !!Viola Valerievna - A205 static_num
  4. if $ARGS[0] = 'start':
  5. $loc_arg = 'start'
  6. $loc = 'shop_dolls'
  7. $menu_arg = 'start'
  8. $menu_loc = 'shop_dolls'
  9. menu_off = 0
  10. $location_type = 'public_indoors'
  11. *clr & cla
  12. if Anush_dolls = 0:Anush_dolls = 1
  13. minut += 2
  14. gs 'stat'
  15. gs 'themes', 'indoors'
  16. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  17. '<center><img <<$set_imgh>> src="images/locations/city/island/dolls/dolls.jpg"></center>'
  18. ''
  19. 'The store has a small front on a side street, but one glance is all you need to tell this is not your average clothing store. Inside the store, shelves and racks of alternative clothes are crammed into every available space - anybody setting out to find an inch of wall would have their work cut out for them. The checkout counter is near the entrance.'
  20. if doll_staff_day ! daystart:
  21. if rand(0,1) = 0:
  22. doll_staff = 0
  23. doll_staff_day = daystart
  24. else
  25. doll_staff = 1
  26. doll_staff_day = daystart
  27. end
  28. end
  29. act 'Browse clothing': gt 'shop_dolls', 'browse'
  30. !!here should be a list of clothing you can buy. shoes, jewelry, clothing, piecrings, etc. Just a list of things to buy and click it takes you to a page showing all the items for sale. Like how most shops are done.
  31. if doll_staff = 0:
  32. if know_Savva = 1: 'As you walk in, Savva waves at you and smiles. "Hi <<$pcs_nickname>>, great to see you again! Let me know if I can help you with anything."'
  33. act 'Go to the counter': gt 'shop_dolls', 'savva'
  34. else
  35. if know_Viola = 1: 'As you walk in, Viola winks at you.'
  36. act 'Go to the counter': gt 'shop_dolls', 'viola'
  37. end
  38. act 'Leave': minut += 2 & gt 'city_island'
  39. end
  40. if $ARGS[0] = 'browse':
  41. *clr & cla
  42. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  43. '<center><img <<$set_imgh>> src="images/locations/city/island/dolls/dollsshop.jpg"></center>'
  44. ''
  45. 'The store has a small front on a side street, but one glance is all you need to tell this is not your average clothing store. Inside the store, shelves and racks of alternative clothes are crammed into every available space - anybody setting out to find an inch of wall would have their work cut out for them. The checkout counter is near the entrance.'
  46. act 'View dresses':gt 'shop_dolls', 'dress'
  47. act 'View other outfits':gt 'shop_dolls', 'clothing'
  48. act 'View shoes':gt 'shop_dolls', 'shoes'
  49. act 'View purses':gt 'shop_dolls', 'purses'
  50. act 'View coats':gt 'shop_dolls', 'coats'
  51. !act 'Jewelery':gt 'shop_dolls', 'jewelry'
  52. !act 'Piercings':gt 'shop_dolls', 'piecrings'
  53. act 'Return': gt 'shop_dolls', 'start'
  54. end
  55. if $ARGS[0] = 'dress':
  56. $loc_arg = 'dress'
  57. $loc = 'shop_dolls'
  58. $menu_arg = 'dress'
  59. $menu_loc = 'shop_dolls'
  60. menu_off = 0
  61. *clr & cla
  62. gs'stat'
  63. '<center><b><font color="maroon">Viewing Patchwork Dolls dresses</font></b></center>'
  64. *nl
  65. gs 'clothing_QV', 'shop_header'
  66. act 'Return':
  67. cla
  68. minut += 5
  69. gt 'shop_dolls', 'browse'
  70. end
  71. clothingfilter['qualitycheck'] = 7
  72. :loopquality_dress
  73. if Clothingstock > 15:
  74. i = 1
  75. elseif Clothingstock > 7:
  76. i = 3
  77. else
  78. i = 2
  79. end
  80. :loopdolls_dress
  81. if dolls_dress[i] = 0:
  82. gs 'clothing_attributes', 'dolls_dress', i
  83. gs 'clothing_QV', 'shop_filter'
  84. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  85. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_dress''"><img src="images/pc/items/dolls/dress/<<i>>.jpg" height="250" /></a>'
  86. end
  87. end
  88. i += 3
  89. if i <= 110:jump 'loopdolls_dress'
  90. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality_dress'
  91. end
  92. if $ARGS[0] = 'dolls_dress':
  93. cla
  94. if dolls_dress[i] ! 0:
  95. msg 'You already own these clothes.'
  96. gt 'shop_dolls', 'dress'
  97. end
  98. gt 'clothing', 'view_clothing_item', 'shop', 'dolls_dress',i, 3500
  99. end
  100. if $ARGS[0] = 'clothing':
  101. $loc_arg = 'clothing'
  102. $loc = 'shop_dolls'
  103. $menu_arg = 'clothing'
  104. $menu_loc = 'shop_dolls'
  105. menu_off = 0
  106. *clr & cla
  107. gs'stat'
  108. '<center><b><font color="maroon">Viewing Patchwork Dolls clothing</font></b></center>'
  109. *nl
  110. gs 'clothing_QV', 'shop_header'
  111. act 'Return':
  112. cla
  113. minut += 5
  114. gt 'shop_dolls', 'browse'
  115. end
  116. clothingfilter['qualitycheck'] = 7
  117. :loopquality
  118. if Clothingstock > 11:
  119. i = 1
  120. else
  121. i = 2
  122. end
  123. :loopdolls
  124. if dolls_outfits[i] = 0:
  125. gs 'clothing_attributes', 'dolls_outfits', i
  126. gs 'clothing_QV', 'shop_filter'
  127. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  128. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_outfits''"><img src="images/pc/items/dolls/outfits/<<i>>.jpg" height="250" /></a>'
  129. end
  130. end
  131. i += 2
  132. if i <= 50:jump 'loopdolls'
  133. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  134. end
  135. if $ARGS[0] = 'dolls_outfits':
  136. cla
  137. if dolls_outfits[i] ! 0:
  138. msg 'You already own these clothes.'
  139. gt 'shop_dolls', 'clothing'
  140. end
  141. gt 'clothing', 'view_clothing_item', 'shop', 'dolls_outfits',i, 3500
  142. end
  143. if $ARGS[0] = 'shoes':
  144. $loc_arg = 'shoes'
  145. $loc = 'shop_dolls'
  146. $menu_arg = 'shoes'
  147. $menu_loc = 'shop_dolls'
  148. menu_off = 0
  149. *clr & cla
  150. gs'stat'
  151. act 'Return':
  152. cla
  153. minut += 5
  154. gt 'shop_dolls', 'browse'
  155. end
  156. i = 1
  157. :loopdolls_shoes
  158. if dolls_shoe[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_shoes''"><img src="images/pc/items/dolls/shoes/<<i>>.jpg" height="250" /></a>'
  159. i += 1
  160. if i <= 30:jump 'loopdolls_shoes'
  161. end
  162. if $ARGS[0] = 'dolls_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'dolls',i, 2000
  163. if $ARGS[0] = 'purses':
  164. $loc_arg = 'purses'
  165. $loc = 'shop_dolls'
  166. $menu_arg = 'purses'
  167. $menu_loc = 'shop_dolls'
  168. menu_off = 0
  169. *clr & cla
  170. gs'stat'
  171. act 'Return':
  172. cla
  173. minut += 5
  174. gt 'shop_dolls', 'browse'
  175. end
  176. i = 1
  177. :loopdolls_purses
  178. if dolls_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''purses2''"><img src="images/pc/items/dolls/purses/<<i>>.jpg" height="250" /></a>'
  179. i += 1
  180. if i <= 20:jump 'loopdolls_purses'
  181. end
  182. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'dolls',i, 2000
  183. if $ARGS[0] = 'coats':
  184. $loc_arg = 'coats'
  185. $loc = 'shop_dolls'
  186. $menu_arg = 'coats'
  187. $menu_loc = 'shop_dolls'
  188. menu_off = 0
  189. *clr & cla
  190. gs'stat'
  191. act 'Return':
  192. cla
  193. minut += 5
  194. gt 'shop_dolls', 'browse'
  195. end
  196. i = 1
  197. :loopdolls_coats
  198. if dolls_coats[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''coats2''"><img src="images/pc/items/dolls/coats/<<i>>.jpg" height="250" /></a>'
  199. i += 1
  200. if i <= 20:jump 'loopdolls_coats'
  201. end
  202. if $ARGS[0] = 'coats2': gt 'coats', 'view_coat_item', 'shop', 'dolls',i, 2000
  203. if $ARGS[0] = 'savva':
  204. *clr & cla
  205. menu_off = 1
  206. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  207. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  208. if know_Savva = 0:
  209. 'At the counter, you see a young man; he looks about your sister''s age, but he has a shy, quiet, almost girlish quality about him. As you approach the counter, he quietly asks, so softly you can barely hear him, "Can I help you?"'
  210. else
  211. 'Savva is working the counter today. As you walk up, he gives you a friendly smile. "Hey <<$pcs_nickname>>, nice to see you again. What can I help you with?"'
  212. end
  213. act 'Ask him about the shop':
  214. *clr & cla
  215. npc_rel['A204'] += 2
  216. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  217. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  218. 'You ask him about the shop. He tells you it opened a few years ago and they mostly cater to the college kids. Occasionally they get hassled by the local gopniks or police, but he likes the job. Then he asks if you need help finding an outfit.'
  219. act 'Continue': gt 'shop_dolls', 'savva'
  220. end
  221. !!this only shows up as an option if Anushka sent Sveta to the store from one of her chat options in Anushka file or anushapt file.
  222. if Anush_dolls = 2:
  223. act 'Anushka sent me':
  224. *clr & cla
  225. npc_rel['A204'] += 3
  226. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  227. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  228. '"Anushka, a friend of mine, sent me," you tell him with a smile.'
  229. 'He laughs a bit. "Well you must lead a real interesting life then if she is your friend. So you from Pavlovsk too?"'
  230. 'You nod a bit. "Yeah, we go to school together actually."'
  231. 'He nods a bit. "Cool, I still find it hard to believe that a girl like that has good enough grades to go to the University. Guess when that happens, I''ll see a lot more of her."'
  232. *nl
  233. '"She is a wild one, that''s for sure. Anyways, she told me you could help and that you ''owe her one.''"'
  234. 'He snorts and shakes his head. "She must be failing math since she doesn''t seem to know how to count. But she''s pretty cool, and if she sent you, then you have to be ok. So what''s your name?" You tell him your name, and he types out a few things on the computer. A few moments later, you hear the sound of something printing. Then he hands over a card. "Here is a VIP customer card, good for ten percent off anything in the store. Now you can tell her she owes me, like I am ever likely to collect," he says with a laugh.'
  235. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  236. act 'Continue': gt 'shop_dolls', 'savva'
  237. end
  238. end
  239. act 'Flirt with him':
  240. *clr & cla
  241. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  242. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  243. 'You think he is pretty cute in a girlish kinda way, so you chat with him about a variety of things and flirt for all you are worth. He seems happy to talk, especially about fashion and music... but either he''s gay or completely oblivious to your flirting.'
  244. act 'Continue': gt 'shop_dolls', 'savva'
  245. end
  246. act 'Chat with him':
  247. *clr & cla
  248. know_Savva = 1
  249. npc_rel['A204'] += 3
  250. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  251. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  252. 'You decide to chat with him. He seems happy to talk with you, especially about fashion and music. You spend some time chatting about a variety of topics.'
  253. if npc_rel['A204'] > 50:'As you do, you eventually touch upon his latest date, some "cutest boy he''s ever seen" that he met in the shop some time ago. He seems to have been dying to tell somebody about it because he just gushes about how handsome the young man is and how great the sex was... Next week, he will likely be talking about another one.'
  254. act 'Continue': gt 'shop_dolls', 'savva'
  255. end
  256. act 'Return': gt 'shop_dolls', 'start'
  257. end
  258. if $ARGS[0] = 'viola':
  259. *clr & cla
  260. menu_off = 1
  261. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  262. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  263. if know_Viola = 0:
  264. 'At the counter, you see a young woman, maybe as old as your sister or a year or two older. She is reading a magazine when you walk up, only glancing up at you as you stop at the counter. "How can I help you?"'
  265. else
  266. '"What''s up, <<$pcs_nickname>>? You here to do a little shopping or to kill some time?"'
  267. end
  268. act 'Ask her about the shop':
  269. *clr
  270. cla
  271. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  272. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  273. 'You ask her about the shop. She tells you the place is only a few years old and is about the only place to buy a decent outfit in the whole city; unless you are willing to shop online, that is, which leads her to talking about the woes of online shopping where clothes don''t fit and never seem to have anywhere near as good a quality as they seem to in the pictures. You get the impression that the topic really bothers her and she could go on for some time if you let her.'
  274. act 'Continue': gt 'shop_dolls', 'viola'
  275. end
  276. !!this only shows up as an option if Anushka sent Sveta to the store from one of her chat options in Anushka file or anushapt file.
  277. if Anush_dolls = 2:
  278. act 'Anushka sent me':
  279. *clr & cla
  280. Anush_dolls = 3
  281. npc_rel['A205'] += 5
  282. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  283. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  284. '"Anushka, a friend of mine, sent me," you tell her with a smile.'
  285. 'Viola perks up a bit at the mention of Anushka. "Oh? You''re friends with Nush? Why didn''t you say so? How is she doing? Raising hell and having fun if I know her."'
  286. *nl
  287. 'You can''t help but grin a little. If you are not mistaken, Viola has a thing for Anushka. "She''s good, I was asking her about her clothes. You know she has such good tastes. I asked her where she got them, and she said you guys could help me out. Oh and she said to tell you that you ''owe her one'' or something like that."'
  288. *nl
  289. 'Viola laughs at that last bit. "I seem to always be owing her, not sure how math works in her head. But if she sent you, then you are in good hands. What''s your name?" You tell her your name, and she types out a few things on the computer. A few moments later, you hear the sound of something printing. Then she hands over a card. "Here is a VIP customer card, good for ten percent off anything in the store. Now you can tell her she owes me," Viola says with a wink.'
  290. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  291. act 'Continue': gt 'shop_dolls', 'viola'
  292. end
  293. end
  294. act 'Flirt with her':
  295. *clr & cla
  296. npc_rel['A205'] += 3
  297. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  298. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  299. 'As you talk to her, you start flirting, and she returns the favor to a point, occasionally touching your hand or shoulder, laughing at some of the things you say... but she never fully commits to flirting with you; she''s either playing hard to get, trying to put you in a good mood to buy stuff, or messing with you - you are unsure which one it is.'
  300. act 'Continue': gt 'shop_dolls', 'viola'
  301. end
  302. act 'Chat with her':
  303. *clr
  304. cla
  305. know_Viola = 1
  306. npc_rel['A205'] += 2
  307. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  308. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  309. 'You decide to chat with her, and the two of you talk about a variety of topics. She seems happy to talk with you, especially about fashion, techniques for dyeing your hair, music, and the injustices of life. She mentions how the gopniks hassle some of the gay boys that shop here, and some time passes before you decide to do something else.'
  310. act 'Continue': gt 'shop_dolls', 'viola'
  311. end
  312. act 'Return': gt 'shop_dolls', 'start'
  313. end
  314. --- shop_dolls ---------------------------------