bed_get_out.qsrc 755 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # bed_get_out
  2. if $ARGS[0] = 'start' or $ARGS[0] = '':
  3. menu_off = 1
  4. InSleep = 0
  5. sleepVars['slept_in'] = 0
  6. strip_here = 0
  7. SleepHorny = 0
  8. !! to fudge the first hour wake up sleep loss.
  9. xgt 'bed_get_out', 'mod_sleeptriggers'
  10. end
  11. if $ARGS[0] = 'mod_sleeptriggers':
  12. !! This location is here to allow mods to hook into the system.
  13. !! Check for: if $ARGS[0] = 'bed_get_out' and $ARGS[1] = 'mod_sleeptriggers'
  14. !!
  15. !! This is NOT for events!!
  16. gs 'LOCA', 'bed_get_out', 'mod_sleeptriggers'
  17. xgt 'bed_get_out_events', 'start'
  18. end
  19. if $ARGS[0] = 'end':
  20. menu_off = 0
  21. if fullmorrout = 1:
  22. if $loc = 'bedrPar':
  23. gt 'vanrPar'
  24. elseif $loc = 'bedr':
  25. gt 'vanr'
  26. end
  27. end
  28. gt $loc, $loc_arg
  29. end
  30. --- bed_get_out ---------------------------------