hookahlounge.qsrc 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # hookahlounge
  2. !!background should be kind of dark, maybe #664d4d
  3. !!time should also pass on entering and leaving, maybe 1 or 2 minutes
  4. !!I intend on adding 2 NPCs, a Muslim woman and a man of undecided origin. Unclear at the moment on what their connection is.
  5. !!Possibility to unlock more drugs to take using the hookah as relationship with Muslim woman progresses.
  6. !!I have an idea to possibly enable Sveta to work at the Hookah Lounge in the future
  7. !!I want something where on repeat visits, Aliyyah (the woman at the counter) greets Sveta by name instead of by "ma'am"
  8. if $ARGS[0] = 'start':
  9. *clr & cla
  10. $loc = 'hookahlounge'
  11. $loc_arg = 'start'
  12. $menu_loc = 'hookahlounge'
  13. $menu_arg = 'start'
  14. menu_off = 0
  15. $location_type = 'public_indoors'
  16. !! if sound = 0:
  17. !! end
  18. gs 'themes', 'indoors'
  19. gs 'stat'
  20. '<center><h1><font color="maroon">Hookah Lounge</font></h1></center>'
  21. '<center><img <<$set_imgh>> src="images/locations/city/redlight/hookahlounge/HookahLounge.jpg"></center>'
  22. !! smoking with hookah should have same effect as smoking cigarettes
  23. 'You enter the lounge'
  24. act 'Leave the Lounge': minut += 1 & gt 'city_redlight', 'start'
  25. act 'Go to counter': gt 'hookahlounge', 'Hookah_Aliyyah'
  26. if smoketab = 1:
  27. act 'Sit Down': gt 'hookahlounge', 'Smoke_Hookah'
  28. end
  29. end
  30. !! end the main act
  31. if $ARGS[0] = 'Hookah_Aliyyah':
  32. *clr & cla
  33. menu_off = 1
  34. '<center><b><font color="maroon">Untitled Hookah Lounge</font></b></center>'
  35. '<center><img <<$set_imgh>> src="images/characters/city/aliyyah/Hookah_Aliyyah.jpg"></center>'
  36. 'At the counter, you see a young Muslim woman. She appears quite timid. Nonetheless, she greets you with a smile as you walk up. She squeaks "What do you need, ma''am?'
  37. 'I''d like to buy a seat at a hookah, please.'
  38. 'Okay, that will be <b>₽</b>100 please.'
  39. 'You glance at her name badge, before looking back at her. Smiling, you hand over the required amount and say "Here you go, <<$npc_firstname[''A262'']>>!"'
  40. if smoketab = 0:
  41. act 'Pay for an hour and leave the counter': money -= 100 & smoketab = 1 & gt 'hookahlounge', 'start'
  42. else
  43. act 'Leave the counter': gt 'hookahlounge', 'start'
  44. end
  45. end
  46. !! Smoking from hookah should give Sveta a "buzzed" effect, possible to code that please?
  47. if $ARGS[0] = 'Smoke_Hookah':
  48. '<center><img <<$set_imgh>> src="images/locations/city/redlight/hookahlounge/HookahSit.jpg"></center>'
  49. 'You sit down at a booth'
  50. act 'Smoke using hookah':
  51. cla & *clr
  52. smoketab = 0
  53. minut += 60
  54. gs 'drugs', 'smoke', 1
  55. '<center><img <<$set_imgh>> src="images/locations/city/redlight/hookahlounge/HookahSmoke.jpg"></center>'
  56. 'You smoke using the hookah'
  57. act 'Stop using Hookah': gt 'hookahlounge', 'start'
  58. !! this finishes hookah act
  59. end
  60. end
  61. !! game code:
  62. --- hookahlounge ---------------------------------