shop_dolls.qsrc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. # shop_dolls
  2. !!2022/06/22
  3. !!Savva Timurovich - A204 static_num
  4. !!Viola Valerievna - A205 static_num
  5. if $ARGS[0] = 'start':
  6. killvar 'clothingfilter'
  7. gs 'shortgs', 'setloc', 'shop_dolls', 'start'
  8. $location_type = 'public_indoors'
  9. menu_off = 0
  10. if anushkaQW['dolls'] = 0: anushkaQW['dolls'] = 1
  11. minut += 2
  12. gs 'stat'
  13. gs 'themes', 'indoors'
  14. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/city/island/dolls/dolls.jpg"></center>'
  16. ''
  17. '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 gothic and punk 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.'
  18. if doll_staff_day ! daystart:
  19. doll_staff = rand(0, 1)
  20. doll_staff_day = daystart
  21. end
  22. act 'Browse clothing': gt 'shop_dolls', 'browse'
  23. !!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.
  24. if doll_staff = 0:
  25. 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."'
  26. act 'Go to the counter': gt 'shop_dolls', 'savva'
  27. else
  28. if know_Viola = 1: 'As you walk in, Viola winks at you.'
  29. act 'Go to the counter': gt 'shop_dolls', 'viola'
  30. end
  31. act 'Leave': minut += 2 & gt 'city_island'
  32. end
  33. if $ARGS[0] = 'browse':
  34. gs 'shortgs', 'setloc', 'shop_dolls', 'browse'
  35. menu_off = 0
  36. gs 'stat'
  37. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  38. '<center><img <<$set_imgh>> src="images/locations/city/island/dolls/dollsshop.jpg"></center>'
  39. ''
  40. '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.'
  41. act 'View dresses': gt 'shop_dolls', 'dress'
  42. act 'View other outfits': gt 'shop_dolls', 'clothing'
  43. act 'View shoes': gt 'shop_dolls', 'shoes'
  44. act 'View purses': gt 'shop_dolls', 'purses'
  45. act 'View coats': gt 'shop_dolls', 'coats'
  46. !act 'Jewelery': gt 'shop_dolls', 'jewelry'
  47. !act 'Piercings': gt 'shop_dolls', 'piecrings'
  48. act 'Return': gt 'shop_dolls', 'start'
  49. end
  50. if $ARGS[0] = 'dress':
  51. gs 'shortgs', 'setloc', 'shop_dolls', 'dress'
  52. menu_off = 0
  53. gs 'stat'
  54. '<center><b><font color="maroon">Viewing Patchwork Dolls dresses</font></b></center>'
  55. *nl
  56. act 'Return': minut += 5 & gt 'shop_dolls', 'browse'
  57. gs 'clothing_QV', 'shop_filter_header'
  58. gs 'clothing', 'totals', 'dolls_dress'
  59. !!To filter just this set
  60. clo_i = 0
  61. :loopdolls_dress_filter
  62. i = 1 + Clothingstock mod 3
  63. :loopdolls_dress
  64. if dolls_dress[i] = 0:
  65. gs 'clothing_attributes', 'dolls_dress', i
  66. gs 'clothing_QV', 'shop_filter'
  67. !!sort by filter
  68. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  69. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_dress''"><img src="images/pc/items/dolls/dress/<<i>>.jpg" height="250" /></a>'
  70. end
  71. end
  72. i += 3
  73. if i <= total: jump 'loopdolls_dress'
  74. clo_i += 1
  75. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  76. jump 'loopdolls_dress_filter'
  77. end
  78. end
  79. if $ARGS[0] = 'dolls_dress':
  80. if dolls_dress[i] ! 0:
  81. msg 'You already own these clothes.'
  82. gt 'shop_dolls', 'dress'
  83. end
  84. gt 'clothing', 'view_clothing_item', 'dolls_dress', i, iif(anushkaQW['dolls'] > 2, 3150, 3500), 'shop'
  85. end
  86. if $ARGS[0] = 'clothing':
  87. gs 'shortgs', 'setloc', 'shop_dolls', 'clothing'
  88. menu_off = 0
  89. gs 'stat'
  90. '<center><b><font color="maroon">Viewing Patchwork Dolls clothing</font></b></center>'
  91. *nl
  92. gs 'clothing_QV', 'shop_filter_header'
  93. gs 'clothing', 'totals', 'dolls_outfits'
  94. act 'Return':
  95. cla
  96. minut += 5
  97. gt 'shop_dolls', 'browse'
  98. end
  99. !!To filter just this set
  100. clo_i = 0
  101. :loopdolls_filter
  102. i = 1 + (Clothingstock / 3) mod 2
  103. :loopdolls
  104. if dolls_outfits[i] = 0:
  105. gs 'clothing_attributes', 'dolls_outfits', i
  106. gs 'clothing_QV', 'shop_filter'
  107. !!sort by filter
  108. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  109. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_outfits''"><img src="images/pc/items/dolls/outfits/<<i>>.jpg" height="250" /></a>'
  110. end
  111. end
  112. i += 2
  113. if i <= total: jump 'loopdolls'
  114. clo_i += 1
  115. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  116. jump 'loopdolls_filter'
  117. end
  118. end
  119. if $ARGS[0] = 'dolls_outfits':
  120. if dolls_outfits[i] ! 0:
  121. msg 'You already own these clothes.'
  122. gt 'shop_dolls', 'clothing'
  123. end
  124. gt 'clothing', 'view_clothing_item', 'dolls_outfits', i, iif(anushkaQW['dolls'] > 2, 3150, 3500), 'shop'
  125. end
  126. if $ARGS[0] = 'shoes':
  127. gs 'shortgs', 'setloc', 'shop_dolls', 'shoes'
  128. menu_off = 0
  129. gs 'stat'
  130. '<center><b><font color="maroon">Viewing G&M shoes</font></b></center>'
  131. *nl
  132. act 'Return': minut += 5 & gt 'shop_dolls', 'browse'
  133. gs 'shoes', 'shop_filter_header'
  134. gs 'shoes', 'totals', 'dolls_shoes'
  135. !!To filter just this set
  136. clo_i = 0
  137. :loopshoequality_filter
  138. i = 1
  139. :loopdolls_shoes
  140. if dolls_shoe[i] = 0:
  141. gs 'shoe_attributes', 'dolls', i
  142. gs 'shoes', 'shoe_filter'
  143. if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
  144. if Shofilter['inc'] = 1 and Shofilter['only'] = 1:
  145. *p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_shoes''"><img src="images/pc/items/dolls/shoes/<<i>>.jpg" height="250" /></a>'
  146. end
  147. end
  148. end
  149. i += 1
  150. if i <= total: jump 'loopdolls_shoes'
  151. clo_i += 1
  152. if Shofilter['quality'] = 0 and clo_i <= 7:
  153. jump 'loopshoequality_filter'
  154. end
  155. end
  156. if $ARGS[0] = 'dolls_shoes':
  157. gt 'shoes', 'view_shoe_item', 'shop', 'dolls', i, iif(anushkaQW['dolls'] > 2, 1800, 2000)
  158. end
  159. if $ARGS[0] = 'purses':
  160. gs 'shortgs', 'setloc', 'shop_dolls', 'purses'
  161. menu_off = 0
  162. gs 'stat'
  163. act 'Return': minut += 5 & gt 'shop_dolls', 'browse'
  164. gs 'purses', 'totals', 'dolls_purses'
  165. i = 1
  166. :loopdolls_purses
  167. 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>'
  168. i += 1
  169. if i <= total: jump 'loopdolls_purses'
  170. end
  171. if $ARGS[0] = 'purses2':
  172. gt 'purses', 'view_purse_item', 'shop', 'dolls', i, iif(anushkaQW['dolls'] > 2, 1800, 2000)
  173. end
  174. if $ARGS[0] = 'coats':
  175. gs 'shortgs', 'setloc', 'shop_dolls', 'coats'
  176. menu_off = 0
  177. gs 'stat'
  178. act 'Return': minut += 5 & gt 'shop_dolls', 'browse'
  179. gs 'coats', 'totals', 'dolls_coats'
  180. i = 1
  181. :loopdolls_coats
  182. 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>'
  183. i += 1
  184. if i <= total: jump 'loopdolls_coats'
  185. end
  186. if $ARGS[0] = 'coats2':
  187. gt 'coats', 'view_coat_item', 'shop', 'dolls', i, iif(anushkaQW['dolls'] > 2, 1800, 2000)
  188. end
  189. if $ARGS[0] = 'savva':
  190. menu_off = 1
  191. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  192. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  193. if know_Savva = 0:
  194. '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?"'
  195. else
  196. '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?"'
  197. end
  198. act 'Ask him about the shop':
  199. *clr & cla
  200. npc_rel['A204'] += 2
  201. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  202. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  203. '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.'
  204. act 'Continue': gt 'shop_dolls', 'savva'
  205. end
  206. !!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.
  207. if anushkaQW['dolls'] = 2:
  208. act 'Anushka sent me':
  209. *clr & cla
  210. npc_rel['A204'] += 3
  211. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  212. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  213. '"Anushka, a friend of mine, sent me," you tell him with a smile.'
  214. 'He laughs a bit. "Well you must lead a real interesting life then if she is your friend. So you from Pavlovsk too?"'
  215. 'You nod a bit. "Yeah, we go to school together actually."'
  216. '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."'
  217. *nl
  218. '"She is a wild one, that''s for sure. Anyways, she told me you could help and that you ''owe her one.''"'
  219. '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.'
  220. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  221. act 'Continue': gt 'shop_dolls', 'savva'
  222. end
  223. end
  224. act 'Flirt with him':
  225. *clr & cla
  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. '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.'
  229. act 'Continue': gt 'shop_dolls', 'savva'
  230. end
  231. act 'Chat with him':
  232. *clr & cla
  233. know_Savva = 1
  234. npc_rel['A204'] += 3
  235. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  236. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  237. '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.'
  238. 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.'
  239. act 'Continue': gt 'shop_dolls', 'savva'
  240. end
  241. act 'Return': gt 'shop_dolls', 'start'
  242. end
  243. if $ARGS[0] = 'viola':
  244. *clr & cla
  245. menu_off = 1
  246. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  247. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  248. if know_Viola = 0:
  249. '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?"'
  250. else
  251. '"What''s up, <<$pcs_nickname>>? You here to do a little shopping or to kill some time?"'
  252. end
  253. act 'Ask her about the shop':
  254. *clr & cla
  255. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  256. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  257. '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.'
  258. act 'Continue': gt 'shop_dolls', 'viola'
  259. end
  260. !!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.
  261. if anushkaQW['dolls'] = 2:
  262. act 'Anushka sent me':
  263. *clr & cla
  264. anushkaQW['dolls'] = 3
  265. npc_rel['A205'] += 5
  266. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  267. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  268. '"Anushka, a friend of mine, sent me," you tell her with a smile.'
  269. '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."'
  270. *nl
  271. '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."'
  272. *nl
  273. '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.'
  274. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  275. act 'Continue': gt 'shop_dolls', 'viola'
  276. end
  277. end
  278. act 'Flirt with her':
  279. *clr & cla
  280. npc_rel['A205'] += 3
  281. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  282. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  283. '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.'
  284. act 'Continue': gt 'shop_dolls', 'viola'
  285. end
  286. act 'Chat with her':
  287. *clr & cla
  288. know_Viola = 1
  289. npc_rel['A205'] += 2
  290. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  291. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  292. '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.'
  293. act 'Continue': gt 'shop_dolls', 'viola'
  294. end
  295. act 'Return': gt 'shop_dolls', 'start'
  296. end
  297. --- shop_dolls ---------------------------------