1
0

shop_dolls.qsrc 16 KB

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