Skip to content

Commit f07b725

Browse files
committed
Change start selling price and add comments
1 parent 87f74a6 commit f07b725

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

save.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -134,38 +134,38 @@ def set_up_character(data, new_player):
134134
if new_player:
135135
user_id = data[0]
136136
name = data[1]
137-
data = [
138-
user_id, # 0
139-
name, # 1
140-
1.0, # 2
141-
float(constants.STARTING_CASH), # 3
142-
float(0), # 4
143-
int(0), # 5
144-
int(0), # 6
145-
int(0), # 7
146-
int(0), # 8
147-
int(1), # 9
148-
int(1), # 10
149-
int(2), # 11
150-
int(1), # 12
151-
float(3.50), # 13
152-
False, # 14
153-
int(0), # 15
154-
int(0), # 16
155-
False, # 17
156-
int(0), # 18
157-
int(0), # 19
158-
False, # 20
159-
int(0), # 21
160-
int(0), # 22
161-
False, # 23
162-
int(0), # 24
163-
int(0), # 25
164-
False, # 26
165-
int(0), # 27
166-
int(0), # 28
167-
False, # 29
168-
0 # 30
137+
data = [ # Player starting values
138+
user_id, # 0 Game ID
139+
name, # 1 Company name
140+
1.0, # 2 Day
141+
float(constants.STARTING_CASH), # 3 Cash
142+
float(0), # 4 Reputation
143+
int(0), # 5 Stock sausages
144+
int(0), # 6 Stock Buns
145+
int(0), # 7 Stock Onions
146+
int(0), # 8 Stock Sauce
147+
int(1), # 9 Recipe Buns
148+
int(1), # 10 Recipe Sausage
149+
int(2), # 11 Recipe Onions
150+
int(1), # 12 Recipe Sauce
151+
float(2.00), # 13 Selling Price
152+
False, # 14 Location 1 Purchased
153+
int(0), # 15 Location 1 Cart lvl
154+
int(0), # 16 Location 1 Staff lvl
155+
False, # 17 Location 2 Purchased
156+
int(0), # 18 Location 2 Cart lvl
157+
int(0), # 19 Location 2 Staff lvl
158+
False, # 20 Location 3 Purchased
159+
int(0), # 21 Location 3 Cart lvl
160+
int(0), # 22 Location 3 Staff lvl
161+
False, # 23 Location 4 Purchased
162+
int(0), # 24 Location 4 Cart lvl
163+
int(0), # 25 Location 4 Staff lvl
164+
False, # 26 Location 5 Purchased
165+
int(0), # 27 Location 5 Cart lvl
166+
int(0), # 28 Location 5 Staff lvl
167+
False, # 29 Game Over
168+
0 # 30 Database Row
169169
]
170170
else:
171171
to_check = [14, 17, 20, 23, 26, 29]

0 commit comments

Comments
 (0)