shop_dolls.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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 'Jewelery':gt 'shop_dolls', 'jewelry'
  51. !act 'Piercings':gt 'shop_dolls', 'piecrings'
  52. act 'Return': gt 'shop_dolls', 'start'
  53. end
  54. if $ARGS[0] = 'dress':
  55. $loc_arg = 'dress'
  56. $loc = 'shop_dolls'
  57. $menu_arg = 'dress'
  58. $menu_loc = 'shop_dolls'
  59. menu_off = 0
  60. *clr & cla
  61. gs'stat'
  62. '<center><b><font color="maroon">Viewing Patchwork Dolls dresses</font></b></center>'
  63. *nl
  64. gs 'clothing_QV', 'shop_header'
  65. act 'Return':
  66. cla
  67. minut += 5
  68. gt 'shop_dolls', 'browse'
  69. end
  70. clothingfilter['qualitycheck'] = 7
  71. :loopquality_dress
  72. if Clothingstock > 15:
  73. i = 1
  74. elseif Clothingstock > 7:
  75. i = 3
  76. else
  77. i = 2
  78. end
  79. :loopdolls_dress
  80. if dolls_dress[i] = 0:
  81. gs 'clothing_attributes', 'dolls_dress', i
  82. gs 'clothing_QV', 'shop_filter'
  83. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  84. 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>'
  85. end
  86. end
  87. i += 3
  88. if i <= 110:jump 'loopdolls_dress'
  89. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality_dress'
  90. end
  91. if $ARGS[0] = 'dolls_dress':
  92. cla
  93. if dolls_dress[i] ! 0:
  94. msg 'You already own these clothes.'
  95. gt 'shop_dolls', 'dress'
  96. end
  97. gt 'clothing', 'view_clothing_item', 'shop', 'dolls_dress',i, 3500
  98. end
  99. if $ARGS[0] = 'clothing':
  100. $loc_arg = 'clothing'
  101. $loc = 'shop_dolls'
  102. $menu_arg = 'clothing'
  103. $menu_loc = 'shop_dolls'
  104. menu_off = 0
  105. *clr & cla
  106. gs'stat'
  107. '<center><b><font color="maroon">Viewing Patchwork Dolls clothing</font></b></center>'
  108. *nl
  109. gs 'clothing_QV', 'shop_header'
  110. act 'Return':
  111. cla
  112. minut += 5
  113. gt 'shop_dolls', 'browse'
  114. end
  115. clothingfilter['qualitycheck'] = 7
  116. :loopquality
  117. if Clothingstock > 11:
  118. i = 1
  119. else
  120. i = 2
  121. end
  122. :loopdolls
  123. if dolls_outfits[i] = 0:
  124. gs 'clothing_attributes', 'dolls_outfits', i
  125. gs 'clothing_QV', 'shop_filter'
  126. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  127. 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>'
  128. end
  129. end
  130. i += 2
  131. if i <= 50:jump 'loopdolls'
  132. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  133. end
  134. if $ARGS[0] = 'dolls_outfits':
  135. cla
  136. if dolls_outfits[i] ! 0:
  137. msg 'You already own these clothes.'
  138. gt 'shop_dolls', 'clothing'
  139. end
  140. gt 'clothing', 'view_clothing_item', 'shop', 'dolls_outfits',i, 3500
  141. end
  142. if $ARGS[0] = 'shoes':
  143. $loc_arg = 'shoes'
  144. $loc = 'shop_dolls'
  145. $menu_arg = 'purses'
  146. $menu_loc = 'shoes'
  147. menu_off = 0
  148. *clr & cla
  149. gs'stat'
  150. act 'Return':
  151. cla
  152. minut += 5
  153. gt 'shop_dolls', 'browse'
  154. end
  155. :loopdolls_shoes
  156. if sdolls[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>'
  157. i += 1
  158. if i <= 30:jump 'loopdolls_shoes'
  159. end
  160. if $ARGS[0] = 'dolls_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'dolls',i, 2000
  161. if $ARGS[0] = 'purses':
  162. $loc_arg = 'purses'
  163. $loc = 'shop_dolls'
  164. $menu_arg = 'purses'
  165. $menu_loc = 'shop_dolls'
  166. menu_off = 0
  167. *clr & cla
  168. gs'stat'
  169. act 'Return':
  170. cla
  171. minut += 5
  172. gt 'shop_dolls', 'browse'
  173. end
  174. i = 1
  175. :loopdolls_purses
  176. 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>'
  177. i += 1
  178. if i <= 20:jump 'loopdolls_purses'
  179. end
  180. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'dolls',i, 2000
  181. if $ARGS[0] = 'savva':
  182. *clr & cla
  183. menu_off = 1
  184. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  185. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  186. if know_Savva = 0:
  187. '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?"'
  188. else
  189. '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?"'
  190. end
  191. act 'Ask him about the shop':
  192. *clr & cla
  193. npc_rel['A204'] += 2
  194. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  195. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  196. '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.'
  197. act 'Continue': gt 'shop_dolls', 'savva'
  198. end
  199. !!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.
  200. if Anush_dolls = 2:
  201. act 'Anushka sent me':
  202. *clr & cla
  203. npc_rel['A204'] += 3
  204. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  205. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  206. '"Anushka, a friend of mine, sent me," you tell him with a smile.'
  207. 'He laughs a bit. "Well you must lead a real interesting life then if she is your friend. So you from Pavlovsk too?"'
  208. 'You nod a bit. "Yeah, we go to school together actually."'
  209. '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."'
  210. *nl
  211. '"She is a wild one, that''s for sure. Anyways, she told me you could help and that you ''owe her one.''"'
  212. '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.'
  213. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  214. act 'Continue': gt 'shop_dolls', 'savva'
  215. end
  216. end
  217. act 'Flirt with him':
  218. *clr & cla
  219. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  220. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  221. '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.'
  222. act 'Continue': gt 'shop_dolls', 'savva'
  223. end
  224. act 'Chat with him':
  225. *clr & cla
  226. know_Savva = 1
  227. npc_rel['A204'] += 3
  228. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  229. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  230. '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.'
  231. 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.'
  232. act 'Continue': gt 'shop_dolls', 'savva'
  233. end
  234. act 'Return': gt 'shop_dolls', 'start'
  235. end
  236. if $ARGS[0] = 'viola':
  237. *clr & cla
  238. menu_off = 1
  239. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  240. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  241. if know_Viola = 0:
  242. '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?"'
  243. else
  244. '"What''s up, <<$pcs_nickname>>? You here to do a little shopping or to kill some time?"'
  245. end
  246. act 'Ask her about the shop':
  247. *clr
  248. cla
  249. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  250. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  251. '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.'
  252. act 'Continue': gt 'shop_dolls', 'viola'
  253. end
  254. !!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.
  255. if Anush_dolls = 2:
  256. act 'Anushka sent me':
  257. *clr & cla
  258. Anush_dolls = 3
  259. npc_rel['A205'] += 5
  260. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  261. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  262. '"Anushka, a friend of mine, sent me," you tell her with a smile.'
  263. '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."'
  264. *nl
  265. '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."'
  266. *nl
  267. '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.'
  268. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  269. act 'Continue': gt 'shop_dolls', 'viola'
  270. end
  271. end
  272. act 'Flirt with her':
  273. *clr & cla
  274. npc_rel['A205'] += 3
  275. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  276. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  277. '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.'
  278. act 'Continue': gt 'shop_dolls', 'viola'
  279. end
  280. act 'Chat with her':
  281. *clr
  282. cla
  283. know_Viola = 1
  284. npc_rel['A205'] += 2
  285. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  286. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  287. '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.'
  288. act 'Continue': gt 'shop_dolls', 'viola'
  289. end
  290. act 'Return': gt 'shop_dolls', 'start'
  291. end
  292. --- shop_dolls ---------------------------------