shop_dolls.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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 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 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. if Clothingstock > 11:
  156. i = 1
  157. else
  158. i = 2
  159. end
  160. :loopdolls_shoes
  161. if sdolls[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''dolls_shoes''"><img src="images/pc/shoes/dolls/<<i>>.jpg" height="250" /></a>'
  162. i += 2
  163. if i <= 27:jump 'loopdolls_shoes'
  164. end
  165. if $ARGS[0] = 'dolls_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'dolls',i, 2000
  166. if $ARGS[0] = 'purses':
  167. $loc_arg = 'purses'
  168. $loc = 'shop_dolls'
  169. $menu_arg = 'purses'
  170. $menu_loc = 'shop_dolls'
  171. menu_off = 0
  172. *clr & cla
  173. gs'stat'
  174. act 'Return':
  175. cla
  176. minut += 5
  177. gt 'shop_dolls', 'browse'
  178. end
  179. i = 1
  180. :loopdolls_purses
  181. 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>'
  182. i += 1
  183. if i <= 20:jump 'loopdolls_purses'
  184. end
  185. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'dolls',i, 2000
  186. if $ARGS[0] = 'savva':
  187. *clr & cla
  188. menu_off = 1
  189. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  190. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  191. if know_Savva = 0:
  192. '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 if you need help, so softly you can barely hear him. "Can I help you?"'
  193. else
  194. '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?"'
  195. end
  196. act 'Ask him about the shop':
  197. *clr & cla
  198. npc_rel['A204'] += 2
  199. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  200. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  201. '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 asks if you need help finding an outfit.'
  202. act 'Continue': gt 'shop_dolls', 'savva'
  203. end
  204. !!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.
  205. if Anush_dolls = 2:
  206. act 'Anushka sent me':
  207. *clr & cla
  208. npc_rel['A204'] += 3
  209. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  210. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  211. '"Anushka, a friend of mine, sent me." you tell him with a smile.'
  212. 'He laughs a bit. "Well you must lead a real interesting life then if she is your friend. So you from Pavlovsk too?"'
  213. 'You nod a bit. "Yeah, we go to school together actually."'
  214. '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."'
  215. *nl
  216. '"She is a wild one, that''s for sure. Anyways, she told me you could help and that you ''owe her one.''"'
  217. '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 and 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.'
  218. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  219. act 'Continue': gt 'shop_dolls', 'savva'
  220. end
  221. end
  222. act 'Flirt with him':
  223. *clr & cla
  224. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  225. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  226. '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.'
  227. act 'Continue': gt 'shop_dolls', 'savva'
  228. end
  229. act 'Chat with him':
  230. *clr & cla
  231. know_Savva = 1
  232. npc_rel['A204'] += 3
  233. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  234. '<center><img <<$set_imgh>> src="images/characters/city/savva/savva.jpg"></center>'
  235. '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.'
  236. 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.'
  237. act 'Continue': gt 'shop_dolls', 'savva'
  238. end
  239. act 'Return': gt 'shop_dolls', 'start'
  240. end
  241. if $ARGS[0] = 'viola':
  242. *clr & cla
  243. menu_off = 1
  244. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  245. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  246. if know_Viola = 0:
  247. '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?"'
  248. else
  249. '"What''s up, <<$pcs_nickname>>? You here to do a little shopping or to kill some time?"'
  250. end
  251. act 'Ask her about the shop':
  252. *clr
  253. cla
  254. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  255. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  256. '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 on the pictures. You get the impression that the topic really bothers her and she could go on for some time if you let her.'
  257. act 'Continue': gt 'shop_dolls', 'viola'
  258. end
  259. !!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.
  260. if Anush_dolls = 2:
  261. act 'Anushka sent me':
  262. *clr & cla
  263. Anush_dolls = 3
  264. npc_rel['A205'] += 5
  265. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  266. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  267. '"Anushka, a friend of mine, sent me." you tell her with a smile.'
  268. '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."'
  269. *nl
  270. '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."'
  271. *nl
  272. '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 and 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.'
  273. !!can this be coded so Sveta gets a discount on all items here after this conversation.
  274. act 'Continue': gt 'shop_dolls', 'viola'
  275. end
  276. end
  277. act 'Flirt with her':
  278. *clr & cla
  279. npc_rel['A205'] += 3
  280. '<center><b><font color="maroon">Patch Work Dolls</font></b></center>'
  281. '<center><img <<$set_imgh>> src="images/characters/city/viola/viola.jpg"></center>'
  282. '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; either she''s playing hard to get, trying to put you in a good mood to buy stuff, or she is messing with you - you are unsure which one it is.'
  283. act 'Continue': gt 'shop_dolls', 'viola'
  284. end
  285. act 'Chat with her':
  286. *clr
  287. 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 on dying 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 ---------------------------------