-
Notifications
You must be signed in to change notification settings - Fork 16
/
screens.rpy
1320 lines (1089 loc) · 53.7 KB
/
screens.rpy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# This file is in the public domain. Feel free to modify it as a basis
# for your own screens.
# Note that many of these screens may be given additional arguments in the
# future. The use of **kwargs in the parameter list ensures your code will
# work in the future.
##############################################################################
# Say
#
# Screen that's used to display adv-mode dialogue.
# http://www.renpy.org/doc/html/screen_special.html#say
screen say(who, what, side_image=None, two_window=False, CountWords = 0): #CountWords is just a counter used with the gag
# Decide if we want to use the one-window or two-window variant.
if not two_window:
# The one window variant. Used for caption boxes
window:
# xpos 0.0
# xanchor 0.0
pos (0.0,0.1) #(0.3,0.1)
anchor (0.0,0.0)
style "textbox"
id "textbox"
has vbox:
style "say_vbox"
if who:
text who id "who"
text what id "what" color "#000000" font "CRIMFBRG.ttf"
#text what id "what"
else:
# The two window variant. Used for character dialog
# start gag code
if who == "Rogue" and R_Gag:
$ CountWords = 1
elif who == "Kitty" and K_Gag:
$ CountWords = 1
elif who == "Emma" and E_Gag:
$ CountWords = 1
elif who in ModdedGirls and newgirl[who].Gag:
$ CountWords = 1
if CountWords == 1:
$ CountWords = what.count(" ") if what.count(" ") <= 10 else 10
$ CountWords = CountWords - what.count(".")
$ what = ""
python:
while CountWords >= 0:
CountWords -= 1
what = what + renpy.random.choice(["Mrph",
"Hrgaph",
"Rhgn",
"Phar",
"Geghs",
"Paha",
"Grde",
"Phraph",
"Ugh"])
if CountWords:
what = what + " "
else:
what = what + "."
# End gag code
vbox:
#Main chat text window
pos (0.0,0.1) #(0.7,0.1)
anchor (0.0,0.0)#(1.0,0.0)
style "say_two_window_vbox"
window:
style "say_balloon"
has vbox:
style "say_balloon"
text what id "what" color "#000000" font "CRIMFBRG.ttf" text_align 0.5
if who == "Rogue":
if R_SpriteLoc == StageRight or R_SpriteLoc == StageFarRight:
add "arrow" rotate -90 xzoom -1 xpos 1.03 ypos -0.85
elif R_SpriteLoc == StageFarLeft:
add "arrow" xalign 0.1 #xzoom -1
else: #R_SpriteLoc == StageCenter, Left, etc.:
add "arrow" xalign 0.8
elif who == "Kitty":
if K_SpriteLoc == StageRight or K_SpriteLoc == StageFarRight:
add "arrow" rotate -90 xzoom -1 xpos 1.03 ypos -0.85
elif K_SpriteLoc == StageFarLeft:
add "arrow" xalign 0.1 #xzoom -1
else: #K_SpriteLoc == StageCenter, Left, etc.:
add "arrow" xalign 0.8
elif who == "Emma":
if E_SpriteLoc == StageRight or E_SpriteLoc == StageFarRight:
add "arrow" rotate -90 xzoom -1 xpos 1.03 ypos -0.85
elif E_SpriteLoc == StageFarLeft:
add "arrow" xalign 0.1 #xzoom -1
else: #E_SpriteLoc == StageCenter, Left, etc.:
add "arrow" xalign 0.8
elif who == EmmaName:
if E_SpriteLoc == StageRight or E_SpriteLoc == StageFarRight:
add "arrow" rotate -90 xzoom -1 xpos 1.03 ypos -0.85
elif E_SpriteLoc == StageFarLeft:
add "arrow" xalign 0.1 #xzoom -1
else: #E_SpriteLoc == StageCenter, Left, etc.:
add "arrow" xalign 0.8
elif who in ModdedGirls:
if newgirl[who].SpriteLoc == StageRight or newgirl[who].SpriteLoc == StageFarRight:
add "arrow" rotate -90 xzoom -1 xpos 1.03 ypos -0.85
elif newgirl[who].SpriteLoc == StageFarLeft:
add "arrow" xalign 0.1 #xzoom -1
else: #E_SpriteLoc == StageCenter, Left, etc.:
add "arrow" xalign 0.8
elif who == Playername:
pass
elif who == "Professor X":
add "arrow" xalign 0.8
elif who:
add "arrow" xalign 0.8
if who:
# this block is the name tag
window:
pos (0.1,0.07) #(0.65,0.07)
anchor (0.5,0)#(0.5,0.5)
style "say_who_window"
text who:
size 15
id "who"
font "CRIMFBRG.ttf"
# Use the quick menu.
use quick_menu
image side arrow = "arrow"
image arrow:
"images/Arrow.png"
ypos -17
xalign 0.5 #0.9
zoom 1
rotate 0
##############################################################################
# Choice
#
# Screen that's used to display in-game menus.
# http://www.renpy.org/doc/html/screen_special.html#choice
screen choice(items):
window:
style "menu_window"
#xpos 20
#ypos 0.3
#yanchor 0
fixed pos (20,0.43) xysize (310,530):
viewport:
yinitial 0
#if not ("RENPY_IOS" in os.environ or "ANDROID_PRIVATE" in os.environ):
if renpy.mobile:
scrollbars "vertical"
arrowkeys True
mousewheel True
draggable True
side_yfill True
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
if action:
if " (locked)" in caption:
$ caption = caption.replace(" (locked)", "")
button:
action None
style "menu_choice_button"
background "#424242"
text caption style "menu_choice" color "#6E6E6E"
else: #to fix, just make this the default of "if action"
button:
action action
style "menu_choice_button"
text caption style "menu_choice"
else:
text caption style "menu_caption"
init -2:
$ config.narrator_menu = True
style menu_window is default
style menu_choice is button_text:
clear
style menu_choice_button is button:
xminimum int(config.screen_width * 0.30) #* 0.45)
xmaximum int(config.screen_width * 0.30)
##############################################################################
# Input
#
# Screen that's used to display renpy.input()
# http://www.renpy.org/doc/html/screen_special.html#input
screen input(prompt):
window style "input_window":
has vbox
text prompt style "input_prompt" color "#000000" size 20
input id "input" style "input_text" color "#6E6E6E" size 25
use quick_menu
##############################################################################
# Nvl
#
# Screen used for nvl-mode dialogue and menus.
# http://www.renpy.org/doc/html/screen_special.html#nvl
screen nvl(dialogue, items=None):
window:
style "nvl_window"
has vbox:
style "nvl_vbox"
# Display dialogue.
for who, what, who_id, what_id, window_id in dialogue:
window:
id window_id
has hbox:
spacing 10
if who is not None:
text who id who_id
text what id what_id
# Display a menu, if given.
if items:
vbox:
id "menu"
for caption, action, chosen in items:
if action:
button:
style "nvl_menu_choice_button"
action action
text caption style "nvl_menu_choice"
else:
text caption style "nvl_dialogue"
add SideImage() xalign 0.0 yalign 1.0
use quick_menu
##############################################################################
# Main Menu
#
# Screen that's used to display the main menu, when Ren'Py first starts
# http://www.renpy.org/doc/html/screen_special.html#main-menu
screen main_menu():
# This ensures that any other menu screen is replaced.
tag menu
# The background of the main menu.
window:
style "mm_root"
# The main menu buttons.
frame:
style_group "mm"
xalign .98
yalign .98
has vbox
textbutton _("Start Game") action Start()
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Help") action Help()
textbutton _("Disclaimer") action Show("Disclaimer_screen") #ui.callsinnewcontext("Disclaimer_screen_label")
textbutton _("Patreon") action OpenURL("http://www.patreon.com/OniArtist")
textbutton _("Quit") action Quit(confirm=False)
init -2:
# Make all the main menu buttons be the same size.
style mm_button:
size_group "mm"
##############################################################################
# Navigation
#
# Screen that's included in other screens to display the game menu
# navigation and background.
# http://www.renpy.org/doc/html/screen_special.html#navigation
screen navigation():
# The background of the game menu.
window:
style "gm_root"
# The various buttons.
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
textbutton _("Return") action Return()
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Save Game") action ShowMenu("save")
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Main Menu") action MainMenu()
textbutton _("Help") action Help()
textbutton _("Quit") action Quit()
init -2:
# Make all game menu navigation buttons the same size.
style gm_nav_button:
size_group "gm_nav"
##############################################################################
# Save, Load
#
# Screens that allow the user to save and load the game.
# http://www.renpy.org/doc/html/screen_special.html#save
# http://www.renpy.org/doc/html/screen_special.html#load
# Since saving and loading are so similar, we combine them into
# a single screen, file_picker. We then use the file_picker screen
# from simple load and save screens.
screen file_picker():
frame:
style "file_picker_frame"
has vbox
# The buttons at the top allow the user to pick a
# page of files.
hbox:
style_group "file_picker_nav"
textbutton _("Previous"):
action FilePagePrevious()
textbutton _("Auto"):
action FilePage("auto")
textbutton _("Quick"):
action FilePage("quick")
for i in range(1, 9):
textbutton str(i):
action FilePage(i)
textbutton _("Next"):
action FilePageNext()
$ columns = 2
$ rows = 5
# Display a grid of file slots.
grid columns rows:
transpose True
xfill True
style_group "file_picker"
# Display ten file slots, numbered 1 - 10.
for i in range(1, columns * rows + 1):
# Each file slot is a button.
button:
action FileAction(i)
xfill True
has hbox
# Add the screenshot.
add FileScreenshot(i)
$ file_name = FileSlotName(i, columns * rows)
$ file_time = FileTime(i, empty=_("Empty Slot."))
$ save_name = FileSaveName(i)
text "[file_name]. [file_time!t]\n[save_name!t]"
key "save_delete" action FileDelete(i)
screen save():
# This ensures that any other menu screen is replaced.
tag menu
use navigation
use file_picker
screen load():
# This ensures that any other menu screen is replaced.
tag menu
use navigation
use file_picker
init -2:
style file_picker_frame is menu_frame
style file_picker_nav_button is small_button
style file_picker_nav_button_text is small_button_text
style file_picker_button is large_button
style file_picker_text is large_button_text
##############################################################################
# Preferences
#
# Screen that allows the user to change the preferences.
# http://www.renpy.org/doc/html/screen_special.html#prefereces
screen preferences():
tag menu
# Include the navigation.
use navigation
# Put the navigation columns in a three-wide grid.
grid 3 1:
style_group "prefs"
xfill True
# The left column.
vbox:
frame:
style_group "pref"
has vbox
label _("Display")
textbutton _("Window") action Preference("display", "window")
textbutton _("Fullscreen") action Preference("display", "fullscreen")
frame:
style_group "pref"
has vbox
label _("Transitions")
textbutton _("All") action Preference("transitions", "all")
textbutton _("None") action Preference("transitions", "none")
frame:
style_group "pref"
has vbox
label _("Text Speed")
bar value Preference("text speed")
frame:
style_group "pref"
has vbox
textbutton _("Joystick...") action Preference("joystick")
vbox:
frame:
style_group "pref"
has vbox
label _("Skip")
textbutton _("Seen Messages") action Preference("skip", "seen")
textbutton _("All Messages") action Preference("skip", "all")
frame:
style_group "pref"
has vbox
textbutton _("Begin Skipping") action Skip()
frame:
style_group "pref"
has vbox
label _("After Choices")
textbutton _("Stop Skipping") action Preference("after choices", "stop")
textbutton _("Keep Skipping") action Preference("after choices", "skip")
frame:
style_group "pref"
has vbox
label _("Auto-Forward Time")
bar value Preference("auto-forward time")
if config.has_voice:
textbutton _("Wait for Voice") action Preference("wait for voice", "toggle")
vbox:
frame:
style_group "pref"
has vbox
label _("Music Volume")
bar value Preference("music volume")
frame:
style_group "pref"
has vbox
label _("Sound Volume")
bar value Preference("sound volume")
if config.sample_sound:
textbutton _("Test"):
action Play("sound", config.sample_sound)
style "soundtest_button"
frame:
style_group "pref"
has vbox
label _("Background")
textbutton _("Modded") action Preference("background choices", "modded1")
textbutton _("Modded Laura") action Preference("background choices", "modded_laura")
textbutton _("Modded Rogue") action Preference("background choices", "modded_rogue")
textbutton _("Modded Kitty") action Preference("background choices", "modded_kitty")
textbutton _("Modded Emma") action Preference("background choices", "modded_emma")
textbutton _("Original") action Preference("background choices", "original")
if config.has_voice:
frame:
style_group "pref"
has vbox
label _("Voice Volume")
bar value Preference("voice volume")
textbutton _("Voice Sustain") action Preference("voice sustain", "toggle")
if config.sample_voice:
textbutton _("Test"):
action Play("voice", config.sample_voice)
style "soundtest_button"
init -2:
style pref_frame:
xfill True
xmargin 5
top_margin 5
style pref_vbox:
xfill True
style pref_button:
size_group "pref"
xalign 1.0
style pref_slider:
xmaximum 192
xalign 1.0
style soundtest_button:
xalign 1.0
##############################################################################
# Yes/No Prompt
#
# Screen that asks the user a yes or no question.
# http://www.renpy.org/doc/html/screen_special.html#yesno-prompt
screen yesno_prompt(message, yes_action, no_action):
modal True
window:
style "gm_root"
frame:
style_group "yesno"
xfill True
xmargin .05
ypos .1
yanchor 0
ypadding .05
has vbox:
xalign .5
yalign .5
spacing 30
label _(message):
xalign 0.5
hbox:
xalign 0.5
spacing 100
textbutton _("Yes") action yes_action
textbutton _("No") action no_action
# Right-click and escape answer "no".
key "game_menu" action no_action
init -2:
style yesno_button:
size_group "yesno"
style yesno_label_text:
text_align 0.5
layout "subtitle"
##############################################################################
# Quick Menu
#
# A screen that's included by the default say screen, and adds quick access to
# several useful functions.
screen quick_menu():
# Add an in-game quick menu.
hbox:
style_group "quick"
xalign 1.0
yalign 1.0
textbutton _("Back") action Rollback()
textbutton _("Save") action ShowMenu('save')
textbutton _("Q.Save") action QuickSave()
textbutton _("Q.Load") action QuickLoad()
textbutton _("Skip") action Skip()
textbutton _("F.Skip") action Skip(fast=True, confirm=True)
textbutton _("Auto") action Preference("auto-forward", "toggle")
textbutton _("Prefs") action ShowMenu('preferences')
init -2:
style quick_button:
is default
background None
xpadding 5
style quick_button_text:
is default
size 12
idle_color "#8888"
hover_color "#ccc"
selected_idle_color "#cc08"
selected_hover_color "#cc0"
insensitive_color "#4448"
##############################################################################
# My Bullshit
#
# This is the random crap I've added
#
#begin Roguebutton
screen roguebutton:
# if True: #"Rogue" in Party or R_Loc == bg_current:
imagebutton:
auto "images/Button_Rogue_%s.png"
action ui.callsinnewcontext("RogueWardrobe")
xpos 690
ypos 5
focus_mask True
#end roguebutton
#begin Statbutton
screen statbutton:
# if True: #"Rogue" in Party or R_Loc == bg_current:
imagebutton:
auto "images/Button_Rogue_%s.png"
action ui.callsinnewcontext("RogueStats") #works
# action ui.callsinnewcontext("R_Wardrobe_screen_label")
xpos 730
ypos 5
focus_mask True
#end statbutton
#begin Statbutton
screen Inventorybutton:
imagebutton:
auto "images/UI_Backpack_%s.png"
action Show("P_Inventory_screen")
xpos 780
ypos 5
focus_mask True
#end statbutton
#Begin Status screen:
screen R_Status_screen:
default tt = Tooltip(" ")
#Rogue's Stats
if Ch_Focus == "Rogue":
add "images/BarBackdrop_R.png"
frame:
style_group "stat_bar"
xminimum 130
background None
has vbox
hbox:
imagebutton idle "images/iconlove.png" hover "images/iconlove.png" action NullAction() hovered tt.Action("Love: [R_Love]")
bar range 100 value VariableValue("R_Love", 1000) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconlust.png" hover "images/iconlust.png" action NullAction() hovered tt.Action("Lust: [R_Lust]")
bar range 100 value VariableValue("R_Lust", 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
frame:
xminimum 130
xpos 130
background None
has vbox
hbox:
imagebutton idle "images/iconobed.png" hover "images/iconobed.png" action NullAction() hovered tt.Action("Obedience: [R_Obed]") #action NullAction("none")?
bar range 100 value VariableValue("R_Obed", 1000) xmaximum 100 left_bar "images/barfullO.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddict.png" hover "images/iconaddict.png" action NullAction() hovered tt.Action("Addiction: [R_Addict]")
bar range 100 value VariableValue("R_Addict", 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 6 thumb None thumb_offset 0
frame:
xminimum 130
xpos 260
background None
has vbox
hbox:
imagebutton idle "images/iconinbt.png" hover "images/iconinbt.png" action NullAction() hovered tt.Action("Inhibitions: [R_Inbt]")
bar range 100 value VariableValue("R_Inbt", 1000) xmaximum 100 left_bar "images/barfulli.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddictrate.png" hover "images/iconaddictrate.png" action NullAction() hovered tt.Action("Addiction Rate: [R_Addictionrate]")
bar range 100 value VariableValue("R_Addictionrate", 10) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
showif not Trigger:
imagebutton auto "images/Button_Rogue_%s.png" action ShowTransient("Test_Focus_Map") xpos 690 ypos 5 focus_mask True #xpos 690 ypos 5
showif config.developer:
imagebutton auto "images/Button_Rogue_%s.png" action ui.callsinnewcontext("RogueStats") xpos 730 ypos 5 focus
#Kitty's stats
elif Ch_Focus == "Kitty":
add "images/BarBackdrop_K.png"
frame:
style_group "stat_bar"
xminimum 130
background None
has vbox
hbox:
imagebutton idle "images/iconlove.png" hover "images/iconlove.png" action NullAction() hovered tt.Action("Love: [K_Love]")
bar range 100 value VariableValue("K_Love", 1000) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconlust.png" hover "images/iconlust.png" action NullAction() hovered tt.Action("Lust: [K_Lust]")
bar range 100 value VariableValue("K_Lust", 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
frame:
xminimum 130
xpos 130
background None
has vbox
hbox:
imagebutton idle "images/iconobed.png" hover "images/iconobed.png" action NullAction() hovered tt.Action("Obedience: [K_Obed]")
bar range 100 value VariableValue("K_Obed", 1000) xmaximum 100 left_bar "images/barfullO.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddict.png" hover "images/iconaddict.png" action NullAction() hovered tt.Action("Addiction: [K_Addict]")
bar range 100 value VariableValue("K_Addict", 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 6 thumb None thumb_offset 0
frame:
xminimum 130
xpos 260
background None
has vbox
hbox:
imagebutton idle "images/iconinbt.png" hover "images/iconinbt.png" action NullAction() hovered tt.Action("Inhibitions: [K_Inbt]")
bar range 100 value VariableValue("K_Inbt", 1000) xmaximum 100 left_bar "images/barfulli.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddictrate.png" hover "images/iconaddictrate.png" action NullAction() hovered tt.Action("Addiciton Rate: [K_Addictionrate]")
bar range 100 value VariableValue("K_Addictionrate", 10) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
showif not Trigger:
imagebutton auto "images/Button_Kitty_%s.png" action ShowTransient("Test_Focus_Map") xpos 690 ypos 5 focus_mask True #xpos 690 ypos 5
showif config.developer:
imagebutton auto "images/Button_Kitty_%s.png" action ui.callsinnewcontext("KittyStats") xpos 730 ypos 5 focus
#Emma's Stats
elif Ch_Focus == "Emma":
add "images/BarBackdrop_E.png"
frame:
style_group "stat_bar"
xminimum 130
background None
has vbox
hbox:
imagebutton idle "images/iconlove.png" hover "images/iconlove.png" action NullAction() hovered tt.Action("Love: [E_Love]")
bar range 100 value VariableValue("E_Love", 1000) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconlust.png" hover "images/iconlust.png" action NullAction() hovered tt.Action("Lust: [E_Lust]")
bar range 100 value VariableValue("E_Lust", 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
frame:
xminimum 130
xpos 130
background None
has vbox
hbox:
imagebutton idle "images/iconobed.png" hover "images/iconobed.png" action NullAction() hovered tt.Action("Obedience: [E_Obed]") #action NullAction("none")?
bar range 100 value VariableValue("E_Obed", 1000) xmaximum 100 left_bar "images/barfullO.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddict.png" hover "images/iconaddict.png" action NullAction() hovered tt.Action("Addiction: [E_Addict]")
bar range 100 value VariableValue("E_Addict", 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 6 thumb None thumb_offset 0
frame:
xminimum 130
xpos 260
background None
has vbox
hbox:
imagebutton idle "images/iconinbt.png" hover "images/iconinbt.png" action NullAction() hovered tt.Action("Inhibitions: [E_Inbt]")
bar range 100 value VariableValue("E_Inbt", 1000) xmaximum 100 left_bar "images/barfulli.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddictrate.png" hover "images/iconaddictrate.png" action NullAction() hovered tt.Action("Addiction Rate: [E_Addictionrate]")
bar range 100 value VariableValue("E_Addictionrate", 10) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
showif not Trigger:
imagebutton auto "images/Button_Emma_%s.png" action ShowTransient("Test_Focus_Map") xpos 690 ypos 5 focus_mask True #xpos 690 ypos 5
showif config.developer:
imagebutton auto "images/Button_Emma_%s.png" action ui.callsinnewcontext("EmmaStats") xpos 730 ypos 5 focus
elif Ch_Focus == "Mystique":
add "images/BarBackdrop_M.png"
frame:
style_group "stat_bar"
xminimum 130
background None
has vbox
hbox:
imagebutton idle "images/iconlove.png" hover "images/iconlove.png" action NullAction() hovered tt.Action("Love: " + str(newgirl["Mystique"].Love))
bar range 100 value VariableValue2("Love", Ch_Focus, 1000) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconlust.png" hover "images/iconlust.png" action NullAction() hovered tt.Action("Lust: " + str(newgirl["Mystique"].Lust))
bar range 100 value VariableValue2("Lust", Ch_Focus, 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
frame:
xminimum 130
xpos 130
background None
has vbox
hbox:
imagebutton idle "images/iconobed.png" hover "images/iconobed.png" action NullAction() hovered tt.Action("Obedience: " + str(newgirl["Mystique"].Obed))
bar range 100 value VariableValue2("Obed", Ch_Focus, 1000) xmaximum 100 left_bar "images/barfullO.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddict.png" hover "images/iconaddict.png" action NullAction() hovered tt.Action("Addiction: " + str(newgirl["Mystique"].Addict))
bar range 100 value VariableValue2("Addict", Ch_Focus, 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 6 thumb None thumb_offset 0
frame:
xminimum 130
xpos 260
background None
has vbox
hbox:
imagebutton idle "images/iconinbt.png" hover "images/iconinbt.png" action NullAction() hovered tt.Action("Inhibitions: " + str(newgirl["Mystique"].Inbt))
bar range 100 value VariableValue2("Inbt", Ch_Focus, 1000) xmaximum 100 left_bar "images/barfulli.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddictrate.png" hover "images/iconaddictrate.png" action NullAction() hovered tt.Action("Addiciton Rate: " + str(newgirl["Mystique"].Addictionrate))
bar range 100 value VariableValue2("Addictionrate", Ch_Focus, 10) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
showif not Trigger:
imagebutton auto "images/Button_Mystique_%s.png" action ShowTransient("Test_Focus_Map") xpos 690 ypos 5 focus_mask True #xpos 690 ypos 5
showif config.developer: #nothing here
imagebutton auto "images/Button_Mystique_%s.png" action ui.callsinnewcontext("NewGirlStats", "Mystique") xpos 730 ypos 5 focus
elif Ch_Focus == "Laura":
add "images/BarBackdrop_L.png"
frame:
style_group "stat_bar"
xminimum 130
background None
has vbox
hbox:
imagebutton idle "images/iconlove.png" hover "images/iconlove.png" action NullAction() hovered tt.Action("Love: " + str(newgirl["Laura"].Love))
bar range 100 value VariableValue2("Love", Ch_Focus, 1000) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconlust.png" hover "images/iconlust.png" action NullAction() hovered tt.Action("Lust: " + str(newgirl["Laura"].Lust))
bar range 100 value VariableValue2("Lust", Ch_Focus, 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
frame:
xminimum 130
xpos 130
background None
has vbox
hbox:
imagebutton idle "images/iconobed.png" hover "images/iconobed.png" action NullAction() hovered tt.Action("Obedience: " + str(newgirl["Laura"].Obed))
bar range 100 value VariableValue2("Obed", Ch_Focus, 1000) xmaximum 100 left_bar "images/barfullO.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddict.png" hover "images/iconaddict.png" action NullAction() hovered tt.Action("Addiction: " + str(newgirl["Laura"].Addict))
bar range 100 value VariableValue2("Addict", Ch_Focus, 100) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 6 thumb None thumb_offset 0
frame:
xminimum 130
xpos 260
background None
has vbox
hbox:
imagebutton idle "images/iconinbt.png" hover "images/iconinbt.png" action NullAction() hovered tt.Action("Inhibitions: " + str(newgirl["Laura"].Inbt))
bar range 100 value VariableValue2("Inbt", Ch_Focus, 1000) xmaximum 100 left_bar "images/barfulli.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
imagebutton idle "images/iconaddictrate.png" hover "images/iconaddictrate.png" action NullAction() hovered tt.Action("Addiciton Rate: " + str(newgirl["Laura"].Addictionrate))
bar range 100 value VariableValue2("Addictionrate", Ch_Focus, 10) xmaximum 100 left_bar "images/barfull.png" right_bar "images/barempty.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
showif not Trigger:
imagebutton auto "images/Button_Laura_%s.png" action ShowTransient("Test_Focus_Map") xpos 690 ypos 5 focus_mask True #xpos 690 ypos 5
showif config.developer: #nothing here
imagebutton auto "images/Button_Laura_%s.png" action ui.callsinnewcontext("NewGirlStats", "Laura") xpos 730 ypos 5 focus
frame:
#Focus meter (dick)
xminimum 130
xpos 390
background None
has vbox
hbox:
bar range 100 value VariableValue("P_Focus", 100) xmaximum 100 left_bar "images/barfullP.png" right_bar "images/baremptyP.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
hbox:
bar range 100 value VariableValue("P_Semen", 5) xmaximum 100 left_bar "images/barfullS.png" right_bar "images/baremptyS.png" left_gutter 3 right_gutter 5 thumb None thumb_offset 0
imagebutton auto "images/Button_Emma_%s.png" action ui.callsinnewcontext("EmmaStats") xpos 730 ypos 5 focus
frame:
# Money and level
xminimum 75
xpos 500
ypos -5
background None
has vbox
hbox:
text "Money: $[P_Cash]" size 12
hbox:
text "Level: [P_Lvl]" size 12
if Ch_Focus == 'Emma':
hbox:
text "Actions Left: [E_Action]" size 12
hbox:
text "Forced: [E_ForcedCount]" size 12
elif Ch_Focus == 'Kitty':
hbox:
text "Actions Left: [K_Action]" size 12
hbox:
text "Forced: [K_ForcedCount]" size 12
elif Ch_Focus == 'Rogue':
hbox:
text "Actions Left: [R_Action]" size 12
hbox:
text "Forced: [R_ForcedCount]" size 12
elif Ch_Focus == 'Mystique':
hbox:
text "Actions Left: [newgirl[Mystique].Action]" size 12
hbox:
text "Forced: [newgirl[Mystique].ForcedCount]" size 12
elif Ch_Focus == 'Laura':
hbox:
text "Actions Left: [newgirl[Laura].Action]" size 12
hbox:
text "Forced: [newgirl[Laura].ForcedCount]" size 12
# this block is the name tag
window:
pos (90,-40)#(-15,-8)
anchor (0,0)