-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgame-define.rpy
125 lines (96 loc) · 3.51 KB
/
game-define.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
init -304 python:
multipersistent = MultiPersistent('tacoen.itch.io')
config.save_directory = "ramendir"
init -300 python:
# Set True to enable developer options
# Game Title
config.name = _("ramen")
config.version = str(1)+"."+datetime.datetime.now().strftime('%m%d')
gui.about = _p("a game made using ramen renpy framework.")
gui.show_name = True
config.autoreload = False
config.has_autosave = False
# uncomment to release
# config.developer = False
# Set False to disable developer options.
ramen.dev = True
init -299 python:
ramen.seed = {}
ramen.seed['day'] = ramen.time.day
ramen.seed['hour'] = ramen.time.hour
init -2 python:
build.name = ramu.str_safe(config.name)
config.window_icon = "window_icon.webp"
# False will force disable ramen episodes menu
# ramen.episodes_menu = False
# starting stats ------------------------------------- #
mc.money ={
'cash': ramu.random_int(120, 190),
'bank': ramu.random_int(9000, 9999)
}
mc.score ={
'cash': ramu.random_int(120, 190),
'bank': ramu.random_int(9000, 9999)
}
mc.score ={
'point': 0,
'level': 0
}
mc.skill = {
'radio': ramu.random_int(5, 9),
'it': ramu.random_int(5, 9),
'managing': ramu.random_int(5, 9),
'writing': ramu.random_int(5, 9)
}
mc.stat = {
'hygiene': ramu.random_int(5, 12),
'energy': ramu.random_int(5, 11),
'vital': ramu.random_int(5, 10),
'libido': ramu.random_int(5, 10),
'intel': ramu.random_int(5, 10),
'luck': ramu.random_int(0, 5),
'charm': 10,
}
mc.lastname = ramu.random_of(['East', 'West', 'North', 'South'])
mc.age = ramu.random_int(36, 51)
mc.name = 'Liam'
mc.lastname = ramu.random_of(['East', 'West', 'North', 'South'])
mc.stat = {
'hygiene': ramu.random_int(5, 11),
'energy': ramu.random_int(5, 11),
'vital': ramu.random_int(5, 11)
}
mc_name = mc.name
# for npc creation
pe.native_name = ['Easton', 'Westly', 'Northgate', 'Southvile' ]
chapter = Character(None,
window_xalign=0.9,
window_yalign=0.85,
window_xsize=0.9,
window_ysize=None,
window_padding=(0, 0, 0, 0),
window_background="#0000",
what_xalign=1.0,
what_yalign=1.0,
what_color="#fff",
what_size=48,
what_font=pt.font_ui_title,
what_outlines=pt.hover_outlines,
what_prefix="{cps=80}",
what_suffix="{/cps}",
)
caption = Character(None,
window_xalign=0.05,
window_yalign=0.85,
window_xsize=config.screen_width / 2,
window_ysize=None,
window_padding=(0, 0, 0, 0),
window_background="#FFCC33DD",
what_xalign=0.0,
what_yalign=1.0,
what_xpos=24,
what_xsize=(config.screen_width / 2) - 48,
what_color="#000",
what_prefix="{vspace=24}{size=-1}{cps=80}",
what_suffix="{/cps}{/size}{vspace=0}",
)