制作了2年半的时间终于来了,本人在娱乐时间的兴趣制作,不喜勿喷
想法是因为觉得上python太无聊也都会,就在课余时间做了游戏,一开始想着随便写一些
写着写着就停不下来了,一开始给同学门玩的时候他们总想着改我的数值作弊,我就加了防作弊系统,后来他们说不能保存一节课又玩不完,我就又做了保存和导入,又后来他们说就只有赚钱没意思我就加了恋爱剧情,他们又说就只有剧情也没啥意思我就又加了一些梗进去,就到了现在,写完找他们测试也没有什么bug了。慢慢写着就发现写了1000多行,又加了一些功能和剧情完善了一下代码就2000多行代码了
有bug请联系我
有人反馈说没有颜色看着眼累,今天颜色它来了,颜色版本登场
又有人说不想慢慢攒钱想要直接暴富的感觉它也来了,作弊系统登场
当然作弊也有代价就是没有成就,要慎用哦
还有我觉得没有互动感就加了一个小游戏进去,数字炸弹登场
我们直接上代码
作弊系统打出:"zuobi"即可开启
import random
import os
import time
# 我是一个勤勤恳恳优良的高中生,不喜勿喷,本游戏是空闲时间自作,纯属兴趣
# 基础数值
mrlj = '文字生活'
if os.path.exists(mrlj):
os.chdir(mrlj)
else:
os.mkdir(mrlj)
os.chdir(mrlj)
e = 8 # 8
f = random.randint(100, 250) # 100
g = 100 # 100
h = 80 # 80
bh = random.randint(70, 80) # 70
tianshu = 1 # 1
meili = 0
# 病
aizheng = 0
bing = 0
bude = 0
shezibing = 0
# 女孩
nvhai = 0
npy = 0
yujian = 0
yuehui = 0
lp = 0
nhhaogan = 0
qiuhun = 0
# 成就
chengjiu = []
gtzn = 0
xhssf = 0
ses = 0
myl = 0
bygh = 0
butl = 0
bhfs = 0
jqye = 0
xun = 0
gjr = 0
hjdg = 0
wysf = 0
jtcj = 0
txzz = 0
# 服装店
pyi = 0
ys = 0
syi = 0
hyi = 0
cyi = 0
# 剧情
cs = 0
baipiao = 0
zb = 0
bubf = 0
zc = 0
cs1 = 0
cs2 = 0
rlcs = 0
dycs = 0
jtcs = 0
jtcs1 = 0
sjsj1 = 0
ycxl = 0
jtcs2 = 0
# 物品
daliwan = 0
yg = 0
qiaokeli = 0
meigui = 0
yinxianglian = 0
zuanjie = 0
# 跳蚤市场
tzsc = 1
tzscsp = 0
tzsc1 = 0
tzsc2 = 0
tzsc3 = 0
tz1 = 0
tz2 = 0
tz3 = 0
erlou = ['1.踩背', '2.拔罐', '3.按摩', '4.睡觉']
xxsh = ['1.钓鱼(需要鱼竿)', '2.发传单', '3.玩耍', '4.洗浴城']
##a={'1':['1','小小生活'],'2':['2,20元','吃点东西(20体力,30饱和)'],'3':['3,50元','看病(生命回50)'],'4':['4','黑市'],'5':['5','睡觉(生命+25)'],'6':['6','背包']}#各项生活项目
juqing = input('注意事项:进入循环要退出打\033[4;31m"tc"\033[0m即可退出!!!!!!!!!!!!!!!!!!!!!!!!!!(回车继续)')
juqing = input('输入123再次查看主页项目内容,输入321再次查看注意事项,第1.0.0版本')
juqing = input('彩票店有每日一抽活动\033[4;31m<<白嫖哦>>导航1-3-3-5\033[0m')
juqing = input('不要试图改任何变量,可能会导致不能运行,玩到一半突然蹦掉的情况')
juqing = input('更新日志:完结')
a = input('我是一个勤勤恳恳优良的高中生,不喜勿喷,本游戏是空闲时间自作,纯属兴趣')
juqing = input('有bug在csdn搜 xiaoyuan恶霸 联系我')
while h > 0:
try:
juqing = input('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
print('******************************************************************************')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(meili) + '\033[0m|时间:' + str(
e) + '点|第' + str(tianshu) + '天|')
print('******************************************************************************')
print('')
print('[1, 小小生活]')
print('[2,\033[33m20元\033[0m, 吃点东西(\033[36m20体力\033[0m,\033[34m30饱和\033[0m)]')
print('[3,\033[33m50元\033[0m, 看病(\033[32m生命回50\033[0m)]')
print('[4, 黑市]')
print('[5, 睡觉(\033[32m生命+25\033[0m,\033[36m40体力\033[0m)]')
print('[6, 背包]')
print('[7,保存/导入]')
if sjsj1 == 0:
sjsj = random.randint(1, 25)
sjsj1 = sjsj
if sjsj1 == 10:
print('听说鱼竿今天打折,有时间去看看吧')
if sjsj1 == 11 and tzsc == 0:
xxsh.insert(5, '6,跳蚤市场') # 加入跳蚤市场
tzsc = tianshu + 1
print('\033[34m跳蚤市场\033[0m限时一天开启')
print('\033[1;38m(小小生活里\033[0m)')
bingliu = random.randint(0, 45)
print('')
sjbh1 = e
b = input('请问今天做什么项目:')
print('')
print('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
if e > 21 or e < 6:
juqing = input('\033[31m你必须要睡觉了\033[0m')
b = '5'
if b == '5':
e = 8
h += 25
tianshu += 1
if tianshu == tzsc: # 到关闭时间删除跳蚤市场
del xxsh[xxsh.index('6,跳蚤市场')]
print('')
print('\033[34m跳蚤市场\033[0m今天结束了')
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
tzsc = 0 # 重新会到0变量等到再次开启
tzscsp = 0
tzsc1 = 0
tzsc2 = 0
tzsc3 = 0
tz1 = 0
tz2 = 0
tz3 = 0
sjsj1 = 0
cs1 = 0
cs = 0
g += 40
if bubf == 0:
bh -= 30
baipiao = 0
print('你睡了一觉,\033[32m生命加 25\033[0m,\033[36m体力加40\033[0m')
if bh < 0:
bh = 0
if b != '1' and b != '2' and b != '3' and b != '4' and b != '5' and b != '6' and b != '7' and b != '321' and b != 'siwang' and b != 'zuobi' and b != 'debing' and b != 'shuijiao' and b != 'kaiqises' and b != 'seszuobi' and b != 'tianjiacj':
continue
if b == 'tianjiacj' and ses == 1:
c_j = input('确认添加成就: (y/n)')
if c_j == 'y':
c_jtj = input('添加成就:')
chengjiu.append(c_jtj)
print('解锁成就:<%s>' % c_jtj)
juqing = input('添加成功')
if b == 'kaiqises':
mima = input('')
if mima == str(e) + str(meili) + str(bh) + str(g) + str(h):
s_n = input('确认开启测试: (y/n)')
if s_n == 'y':
ses = 1
print('开启成功')
if b == 'seszuobi' and ses == 1:
zban = 'za'
zb = 0
while zban != 'tc':
print('')
print('-----------------------------------------------------------------------------')
if bude == 0:
print('不会得病开启状态:NO')
else:
print('不会得病开启状态:YES')
if bubf == 0:
print('不减饱和值开启状态:NO')
else:
print('不减饱和值开启状态:YES')
if butl == 0:
print('不减体力值开启状态:NO')
else:
print('不减体力值开启状态:YES')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(meili) + '\033[0m|时间:' + str(
e) + '点|第' + str(tianshu) + '天|')
zban = input('1,设置金钱 2,设置魅力值 3,永远不会得病 4,设置几点 5,饱和值不减 6,体力值不减 :')
if zban != '1' and zban != '2' and zban != '3' and zban != '4' and zban != '5' and zban != '6':
continue
if zban == '1':
shezi = input('设置金钱为:')
cw = 0
for i in shezi:
if '0' > i or i > '9':
cw = 1
print('数字错误重新输入')
break
if cw == 0:
f = int(shezi)
print('<-设置成功->')
if zban == '2':
shezi = input('设置魅力值为:')
cw = 0
for i in shezi:
if '0' > i or i > '9':
cw = 1
print('数字错误重新输入')
break
if cw == 0:
meili = int(shezi)
print('<-设置成功->')
if zban == '3':
shezi = input('开启不会得病 (y/n):')
if shezi == 'y':
bude = 1
juqing = input('<-开启成功->')
if shezi == 'n':
bude = 0
if zban == '4':
ass = []
for i in range(1, 25):
ass.append(str(i))
shezi = input('设置时间为1-24:')
if shezi in ass:
e = int(shezi)
print('<-设置成功->')
else:
print('设置失败')
if zban == '5':
shezi = input('开启饱和值不减 (y/n):')
if shezi == 'y':
bubf = 1
juqing = input('<-开启成功->')
if shezi == 'n':
bubf = 0
if zban == '6':
shezi = input('开启体力值不减 (y/n):')
if shezi == 'y':
butl = 1
juqing = input('<-开启成功->')
if shezi == 'n':
butl = 0
if b == 'shuijiao' and ses == 1:
s_n = input('打出睡觉按钮是否确认 (y/n)')
if s_n == 'y':
e = 24
if e > 21 or e < 8:
print('开启成功')
print('你必须要睡觉了')
b = '5'
if b == '5':
e = 8
h += 25
tianshu += 1
if tianshu == tzsc: # 到关闭时间删除跳蚤市场
del xxsh[xxsh.index('6,跳蚤市场')]
print('')
print('\033[34m跳蚤市场\033[0m今天结束了')
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
tzsc = 0 # 重新会到0变量等到再次开启
tzscsp = 0
tzsc1 = 0
tzsc2 = 0
tzsc3 = 0
tz1 = 0
tz2 = 0
tz3 = 0
sjsj1 = 0
cs1 = 0
cs = 0
g += 40
bh -= 30
baipiao = 0
print('你睡了一觉,\033[32m生命加 25\033[0m,\033[36m体力加40\033[0m')
b = ''
if bh < 0:
bh = 0
else:
print('未开启')
if b == 'debing' and ses == 1:
s_n = input('打出得病按钮是否确认 (y/n)')
if s_n == 'y' and bude == 1:
print('已开启不得病 作弊 ')
continue
elif s_n == 'y':
print('开启成功')
shezibing = 1
bing = 1
continue
else:
print('未开启')
if b == 'siwang' and ses == 1:
s_n = input('打出死亡按钮是否确认 (y/n):')
if s_n == 'y':
h = 0
continue
else:
print('未开启')
if b == 'zuobi':
juqing = input('使用作弊会关掉成就系统,之前的成就也会删除!!!')
s_n = input('打出作弊按钮是否作弊 (y/n):')
zban = 'za'
while s_n == 'y' and zban != 'tc':
zb = 1
chengjiu = []
print('')
print('-----------------------------------------------------------------------------')
if bude == 0:
print('不会得病开启状态:NO')
else:
print('不会得病开启状态:YES')
if bubf == 0:
print('不减饱和值开启状态:NO')
else:
print('不减饱和值开启状态:YES')
if butl == 0:
print('不减体力值开启状态:NO')
else:
print('不减体力值开启状态:YES')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(meili) + '\033[0m|时间:' + str(
e) + '点|第' + str(tianshu) + '天|')
zban = input('1,设置金钱 2,设置魅力值 3,永远不会得病 4,设置几点 5,饱和值不减 6,体力值不减 :')
if zban != '1' and zban != '2' and zban != '3' and zban != '4' and zban != '5' and zban != '6':
continue
if zban == '1':
shezi = input('设置金钱为:')
cw = 0
for i in shezi:
if '0' > i or i > '9':
cw = 1
print('数字错误重新输入')
break
if cw == 0:
f = int(shezi)
print('<-设置成功->')
if zban == '2':
shezi = input('设置魅力值为:')
cw = 0
for i in shezi:
if '0' > i or i > '9':
cw = 1
print('数字错误重新输入')
break
if cw == 0:
meili = int(shezi)
print('<-设置成功->')
if zban == '3':
shezi = input('开启不会得病 (y/n):')
if shezi == 'y':
bude = 1
juqing = input('<-开启成功->')
if shezi == 'n':
bude = 0
if zban == '4':
ass = []
for i in range(1, 25):
ass.append(i)
shezi = input('设置时间为1-24:')
if int(shezi) in ass:
e = int(shezi)
print('<-设置成功->')
else:
print('设置失败')
if zban == '5':
shezi = input('开启饱和值不减 (y/n):')
if shezi == 'y':
bubf = 1
juqing = input('<-开启成功->')
if shezi == 'n':
bubf = 0
juqing = input('<-成功关闭->')
if zban == '6':
shezi = input('开启体力值不减 (y/n):')
if shezi == 'y':
butl = 1
juqing = input('<-开启成功->')
if shezi == 'n':
butl = 0
juqing = input('<-成功关闭->')
if b == '321':
print('_______________________________________________________________')
juqing = input('注意事项:进入循环要退出打\033[4;31m"tc"\033[0m即可退出!!!!!!!!!!!!!!!!!!!!!!!!!!(回车继续)')
juqing = input('输入123再次查看主页项目内容,输入321再次查看注意事项,第1.0.0版本')
juqing = input('彩票店有每日一抽活动\033[4;31m<<白嫖哦>>导航1-3-3-5\033[0m')
juqing = input('不要试图改任何变量,可能会导致不能运行,玩到一半突然蹦掉的情况')
juqing = input('更新日志:完结')
a = input('我是一个勤勤恳恳优良的高中生,不喜勿喷,本游戏是空闲时间自作,纯属兴趣')
juqing = input('有bug在csdn搜 xiaoyuan恶霸 联系我')
continue
if b == '1' and zc == 0:
d = 'qwerqwer'
while d != 'tc':
print(xxsh)
d = input('什么项目:')
if d == '1':
if yg == 0 or zc == 1:
juqing = input('你还没买鱼竿')
continue
bingliu = random.randint(0, 25)
yujia = random.randint(3, 6)
if yg == 789 and g > 19 and cs < 3 and e < 23 and bh > 9:
jl = random.randint(0, 20)
dy = random.randint(3, 10)
f += dy * yujia
if butl == 0:
g -= 25
e += 2
if bubf == 0:
bh -= 10
cs += 1
print('你钓到', dy, '条鱼 鱼价:\033[33m', yujia, '元\033[33m 赚了\033[33m', dy * yujia,
'元\033[0m消耗\033[36m 20 体力\033[0m')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(
meili) + '\033[0m|时间:' + str(e) + '点|第' + str(tianshu) + '天|')
print('')
if jl == 10:
juqing = input('你的鱼竿钓鱼钓断了')
yg = 0
elif cs == 3:
print('今天钓鱼次数已用完')
elif yg == 897 and g > 19 and cs < 3 and e < 23 and bh > 9:
jl = random.randint(0, 50)
dy = random.randint(5, 15)
f += dy * yujia
if butl == 0:
g -= 25
e += 2
if bubf == 0:
bh -= 10
cs += 1
print('你钓到', dy, '条鱼 鱼价:\033[33m', yujia, '元\033[33m 赚了\033[33m', dy * yujia,
'元\033[0m消耗\033[36m 20 体力\033[0m')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(
meili) + '\033[0m|时间:' + str(e) + '点|第' + str(tianshu) + '天|')
print('')
if jl == 25:
juqing = input('你的鱼竿钓鱼钓断了')
yg = 0
elif yg == 987 and g > 19 and cs < 3 and e < 23 and bh > 9:
jl = random.randint(0, 100)
dy = random.randint(8, 20)
f += dy * yujia
if butl == 0:
g -= 25
e += 2
if bubf == 0:
bh -= 10
cs += 1
print('你钓到', dy, '条鱼 鱼价:\033[33m', yujia, '元\033[33m 赚了\033[33m', dy * yujia,
'元\033[0m消耗\033[36m 20 体力\033[0m')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(
meili) + '\033[0m|时间:' + str(e) + '点|第' + str(tianshu) + '天|')
print('')
if jl == 50:
juqing = input('你的鱼竿钓鱼钓断了')
elif yg == 9876 and g > 19 and cs < 3 and e < 23 and bh > 9:
dy = 30
f += dy * yujia
if butl == 0:
g -= 25
e += 2
if bubf == 0:
bh -= 10
cs += 1
hjdg += 1
print('你钓到', dy, '条鱼 鱼价:\033[33m', yujia, '元\033[33m 赚了\033[33m', dy * yujia,
'元\033[0m消耗\033[36m 20 体力\033[0m')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(
meili) + '\033[0m|时间:' + str(e) + '点|第' + str(tianshu) + '天|')
if hjdg == 1 and zb == 0:
juqing = input('解锁成就: \033[33m<<<黄金“吊”竿>>>\033[0m')
chengjiu.append('<<<黄金“吊”竿>>>')
print('')
if bingliu == 10 and bude == 0:
juqing = input('因为钓鱼风刮太大,你感冒了(按3花50元看病)')
h -= 15
bing = 1
bhfs += 1
if bhfs == 1 and zb == 0:
juqing = input('解锁成就: \033[36m<饱含风霜>\033[0m')
chengjiu.append('<饱含风霜>')
if d == '2':
if g > 39 and e < 18 and bh > 24:
f += 45
if butl == 0:
g -= 25
e += 2
if bubf == 0:
bh -= 25
print('你发了传单,\033[33m赚了45元\033[0m,\033[36m消耗25体力\033[0m')
print('|\033[33m金钱:' + str(f) + '元\033[0m|\033[34m饱和:' + str(bh) + '\033[0m|\033[36m体力:' + str(
g) + '\033[0m|\033[32m生命值:' + str(h) + '\033[0m|\033[31m魅力值:' + str(
meili) + '\033[0m|时间:' + str(e) + '点|第' + str(tianshu) + '天|')
elif e > 17:
juqing = input('时间不够了')
else:
juqing = input('体力不够')
if d == '3':
youwan = 'sdsdf'
while youwan != 'tc':
print('1,黑网吧\033[33m5元\033[0m 2,咖啡厅 3,彩票站 4,看日出 5,数字炸弹')
print('')
youwan = input('去哪里玩呢:')
if youwan == '1':
if e > 17:
if f > 4:
f -= 5
h += 35
print('你在网吧过了一夜(\033[32m生命35\033[0m \033[34m体力40\033[0m)')
juqing = input('八点你走了')
e = 8
if bubf == 0:
bh -= 30
if bh < 0:
bh = 0
g += 40
tianshu += 1
if tianshu == tzsc: # 到关闭时间删除跳蚤市场
del xxsh[xxsh.index('6,跳蚤市场')]
print('')
print('\033[34m跳蚤市场\033[0m今天结束了')
juqing = input('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
tzsc = 0 # 重新会到0变量等到再次开启
tzscsp = 0
tzsc1 = 0
tzsc2 = 0
tzsc3 = 0
tz1 = 0
tz2 = 0
tz3 = 0
cs = 0
sjsj1 = 0
baipiao = 0
else:
print('还没开门,\033[4;38m18:00\033[38m才开始营业')
elif youwan == '2':
kf = 'csi'
while kf != 'tc':
print(
'1,现磨咖啡:\033[33m15元\033[0m 2, 拿铁:\033[33m15元\033[0m 3,雀巢:\033[33m5元\033[0m 4,卡布奇诺:\033[33m15元\033[0m')
kf = input('请问要喝什么:')
print('')
if kf == '2' or kf == '1' or kf == '4' and f > 14:
f -= 15
e += 1
bh += 15
juqing = input('你喝了咖啡,享受了一番')
elif kf == '3' and f > 4:
f -= 5
e += 1
bh += 15
juqing = input('你喝了咖啡,服务员在嘀咕什么')
elif youwan == '3':
if tianshu == 1 and ses == 0:
print('彩票站第一天不会开门')
break
caipiao = 'csi'
while caipiao != 'tc':
print('-------------------------------------')
print('1,\033[32m普通刮刮乐\033[0m \033[33m10元\033[0m (\033[33m中奖金额10~1000不等\033[0m)')
print('2,\033[36m高级刮刮乐\033[0m \033[33m30元\033[0m (\033[33m中奖金额15~5000不等\033[0m)')
print('3,\033[34m普通彩票\033[0m \033[33m40元\033[0m (\033[33m中奖金额100000\033[0m)')
print('4,\033[33m暴富彩票\033[0m \033[33m100元\033[0m (\033[33m中奖金额1000000\033[0m)')
print('5.白嫖一抽')
print('')
print('你现在有:\033[33m', f, '元\033[0m (赌博有风险)')
print('')
caipiao = input('买什么彩票(tc是退出):')
print('-------------------------------------')
a = 0
b = 0
c = 0
d = 0
e = 0 # 中到后加一最后输出
if caipiao == '1':
dbs = input('你要买几张彩票:')
zqsz = 0
for i in dbs:
if '0' > i or i > '9':
print('请输入正确数字')
zqsz = 1
break
if zqsz == 1:
continue
duozhang = int(dbs)
zl = duozhang
if f < 10 * duozhang - 1:
print('钱不够')
continue
if f > 10 * duozhang - 1:
f -= 10 * duozhang
while duozhang != 0:
duozhang -= 1
print('你买了普通刮刮乐')
gualu1 = random.randint(0, 20)
gualu2 = random.randint(0, 60)
gualu3 = random.randint(0, 130)
gualu4 = random.randint(0, 170)
gualu5 = random.randint(0, 250)
if gualu1 == 5:
f += 10
a += 1
print('恭喜,刮到\033[33m10元\033[0m')
if gualu2 == 15:
f += 100
b += 1
print('恭喜,刮到\033[33m100元\033[0m')
if gualu3 == 25:
f += 200
c += 1
print('恭喜,刮到\033[33m200元\033[0m')
if gualu4 == 35:
f += 500
d += 1
print('恭喜,刮到\033[33m500元\033[0m')
if gualu5 == 50:
f += 1000
e += 1
print('恭喜,刮到头奖\033[33m1000元\033[0m')
elif gualu1 != 5 and gualu2 != 15 and gualu3 != 25 and gualu4 != 35 and gualu5 != 50:
print('很遗憾,你没中奖....')
print(
'中到10元:\033[33m%d\033[0m次|中到100元:\033[33m%d\033[0m次|中到200元:\033[33m%d\033[0m次|中到500元:\033[33m%d\033[0m次|中到1000元:\033[33m%d\033[0m次' % (
a, b, c, d, e))
if 10 * zl < a * 10 + b * 100 + c * 200 + d * 500 + e * 1000:
zuankui = a * 10 + b * 100 + c * 200 + d * 500 + e * 1000 - 10 * zl
print('赚了\033[33m%d元\033[0m' % zuankui)
else:
zuankui = 10 * zl - a * 10 - b * 100 - c * 200 - d * 500 - e * 1000
print('亏了%d元' % zuankui)
if caipiao == '2':
dbs = input('你要买几张彩票:')
zqsz = 0
for i in dbs:
if '0' > i or i > '9':
print('请输入正确数字')
zqsz = 1
break
if zqsz == 1:
continue
duozhang = int(dbs)
zl = duozhang
if f < 30 * duozhang - 1:
print('钱不够')
continue
if f > 30 * duozhang - 1:
f -= 30 * duozhang
while duozhang != 0:
duozhang -= 1
print('你买了高级刮刮乐')
gualu1 = random.randint(0, 10)
gualu2 = random.randint(0, 50)
gualu3 = random.randint(0, 85)
gualu4 = random.randint(0, 190)
gualu5 = random.randint(0, 230)
if gualu1 == 5:
f += 15
a += 1
print('恭喜,刮到\033[33m15元\033[0m')
if gualu2 == 15:
f += 250
b += 1
print('恭喜,刮到\033[33m250元\033[0m')
if gualu3 == 25:
f += 500
c += 1
print('恭喜,刮到\033[33m500元\033[0m')
if gualu4 == 35:
f += 2000
d += 1
print('恭喜,刮到\033[33m2000元\033[0m')
if gualu5 == 50:
f += 5000
e += 1
print('恭喜,刮到头奖\033[33m5000元\033[0m')
elif gualu1 != 5 and gualu2 != 15 and gualu3 != 25 and gualu4 != 35 and gualu5 != 50:
print('很遗憾,您没中奖....')
print(
'中到15元:\033[33m%d\033[0m次|中到250元:\033[33m%d\033[0m次|中到500元:\033[33m%d\033[0m次|中到2000元:\033[33m%d\033[0m次|中到5000元:\033[33m%d\033[0m次' % (
a, b, c, d, e))
if 30 * zl < a * 15 + b * 250 + c * 500 + d * 2000 + e * 5000:
zuankui = a * 15 + b * 250 + c * 500 + d * 2000 + e * 5000 - 30 * zl
print('赚了\033[33m%d元\033[0m' % zuankui)
else:
zuankui = 30 * zl - a * 15 - b * 250 - c * 500 - d * 2000 - e * 5000
print('亏了%d元' % zuankui)
if caipiao == '3':
dbs = input('你要买几张彩票:')
zqsz = 0
for i in dbs:
if '0' > i or i > '9':
print('请输入正确数字')
zqsz = 1
break
if zqsz == 1:
continue
duozhang = int(dbs)
zl = duozhang
if f < 40 * duozhang - 1:
print('钱不够')
continue
if f > 40 * duozhang - 1:
f -= 40 * duozhang
while duozhang != 0:
duozhang -= 1
print('你买了普通彩票')
gualu6 = random.randint(0, 280)
if gualu6 == 75:
a += 1
juqing = input('\033[33m恭喜,恭喜,中头奖100000元\033[0m')
f += 100000
else:
print('很遗憾,你没中奖....')
if zl * 40 < a * 100000:
zhuankui = a * 100000 - zl * 40
print('赚了\033[33m%d元\033[0m' % zhuankui)
else:
zhuankui = zl * 40 - a * 100000
print('亏了%d元' % zhuankui)
if caipiao == '4':
dbs = input('你要买几张彩票:')
zqsz = 0
for i in dbs:
if '0' > i or i > '9':
print('请输入正确数字')
zqsz = 1
break
if zqsz == 1:
continue
duozhang = int(dbs)
zl = duozhang
if f < 100 * duozhang - 1:
print('钱不够')
continue
if f > 100 * duozhang - 1:
f -= 100 * duozhang
while duozhang != 0:
duozhang -= 1
print('你买了暴富彩票')
gualu7 = random.randint(0, 400)
if gualu7 == 349:
a += 1
juqing = input('nb中奖了,\033[33m恭喜头奖1000000元\033[0m')
f += 1000000
xhssf += 1
if xhssf == 1 and zb == 0:
juqing = input('解锁成就: \033[33m<<西红柿首负>>\033[0m')
chengjiu.append('<<西红柿首负>>')
else:
print('很遗憾,你没中奖....')
if zl * 100 < a * 1000000:
zhuankui = a * 1000000 - zl * 100
print('赚了\033[33m%d元\033[0m' % zhuankui)
else:
zhuankui = zl * 100 - a * 1000000
print('亏了%d元' % zhuankui)
if caipiao == '5':
if baipiao > 0:
print('今天你已经抽过了,下回再来吧')
continue
baipiao = 1
gualu1 = random.randint(0, 8) # 普通鱼竿
gualu2 = random.randint(5, 16) # 大力丸
gualu3 = random.randint(5, 26) # 优秀鱼竿
gualu4 = random.randint(5, 36) # 传奇鱼竿
gualu5 = random.randint(0, 100) # 1000元
gualu6 = random.randint(0, 150) # 1500元
if gualu1 == 5:
if yg == 897 or yg == 987 or yg == 789 or yg == 9876:
f += 25
print('恭喜,获得普通鱼竿')
print('鉴于你已经拥有或有更高级的鱼竿,自动给您\033[4;33m市场价\033[0m')
else:
yg = 789
print('恭喜,获得普通鱼竿')
if gualu2 == 15:
daliwan += 1
print('恭喜,获得大力丸')
if gualu3 == 25:
if yg == 897 or yg == 987 or yg == 9876:
f += 50
print('恭喜,获得优秀鱼竿')
print('鉴于你已经拥有或有更高级的鱼竿,自动给您\033[4;33m市场价\033[0m')
else:
yg = 897
print('恭喜,获得优秀鱼竿')
if gualu4 == 35:
if yg == 987 or yg == 9876:
f += 100
print('恭喜,获得传奇鱼竿')
print('鉴于你已经拥有或有更高级的鱼竿,自动给您\033[4;33m市场价\033[0m')
else:
yg = 987
print('恭喜,获得传奇鱼竿')
if gualu5 == 50:
f += 1000
print('恭喜,获得\033[33m1000元\033[0m')
if gualu6 == 60:
f += 1500
print('恭喜,获得\033[33m1500元\033[0m')
elif gualu1 != 5 and gualu2 != 15 and gualu3 != 25 and gualu4 != 35 and gualu5 != 50 and gualu6 != 60:
print('很遗憾,您没中奖....')
elif youwan == '4':
if 8 >= e >= 6:
e += 1
nvhai1 = random.randint(15, 20)
if ses == 1:
nvhai1 = 15
zhiyu = random.randint(0, 2)
juqing = input('你看了日出,心情好了许多\033[1;38m(有几率治好病)\033[0m')
print('')
if zhiyu == 1:
if bing == 1:
print('你的病自愈了(只是降低难度谁闲着没事拿看太阳治病)')
print('(非傻子人员请勿模仿)')
myl += 1
ping = 0
if myl == 5 and zb == 0:
juqing = input('解锁成就: \033[36m<有那个大病>\033[0m')
chengjiu.append('<有那个大病>')
## if True:
if nvhai == 1 and meili > 319 and npy == 0:
print('------------------------------------------')
juqing = input('\033[1;38m你在次遇见了她,你径直向他走去\033[0m')
juqing = input('\033[36m好巧又见面了\033[0m')
juqing = input('女:\033[35m是啊,这么时间没见变帅了啊\033[0m')
juqing = input('\033[36m哈哈,你也是你也是\033[0m')
juqing = input('\033[36m那个....你看我们都是凭感觉遇见,是不是......\033[0m')
juqing = input('女:\033[35m要联系方式是不是,早说啊\033[0m')
juqing = input('\033[36m你吧手机给了她(害羞)\033[0m')
juqing = input('女:\033[35m大男人还害羞\033[0m')
juqing = input('(\033[1;38m小小生活--玩耍--数字炸弹单人模式开启\033[0m)')
juqing = input('喝完咖啡就走了(解锁\033[35m约会功能\033[0m,在\033[35m<小小生活>\033[0m里)')
print('------------------------------------------')
npy = 1
if npy == 1:
xxsh.insert(4, '5,约会')
elif nvhai1 == 15 and nvhai == 0:
print('------------------------------------------------------')
print('你遇见了一个女孩')
dashan = input('1,搭讪 2,不理会:')
if dashan == '2':
juqing = input('你走开了\033[1;38m(真男人是不需要爱情的)\033[0m')
if gtzn > 1:
print('------------------------------------------------------')
gtzn += 1
if gtzn == 1 and zb == 0:
juqing = input('解锁成就: \033[36m<钢铁男人>\033[0m')
print('------------------------------------------------------')
chengjiu.append('<钢铁男人>')
elif dashan == '1':
print('你上前搭讪')
dashan1 = input('1,\033[36m美女你好\033[0m 2,\033[36m你知道这里的日落这么好看吗\033[0m:')
if dashan1 == '1':
nvshen = random.randint(0, 2)
if nvshen == 0:
juqing = input('女:\033[35m都什么年代了,还用这么老套的方式搭讪.\033[0m')
juqing = input('\033[1;38m你尴尬的笑了笑,走开了\033[0m')
print('------------------------------------------------------')
elif nvshen == 1:
juqing = input('\033[1;38m她没有理你静静的享受来自眼里的的享受\033[0m')
juqing = input('\033[1;38m你没有再说话,也跟他一样看着日落\033[0m')
print('------------------------------------------------------')
elif nvshen == 2 or yujian == 2:
juqing = input('\033[1;38m她笑了起来起身走了,你看着她的背影\033[0m')
if meili < 220:
juqing = input('似曾相识(提升魅力值解锁后续魅力:220)')
if yujian != 2:
print('------------------------------------------------------')
yujian = 2
if meili > 219:
juqing = input('你上前问,\033[36m你好住在附近不不不...\033[0m')
juqing = input('\033[36m我想说我是不是在哪见过你\033[0m')
juqing = input('女:\033[35m你怎么才想起来啊,我是静静(你的高中童鞋)\033[0m')
juqing = input('\033[36m哦,原来是你我说怎么这么眼熟,那你过的好吧\033[0m')
juqing = input('女:\033[35m挺好的,看你穿的你过的也不来呀\033[0m')
juqing = input('\033[36m你笑了笑\033[0m')
juqing = input('\033[1;38m你们聊了一早上,你请他喝了杯咖啡,(不知道下次遇见是什么时候)\033[0m')
if meili < 320:
juqing = input('(魅,升,后续,懂?(魅力320)')
print('------------------------------------------------------')
nvhai = 1
elif dashan1 == '2':
juqing = input('女:\033[35m为什么\033[0m')
juqing = input('\033[36m因为有你,这日出才这么有光芒(作者:太麻了。。)\033[0m')
riluo = random.randint(0, 1)
if riluo == 0 or meili < 120:
juqing = input('她看着你\033[1;38m(她似乎并不感冒)\033[0m')
juqing = input('女:\033[35m老套(走开了)\033[0m')
juqing = input('\033[1;38m(哈哈哈,作者建议:提升一下魅力值)\033[0m')
print('------------------------------------------------------')
if riluo == 1 and meili > 119 and f > 14:
juqing = input('\033[35m(她脸红的笑了)\033[0m')
juqing = input('\033[36m你和她说了一大堆,最后你请她喝了咖啡\033[0m')
juqing = input('(魅,升,后续,懂?)')
print('------------------------------------------------------')
nvhai = 1
f -= 15
else:
print('日出时间已经过了6-8')
if youwan == '5':
if npy >= 1:
print('1,单人(约会情节 \033[35m好感加15\033[0m) 2,多人')
sdr = input('选择模式:')
else:
print('鉴于你还为开启约会系统默认为多人模式')
sdr = '2'
e123 = 1
while e123 < 100:
try:
e123 = int(input('大于或等于100的数:'))
except:
print('请输入大于或等于100的数字')
a123 = random.randint(1, e123) # 炸弹
d123 = e123
c123 = 0
zdcs = 0
danren = 0
while a123 < e123 and a123 >= 0:
try:
danren += 1
if danren % 2 == 0 and sdr == '1':
b123 = random.randint(c123 + 1, d123 - 1)
print('请输入{}到{}中的数'.format(c123, d123))
time.sleep(1)
print('女:我说数字%s ' % b123)
rj = 1
else:
b123 = int(input('请输入{}到{}中的数:'.format(c123, d123))) # 从几到几
rj = 0
zdcs += 1
if a123 == b123:
if zdcs == 1:
print('天选之子,第一次就炸了')
txzz += 1
if txzz == 3:
juqing = input('解锁成就: <<天选之人>>')
# chengjiu.append('<<天选之人>>')
juqing = input('duang,炸了')
e += 1
if rj == 1:
nhhaogan += 15
srj = random.randint(1, 3)
if srj == 1:
juqing = input('女:\033[35m输了哎,不行再来一局\033[0m')
juqing = input('你:\033[36m哈哈哈,就你这小脑袋瓜还是省省吧。\033[0m')
juqing = input('女:\033[35m哼!\033[0m')
if srj == 2:
juqing = input('你:\033[36m侥幸哈\033[0m')
juqing = input('女:\033[35m不要啊,再来一局\033[0m')
gyshu = input('1,再来一局 !=1,算了')
if gyshu == '1':
juqing = input('你:\033[36m行吧(故意输掉吧)\033[0m')
juqing = input('请输入{}到{}中的数:'.format(0, e123))
juqing = input('duang,炸了')
juqing = input('女:\033[35m啊哈,你输了\033[0m')
juqing = input('你:\033[36m女侠好生厉害\033[0m')
juqing = input('女:\033[35m哼哼,哈哈哈哈\033[0m')
else:
juqing = input('你:\033[36m算了,下次吧。\033[0m')
juqing = input('女:\033[35m好吧...\033[0m')
if srj == 3:
juqing = input('你:\033[36m赢你太简单了\033[0m')
juqing = input('女:\033[35m别高兴太早,总有一天你会输的\033[0m')
juqing = input('你:\033[36m我等着哈\033[0m')
else:
break
if srj == 0 and sdr == '1':
nhhaogan += 15
sjsrj = random.randint(1, 2)
if sjsrj == 1:
juqing = input('你:\033[36meeee,厉害\033[0m')
juqing = input('女:\033[35m你也不看看是谁在玩\033[0m')
juqing = input('你:\033[36m三十年河东,三十年河西,莫欺少年穷。\033[0m')
if sjsrj == 2:
juqing = input('你:\033[36m厉害,服了服了\033[0m')
juqing = input('女:\033[35m嘿嘿嘿\033[0m')
else:
break
elif a123 > b123 and b123 > c123:
c123 = b123
print(c123, '~', d123)
elif a123 < b123 and b123 < d123:
d123 = b123
print(c123, '~', d123)
else:
print('请正确输入数字')
except:
print('请正确输入数字')
if d == '4':
xijiao = 'asdffds'
while xijiao != 'tc':
print('')
print('1.东北搓背(\033[33m10元\033[0m) 2.泡澡(\033[33m20元\033[0m) 3.上二楼')
print('')
xijiao = input('客官,请问今天要什么项目啊?')
print('')
if xijiao == '1':
if f > 9:
print('正宗东北搓澡')
print('搓完神清气爽(\033[36m体力加30\033[0m)')
print('')
g += 30
e += 1
f -= 10
if bubf == 0:
bh -= 10
else:
print('钱不够')
print('')
if xijiao == '2':
if f > 19:
print('你泡了澡')
print('非常舒服(\033[32m生命加20\033[0m,\033[36m体力加15\033[0m)')
print('')
h += 20
g += 10
f -= 20
e += 1
if bubf == 0:
bh -= 10
else:
print('钱不够')
print('')
if xijiao == '3':
print('你上了二楼.')
print(erlou)
print('')
print('1,踩背 (\033[33m50元\033[0m)')
print('2,拔罐 (\033[33m25元\033[0m)')
print('3,按摩 (\033[33m50元\033[0m)')
el = input('什么项目>>>')
print('')
if el == '1025' and daliwan > 0 and f > 1000:
juqing = input('你选择了,\033[1;38m睡觉+全身大宝剑\033[0m')
juqing = input('你变得更加自信')
juqing = input('\033[1;38m(你的各项指标,已全部恢复)\033[0m')
print('')
f -= 500
g = 150
h = 100
bh = 150
bing = 0
jqye += 1
e = 0
if jqye == 1 and zb == 0:
juqing = input('解锁成就: \033[36m<鸡情一夜>\033[0m')
chengjiu.append('<鸡情一夜>')
print('')
if el == '1':
if f > 49:
print('你要了踩背,\033[36m体力加50\033[0m')
print('')
f -= 50
g += 50
e += 1
if bubf == 0:
bh -= 5
else:
print('钱不够')
print('')
elif el == '2':
if f > 24:
print('你拔了灌')
print('\033[33m消费25元\033[0m,\033[32m生命加25\033[0m,\033[36m体力加15\033[0m')
print('')
f -= 25
h += 25
g += 15
e += 1
if bubf == 0:
bh -= 5
else:
print('钱不够')
print('')
elif el == '3':
if f > 49:
print('你做了按摩')
print('\033[33m消费50元\033[0m,\033[32m生命加30\033[0m,\033[36m体力加40\033[0m')
e += 1
if bubf == 0:
bh -= 5
h += 30
f -= 50
g += 50
if el == '4':
e = 8
h += 25
tianshu += 1
if tianshu == tzsc: # 到关闭时间删除跳蚤市场
del xxsh[xxsh.index('6,跳蚤市场')]
print('')
print('\033[1;38m跳蚤市场今天结束了\033[0m')
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
tzsc = 0 # 重新会到0变量等到再次开启
tzscsp = 0
tzsc1 = 0
tzsc2 = 0
tzsc3 = 0
tz1 = 0
tz2 = 0
tz3 = 0
cs = 0
sjsj1 = 0
g += 40
if bubf == 0:
bh -= 30
baipiao = 0
print('你睡了一觉,\033[32m生命加35\033[0m,\033[36m体力加40\033[0m')
if bh < 0:
bh = 0
if d == '5' and npy > 0:
qxh = 'dasfga'
while qxh != 'tc' and lp != 1:
print('')
print('------------------------------------------------------------------------------------')
print('1,看电影 (\033[33m120元\033[0m\033[35m50好感度\033[0m)')
print('2,看日落 (\033[35m30好感度\033[0m,\033[1;38m18点开启\033[0m)')
print('3,去逛街 (\033[35m30好感度\033[0m,\033[36m体力减50\033[0m)')
print('4,送礼物 (\033[1;38m看你送什么\033[0m)')
print('(小小生活--玩耍--数字炸弹--单人模式 可加\033[35m15好感度\033[0m)')
print('当前好感度为', nhhaogan)
qxh = input('要去那约会呢:')
print('')
print('-------------------------------------------------------------------------------------')
if qxh == '1':
if cs1 > 0:
print('今天已经看过了')
continue
if f < 100:
print('钱好像不够哦')
continue
if wysf > 0:
print('已经没什么好看的电影的了(\033[1;38m电影院剧情结束\033[0m)')
continue
if e > 21 and nhhaogan > 379 and wysf == 0:
juqing = input('你:\033[36m现在没有什么好电影了\033[0m')
juqing = input('你:\033[36m现在是“午夜电影”时间,你也不会看吧(嘿嘿嘿)\033[0m')
juqing = input('女孩:\033[35m不知道。。\033[0m')
juqing = input(
'(\033[1;38m她脸红这牵着你的手,你们一起进了电影院\033[0m)(\033[1;38m作者:写的剧情太离谱了,毕竟我也是单身狗\033[0m)')
juqing = input('(\033[35m好感度+100\033[0m)')
juqing = input('(\033[1;38m电影院剧情结束\033[0m)')
if wysf == 0 and zb == 0:
juqing = input('解锁成就: \033[34m<<午夜十分>>\033[0m')
chengjiu.append('<<午夜十分>>')
wysf += 1
nhhaogan += 100
f -= 120
e += 2
continue
if nhhaogan > 379:
print('已经没什么好看的电影的了')
continue
print('你花了\033[33m120元\033[0m,去看了一场电影')
print('\033[35m好感度加50\033[0m')
nhhaogan += 50
f -= 120
dycs += 1
e += 2
cs1 = 1
if qxh == '2':
if e < 18 or e > 19:
print('时间还没到,再等等,现在是\033[1;38m', e, '点\033[0m')
print('\033[1;38m18~19点才开启\033[0m')
continue
if rlcs == 10:
juqing = input('女:\033[35m还记得这是我们相遇的地方\033[0m')
juqing = input('你:\033[36m只不过这次是日落\033[0m')
juqing = input(
'你:\033[36m希望我们是\033[0m\033[34m<<日不落的爱情>>\033[0m(\033[1;38m太肉麻啦,cao\033[1m)')
juqing = input('(求婚前置条件开启,亲密值1600)')
if qiuhun == 0 and zb == 0:
juqing = input('解锁成就: \033[34m<<日不落的爱情>>\033[0m')
chengjiu.append('<<日不落的爱情>>')
qiuhun = 1
print('你们在一起看了一场日落')
nhhaogan += 30
e += 2
if bubf == 0:
bh -= 20
rlcs += 1
if qxh == '3':
if e > 17:
print('现在应该没什么可逛的吧')
if gjr > 0:
print('逛街剧情已结束')
if g < 50:
print('体力不足,你还有\033[36m', g, '体力\033[0m')
continue
if cs2 > 0:
print('你已经不想去逛街了太累了')
continue
if nhhaogan > 239 and gjr == 0:
juqing = input('你:\033[36m俺不行了,实在是走不动了\033[0m')
juqing = input('女:\033[35m这才那到那,快跟上\033[0m')
juqing = input('你:\033[36m你们女生逛街的不会累的吗\033[0m')
juqing = input('女:\033[35m你还真是,到底走不走\033[0m')
zoba = input('1,继续走 2,留在这里')
if zoba == '1':
juqing = input('你:\033[36m好好好,走行了吧,我的小祖宗\033[0m')
juqing = input('女:\033[35m这还差不多,嘿嘿\033[0m')
juqing = input('(\033[1;38m她轻吻了你的脸颊向前跑了\033[0m(\033[1;38m作者:ni太baby了\033[0m))')
juqing = input('你:\033[36m(你愣了一会)等我一会,哈哈\033[0m(作者:剧情太假辣吧)')
juqing = input('(\033[1;38m逛街剧情结束\033[0m)')
if gjr == 0 and zb == 0:
juqing = input('(解锁成就: \033[34m<<幸福的工具人>>\033[0m')
chengjiu.append('<<幸福的工具人>>')
gjr += 1
if butl == 0:
g -= 50
e += 2
nhhaogan += 30
if bubf == 0:
bh -= 20
cs2 += 1
print('')
continue
if zoba == '2':
juqing = input('你:\033[36m不要我要休息!,俺也是个人啊\033[0m')
juqing = input('女:\033[35m你还是个男人吗,这就不行了\033[0m')
juqing = input('你:\033[36m啊,好歹休息一会在走吧\033[0m')
juqing = input('女:\033[35m行吧行吧\033[0m')
juqing = input('(\033[1;38m过了一会,她拿着二个雪糕走了过来\033[0m)')
juqing = input('女:\033[35m给你(趁你没注意,突然亲了你的额头)\033[0m')
juqing = input('女:\033[35m还没能走吗?\033[0m')
juqing = input('你:\033[36m能了能了,嘿嘿\033[0m(\033[1;38m作者:TM的我什么时候能有这待遇\033[0m)')
juqing = input('(\033[1;38m逛街剧情结束\033[0m)')
if gjr == 0 and zb == 0:
juqing = input('(解锁成就: \033[34m<<幸福的工具人>>\033[0m')
chengjiu.append('<<幸福的工具人>>')
gjr += 1
if butl == 0:
g -= 50
e += 2
cs2 += 1
nhhaogan += 30
if bubf == 0:
bh -= 20
print('')
continue
print('你们一起去逛街')
print('\033[36m体力-50\033[0m \033[35m好感加30\033[0m')
if butl == 0:
g -= 50
e += 2
if bubf == 0:
bh -= 20
nhhaogan += 30
cs2 += 1
print('')
if qxh == '4':
print('-' * 50)
if meigui > 0 and nhhaogan < 1600:
print('玫瑰', meigui, '捧')
if qiaokeli > 0 and nhhaogan < 1600:
print('巧克力', qiaokeli, '盒')
if yinxianglian > 0 and nhhaogan < 1600:
print('银项链', yinxianglian, '条')
if nhhaogan > 1599 and zuanjie > 0 and qiuhun == 1:
print('-' * 50)
print('钻戒 (求婚)')
print('求婚后游戏就圆满结束了')
print('因作者有更重要的事所以此版本就做到这里')
print('可能会推出婚后版本')
sliwu = input('你会送什么呢(首字母):')
if meigui > 0 and nhhaogan < 1600 and sliwu == 'mg' or sliwu == 'MG':
print('你送了一捧玫瑰 \033[35m好感加60\033[0m')
meigui -= 1
nhhaogan += 50
if qiaokeli > 0 and nhhaogan < 1600 and sliwu == 'qkl' or sliwu == 'QKL':
print('你送了一盒巧克力 \033[35m好感加10\033[0m')
qiaokeli -= 1
nhhaogan += 10
if yinxianglian > 0 and nhhaogan < 1600 and sliwu == 'yxl' or sliwu == 'YXL':
print('你送了一串银项链 \033[35m好感加260\033[0m')
yinxianglian -= 1
nhhaogan += 260
if nhhaogan > 1599 and zuanjie > 0 and qiuhun == 1 and sliwu == 'zj' or sliwu == 'ZJ':
juqing = input('你向ta求婚,ta答应了你')
juqing = input('你们走向婚姻的殿堂')
juqing = input('你没想到渔具老板是她的爸爸')
juqing = input('他给你讲了年轻的事情')
juqing = input('送给你了一把鱼竿')
yg = 9876
zuanjie -= 1
if lp == 0 and zb == 0:
juqing = input('解锁成就: \033[31m<<<·圆满结束·>>>\033[0m')
juqing = input('解锁成就: \033[34m<<钓鱼冠军?>>\033[0m')
chengjiu.append('<<<·圆满结束·>>>')
chengjiu.append('<<钓鱼冠军?>>')
lp = 1
print('现在以解锁的成就:', chengjiu)
print('感谢您的游玩如果作者还有兴趣或反响高会推出婚后版本')
aasdf = input('敬请期待,谢谢')
if d == '6' and tzsc > tianshu:
print('\033[34m跳蚤市场\033[0m开启了,大家都来逛一逛咯')
print('本次\033[34m跳蚤市场\033[0m开启一天时间')
tzsp = '1678411'
while tzsp != 'tc':
print('')
print('---------------------------------')
if tzscsp == 0:
gualu1 = random.randint(1, 3)
tz1 = gualu1
gualu2 = random.randint(1, 5)
tz2 = gualu2
gualu3 = random.randint(1, 10)
tz3 = gualu3
tzscsp = 1
if tz1 == 1: #
print('1.大力丸,限时特价(\033[33m40元\033[0m')
tzsp1 = 1
elif tz1 == 2:
print('1.普通衣裳,限时特价(\033[33m150元\033[0m)')
tzsp1 = 2
elif tz1 == 3:
print('1.情人节巧克力,限时特价(\033[33m20元\033[0m)')
tzsp1 = 3
if tz2 < 3 and tz2 > 0:
print('2.一捧玫瑰,限时特价(\033[33m130元\033[0m)')
tzsp2 = 1
elif tz2 == 3:
print('2.传奇鱼竿,限时特价(\033[33m70元\033[0m)')
tzsp2 = 2
elif tz2 > 3:
print('2.潮流的服装,限时特价(\033[33m200元\033[0m)')
tzsp2 = 3
if tz3 < 6 and tz3 > 0:
print('3.华丽的服装,限时特价(\033[33m500元\033[0m)')
tzsp3 = 1
elif tz3 == 6:
print('一只钻戒,限时特价(\033[33m18000元\033[0m)')
tzsp3 = 2
elif tz3 > 6:
print('3.一条银项链,限时特价(\033[33m800元\033[0m)')
tzsp3 = 3
tzsp = input('要买什么商品:')
if tzsp == '1':
if tzsp1 == 1:
if f < 40:
print('钱不够')
continue
if tzsc1 == 1:
print('你已经买过一次了')
continue
tzsc1 = 1 #
f -= 40
daliwan += 1
print('你买了大力丸')
if tzsp1 == 2:
if f < 150:
print('钱不够')
continue
if tzsc1 == 1 or pyi == 1:
print('你已经买过普通衣服了')
continue
tzsc1 = 1 #
f -= 150
meilu = random.randint(20, 25)
meili += meilu
ys += 1
pyi = 1
print('你买了一件普通的衣裳,增加\033[31m', meilu, '魅力值\033[0m')
if tzsp1 == 3:
if f < 20:
print('钱不够')
continue
if tzsc1 == 1:
print('你已经买过一次了')
continue
tzsc1 = 1 #
f -= 20
qiaokeli += 1
print('你买了一个巧克力')
if tzsp == '2':
if tzsp2 == 1:
if f < 130:
print('钱不够')
continue
if tzsc2 == 1:
print('你已经买过一次了')
continue
tzsc2 = 1 #
f -= 130
meigui += 1
print('你买了一捧玫瑰')
if tzsp2 == 2:
if f < 70:
print('钱不够')
continue
if tzsc2 == 1:
print('你已经买过一次了')
continue
if yg == 987 and yg == 9876:
print('你已经拥有或有更高级的鱼竿')
continue
tzsc2 = 1 #
yg == 987
f -= 70
print('你买了优秀鱼竿')
if tzsp2 == 3:
if f < 200:
print('钱不够')
continue
if tzsc2 == 1 or cyi == 1:
print('你已经买潮流服装了')
continue
tzsc2 = 1 #
f -= 200
meilu = random.randint(60, 80)
meili += meilu
cyi = 1
ys += 1
print('你买了一件潮流的衣裳,增加', meilu, '魅力值')
if tzsp == '3':
if tzsp3 == 1:
if f < 500:
print('钱不够')
continue
if tzsc3 == 1 and hyi == 1:
print('你已经买华丽服装了')
continue
tzsc3 = 1
meilu = random.randint(100, 120)
meili += meilu
hyi = 1
ys += 1
print('你买了一件华丽的衣裳,增加', meilu, '魅力值')
if tzsp3 == 2:
if f < 18000:
print('钱不够')
if tzsc3 == 1:
print('你已经买过一次了')
tzsc3 = 1
f -= 18000
zuanjie += 1
print('你买了一只钻戒')
if tzsp3 == 3:
if f < 800:
print('钱不够')
if tzsc3 == 1:
print('你已经买过一次了')
tzsc3 = 1
f -= 800
yinxianglian += 1
print('你买了一个银项链')
if b == '2':
if bh == 150 and b == '2':
print('太饱了,吃不下了')
if bh < 150 and f >= 20:
geng = random.randint(0, 31)
if geng == 5:
print('你看到旁边有人吵架')
geng1 = input('1,去看看 2,留下来吃饭')
if geng1 == '1' and jtcs1 == 0:
jtcs1 = 1
juqing = input('(是一家子,好像小孩有点挑食)')
juqing = input('“我王**就是饿死,死外面,走路上被车撞死”')
juqing = input('“<<也不会吃这一点东西>>”')
juqing = input('你:\033[36m现在的人啊,有饭吃还不珍惜\033[0m')
juqing = input('孩子母亲:孩啊你就吃一点吧,你要吃我什么都给你买。')
juqing = input('孩子父亲:不能就这么惯着他(说这就要伸手上去)')
juqing = input('就在这时你走上前')
juqing = input('你:\033[36m小朋友,你怎么不吃饭呢。\033[m')
juqing = input('“我不吃青菜,不要”')
juqing = input('你:\033[36m小飞棍来喽\033[0m')
juqing = input('“ToT”')
if jtcs1 == 1 and jtcs == 1 and ycxl == 1 and zb == 0 and jtcj == 0:
juqing = input('解锁成就: \033[33m<<<终极乱入>>>\033[0m')
chengjiu.append('<<<终极乱入>>>')
jtcj = 1
if geng == 15 and jtcs == 0:
jtcs = 1
juqing = input('(你走进一家饭馆,你看到旁边有一桌子人气氛凝重)')
juqing = input('有个人端碗鸡汤走了过来:“啊哈哈哈哈,鸡汤来喽”')
juqing = input('但没有一个人动筷:“这菜都齐了,怎么还不吃啊”')
juqing = input('有个人说:“我说老厨啊,大伙都不敢吃,说是有人在菜里面下了一斤盐”')
juqing = input('厨子说:“害羞羞,王大先生,你这人就喜欢开玩笑”')
juqing = input('“哎呀,快趁热吃吧,我不打扰了,我走了哈”')
juqing = input('带头的人开口说:“你不能走”')
juqing = input('厨子停下脚步回到:“唉哈哈哈,薛上帝,你不会信王大先生胡说八道吧”')
juqing = input('薛上帝:“我信,我非常相信”')
juqing = input('厨子回到:“薛上帝,怎么,怎么你也喜欢开玩笑啊,嘿呵呵”')
juqing = input('薛上帝盛了碗鸡汤:“你要是没放盐,你就把这碗鸡汤喝了”')
juqing = input('厨子:“嘿嘿,薛上帝,这鸡汤啊,十分的珍贵,应该让顾客们先喝。你看,我这一个小小厨子,怎么能喝这鸡汤呢,嘿咻”')
juqing = input('薛上帝:“你看你忙里忙外的多辛苦,喝碗鸡汤算什么呀,你要是真不喝,说明你真下了一斤盐”')
juqing = input('(你看气氛焦作,想有什么办法缓和)')
jitang = input('1,把鸡汤喝了 2,看着不管:')
if jitang == '1':
juqing = input('(你一把向前,夺过鸡汤,大口喝了起来,过了一会)')
juqing = input('')
juqing = input('')
print('____________________________________________________________')
juqing = input(
'你死了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(/ ! _ ! \)')
print('你在这座城市生活了第', tianshu, '天的', e, '点 总共', tianshu * 24 + e - 24, '小时')
juqing = input('解锁成就:鸡你太美,喝汤霉事,夺鸡而逃')
juqing = input('非常的安心,活的憋屈,死的窝囊')
print(
' 敬礼!')
print('____________________________________________________________')
print('')
juqing = input('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
agsad = input('(害羞羞,我这人就喜欢开玩笑)')
g += 25
f -= 20
e += 1
bh += 35
if jtcs1 == 1 and jtcs == 1 and ycxl == 1 and zb == 0 and jtcj == 0:
juqing = input('解锁成就: \033[33m<<<终极乱入>>>\033[0m')
chengjiu.append('<<<终极乱入>>>')
jtcj = 1
continue
juqing = input(
'厨子:“唉,这,这不对吧。这今天谁,谁要陷害我,王大先生你要陷害我是吧,啊,行,我喝,喝。我喝,我喝。哎呀,这喝汤,多是一件美事啊,哎呀,啧啧啧啧,不咸不淡,味道真是好极了。薛上帝,看看,没事吧,喝吧,趁热喝啊。”')
juqing = input(
'“上帝,你得带个头,你要不带头喝。他,他们怎么能,能敢喝呢?诶,都,都 都看我干什么呀。喝呀,喝呀,喝,快,快,趁热喝,嘿,趁热喝呀!(突然变脸)艾!TNND,为什么不喝?喝!喝!不,不,不喝是吧,不喝,不喝我喝。都不敢喝,都怕死是吧。”')
juqing = input(
'“我告诉你,不喝?不喝也别想活着,既然大家都知道了,这戏我也就不演了。我就是大名鼎鼎的海盐大厨和盐厚咸金牌厨师高级特工。代号:盐高祖!哼,这鸡汤里面的一斤盐我放了,不过这鸡汤我喝了,我肯定得因为咸渴死。你们不喝,也bei想活着。”')
juqing = input('“司马先生,盐盐陛下,我,我的任务完成了!啊哈哈哈哈哈哈,啊哈哈哈哈哈哈!”')
g += 25
f -= 20
e += 1
bh += 35
if jtcs1 == 1 and jtcs == 1 and ycxl == 1 and zb == 0 and jtcj == 0:
juqing = input('解锁成就: \033[33m<<<终极乱入>>>\033[0m')
chengjiu.append('<<<终极乱入>>>')
jtcj = 1
continue
# if geng==30 and jtcs2==0:
# jtcs2=1
g += 25
f -= 20
e += 1
bh += 35
print('你吃了点东西 \033[36m体力加25\033[m \033[34m饱和加35\033[0m')
if bh > 150:
bh = 150
if g > 150:
g = 150
if b == '3':
if h < 100 or bing == 1 and f > 49:
h += 50
f -= 50
bing = 0
e += 1
bygh += 1
if h > 100:
h = 100
if bygh == 8 and zb == 0:
print('解锁成就: \033[36m<病入膏肓>\033[0m')
chengjiu.append('<病入膏肓>')
print('你看了病,\033[32m生命加50\033[0m ,\033[33m消费50元\033[0m')
else:
print('你很健康,不需要治疗')
if b == '4':
ab = 'nha'
while ab != 'tc':
print('')
print('1,鱼竿 2,大力丸\033[33m50元\033[0m(洗浴城必备) 3,饮品 4,饰品店')
print('')
ab = input('需要的商品:')
if ab == '1':
if lp == 1:
print('我都把最好的鱼竿都给你了')
print('你还来干嘛')
continue
print('')
print('1,普鱼竿\033[33m25元\033[0m 2,优鱼竿\033[33m50元\033[0m 3,传奇鱼竿\033[33m100元\033[0m ')
if sjsj == 10:
print('|现在鱼竿特价一律8.4折,普通\033[33m21元\033[0m,优秀\033[33m42元\033[0m,传奇\033[33m84元\033[0m|')
print('|老板:“快来啊先到先得!!!!!!!!!!!!!!!!!” |')
print('')
ac = input('需要的商品:')
if ac == '1' and f >= 25:
print('欢迎下次,~光临!')
yg = 789
f -= 25
if sjsj == 10:
f += 4
if ac == '2' and f >= 50:
print('欢迎下次,~光临!')
yg = 897
f -= 50
if sjsj == 10:
f += 8
if ac == '3' and f >= 100:
print('欢迎下次,~光临!')
yg = 987
f -= 100
if sjsj == 10:
f += 16
print('打折促销,买不了吃亏,买不了上当')
elif ab == '2':
if f > 49:
print('你买了大力丸花了 \033[33m50 元\033[0m')
daliwan += 1
f -= 50
elif f < 50:
print('钱不够,买不起')
elif ab == '3':
shuei = 'bha'
while shuei != 'tc':
print('')
print('1,农夫三拳 2,泳动 3,red闷 4,六个铁 5,(塔吊牌)冰红茶')
print('彦祖来一瓶不咯,成品无盗版假一赔十(\033[33m统统两块\033[0m)')
print('')
if e == 15 and ycxl == 0:
ycxl = 1
juqing = input('你听到有人在傍边说话')
juqing = input('“喂!三点几啦?做什么做啊,饮茶先啦!”')
juqing = input('“三点几了,饮茶先啦!”')
juqing = input('“做那么多是没用的,老板不会心疼你的,三点多了,mu做了。”')
if jtcs1 == 1 and jtcs == 1 and ycxl == 1 and zb == 0 and jtcj == 0:
juqing = input('解锁成就: \033[33m<<<终极乱入>>>\033[0m')
chengjiu.append('<<<终极乱入>>>')
jtcj = 1
shuei = input("需要什么:")
if shuei == '5' or shuei == '4' or shuei == '3' or shuei == '2' or shuei == '1':
tule = random.randint(0, 3)
f -= 2
bh += 10
if f < 2:
print('没钱了')
continue
elif tule == 0:
print('有股怪味但没有别的异常')
elif tule == 1:
print('你喝出异味,你去跟商家理论理论,大吵一架')
dajia = random.randint(0, 2)
if dajia == 0:
print('最后商家给你退了\033[33m20块钱\033[0m')
f += 20
elif dajia == 1:
print('你跟商家大打出手,最后你赢的胜利,拿回了\033[33m20元费用\033[0m')
f += 20
e += 1
elif dajia == 2:
print('你跟商家大打出手,商家给你打到,并嘲讽到“逊”')
print('你的水钱被拿走\033[33m4元\033[0m,\033[31m魅力值下降10\033[0m')
xun += 1
f -= 4
e += 1
h -= 10
meili -= 10
if xun == 1 and zb == 0:
print('解锁成就: \033[36m<逊>\033[0m')
chengjiu.append('<逊>')
elif tule == 2:
print('你喝了瓶水,花了\033[33m2元\033[0m')
elif tule == 3:
print('你喝完了水,感到有暖意涌了上来')
print('你拉肚子了,全身都没了力气')
print('\033[36m体力减50\033[0m')
print('')
if butl == 0:
g -= 50
e += 1
elif ab == '4':
shangping = 'zdh'
while shangping != 'tc':
print('')
print('1,(\033[33m15元\033[0m)花 2,服装 3,礼物')
shangping = input('需要的商品:')
print('')
if shangping == '1' and f > 14:
print('你花了\033[33m15元\033[0m买了花\033[31m魅力加2\033[0m')
meili += 2
f -= 15
if shangping == '2':
if ys == 4:
print('服装店关门了')
continue
print('1,\033[32m普通的服装 \033[0m(\033[33m190元\033[0m \033[31m魅力20~25不等\033[0m)')
print('2,\033[34m潮流的服装 \033[0m(\033[33m290元\033[0m \033[31m魅力60~80不等\033[0m)')
print('3,\033[32m华丽的服装 \033[0m(\033[33m590元\033[0m \033[31m魅力100~120不等\033[0m)')
print('4,\033[31m奢侈的衣服私人订制 \033[0m(\033[33m2900元\033[0m \033[31m魅力250\033[0m)')
print('')
fuzhuang = input('要买什么衣服,老板(每件只能买一次):')
if fuzhuang == '1' and f > 189:
if pyi == 1:
print('你已经买过一件普通服装了')
continue
f -= 190
meilu = random.randint(20, 25)
meili += meilu
ys += 1
pyi = 1
print('你买了一件普通的衣裳,\033[31m增加', meilu, '魅力值\033[0m')
if fuzhuang == '2' and f > 289:
if cyi == 1:
print('你已经买过一件潮流服装了')
continue
f -= 290
meilu = random.randint(60, 80)
meili += meilu
cyi = 1
ys += 1
print('你买了一件潮流的衣裳,\033[31m增加', meilu, '魅力值\033[0m')
if fuzhuang == '3' and f > 589:
if hyi == 1:
print('你已经买过一件华丽服装了')
continue
f -= 590
meilu = random.randint(100, 120)
meili += meilu
hyi = 1
ys += 1
print('你买了一件华丽的衣裳,\033[31m增加', meilu, '魅力值\033[0m')
if fuzhuang == '4' and f > 2899:
if syi == 1:
print('你已经买过一件奢侈服装了')
continue
f -= 2900
print('你买了一件奢侈的衣裳,\033[31m增加250魅力值\033[0m')
meili += 250
syi = 1
ys += 1
if fuzhuang != '4' and fuzhuang != '3' and fuzhuang != '2' and fuzhuang != '1':
print('退出')
if shangping == '3':
liwu = 'hvc'
while liwu != 'tc':
print('---------------------------')
print('1,情人节巧克力 (\033[33m30元\033[0m)')
print('2,一捧玫瑰 (\033[33m150元\033[0m)')
print('3,一条银项链 (\033[33m999元\033[0m)')
print('4,一只钻戒 (\033[33m18999元\033[0m)')
print('---------------------------')
liwu = input('请问要买什么:')
if liwu == '1':
if f < 30:
print('钱不够')
continue
print('你买了一个巧克力')
print('欢迎下次光临')
qiaokeli += 1
f - 30
if liwu == '2':
if f < 150:
print('钱不够')
continue
print('你买了一捧玫瑰')
print('欢迎下次光临')
meigui += 1
f - 150
if liwu == '3':
if f < 999:
print('钱不够')
continue
print('你买了一个银项链')
print('欢迎下次光临!!!!!!!!')
yinxianglian += 1
f -= 999
if liwu == '4':
if f < 18999:
print('钱不够')
continue
print('你买了一只钻戒')
print('欢迎下次光临!!!!!!!!!!!!!!!!!!!!')
zuanjie += 1
f -= 18999
zxc = 1000
if b == '5':
if e < 18:
print('你还不困,睡觉时间为>=18点')
continue
## if True:
if e > 17:
e = 8
h += 25
tianshu += 1
if tianshu == tzsc: # 到关闭时间删除跳蚤市场
del xxsh[xxsh.index('6,跳蚤市场')]
print('')
print('\033[34m跳蚤市场\033[0m今天结束了')
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
tzsc = 0 # 重新会到0变量等到再次开启
tzscsp = 0
tzsc1 = 0
tzsc2 = 0
tzsc3 = 0
tz1 = 0
tz2 = 0
tz3 = 0
cs = 0
sjsj1 = 0
g += 40
if bubf == 0:
bh -= 30
baipiao = 0
print('你睡了一觉,\033[32m生命加 35\033[0m,\033[36m体力加40\033[0m')
if bh < 0:
bh = 0
if tianshu == 1 and f > zxc and ses == 0 and zb == 0:
zc = 1
if b == '6':
beibaoxh = 'asdf'
while beibaoxh != 'tc':
print('')
if daliwan > 0:
print('大力丸', daliwan, '颗')
if meigui > 0:
print('玫瑰', meigui, '捧')
if qiaokeli > 0:
print('巧克力', qiaokeli, '盒')
if yinxianglian > 0:
print('银项链', yinxianglian, '条')
if zuanjie > 0:
print('钻戒', zuanjie, '只')
if yg != 0:
if yg == 789:
print('\033[32m普通鱼竿\033[0m')
if yg == 897:
print('\033[36m优秀鱼竿\033[0m')
if yg == 987:
print('\033[34m传说鱼竿\033[0m')
if yg == 9876:
print('\033[33m黄金吊竿(匠心级)\033[0m')
print('')
beibaoxh = input('输入首字母可查看详情:')
print('')
if yg != 0:
if yg == 789 and beibaoxh == 'ptyg' or beibaoxh == 'PTYG':
print('就是一杆普普通通的鱼竿,没什么特别')
if yg == 897 and beibaoxh == 'yxyg' or beibaoxh == 'YXYG':
print('优秀鱼竿,职业钓鱼手必备的鱼竿,上面有花纹,手感一绝')
if yg == 987 and beibaoxh == 'cqyg' or beibaoxh == 'CQYG':
print('传奇鱼竿,是鱼竿界的王者')
print('老板说他就是拿着这把鱼竿在一届钓鱼比赛中获得冠军')
print('(我敢肯定不是什么正经比赛)')
if yg == 9876 and beibaoxh == 'hjdg' or beibaoxh == 'HJDG':
print('匠心级黄金吊杆,全世界仅此一杆,为了可用性,只是大部分用了黄金')
print('手把上镶嵌这钻石最下面有一行字')
print('世界级第一届钓鱼大赛冠军奖品')
if zuanjie > 0 and beibaoxh == 'zj' or beibaoxh == 'ZJ':
print('<求婚必备>')
print('\033[34m一生的约定Drua钻戒24K金钻,10克拉大钻戒\033[0m')
if meigui > 0 and beibaoxh == 'mg' or beibaoxh == 'MG':
print('<约会礼品>')
print('一捧女人都爱的\033[31m红玫瑰\033[0m')
print('好感加60')
if daliwan > 0 and beibaoxh == 'dlw' or beibaoxh == 'DLW':
print('<洗浴中心必备商品>')
print('听说拿着他去洗浴中心二楼会有好事发生记住')
print('记住数字\033[36m1025\033[0m(懂得都懂WvW)')
if qiaokeli > 0 and beibaoxh == 'qkl' or beibaoxh == 'QKL':
print('<情人节巧克力>')
print('拿来给女朋友可以增加\033[35m好感度\033[0m')
print('你不会真的要拿来吃吧')
print('')
cqkl = input('1,吃掉(\033[34m饱和加10\033[0m) !=1,放下')
if cqkl == '1':
print('你吃了巧克力')
print('\033[34m增加10点饱和度\033[0m')
print('没想到有人真的会为了\033[34m10点饱\033[0m和...')
print('而去吃巧克力')
bh += 10
qiaokeli -= 1
if yinxianglian > 0 and beibaoxh == 'yxl' or beibaoxh == 'YXL':
print('女孩们的爱,雕刻细致还有爱心花纹')
print('银制品,我想男人应该只会带大金链子')
print('对女孩\033[35m好感度加260点\033[0m')
if b == '7':
bcdr = input('1.保存 2.导入:')
if bcdr == '1':
bcmc = input('保存的文件名(不加后缀):')
with open(bcmc + '.txt', 'w') as ff:
ff.write(str(e) + ' ')
ff.write(str(f) + ' ')
ff.write(str(g) + ' ')
ff.write(str(h) + ' ')
ff.write(str(bh) + ' ')
ff.write(str(tianshu) + ' ')
ff.write(str(meili) + ' ')
ff.write(str(aizheng) + ' ')
ff.write(str(bing) + ' ')
ff.write(str(bude) + ' ')
ff.write(str(shezibing) + ' ')
ff.write(str(nvhai) + ' ')
ff.write(str(npy) + ' ')
ff.write(str(yujian) + ' ')
ff.write(str(yuehui) + ' ')
ff.write(str(lp) + ' ')
ff.write(str(nhhaogan) + ' ')
ff.write(str(qiuhun) + ' ')
cjxt = ' '
if len(chengjiu) > 0:
for i in chengjiu:
cjxt += i + ','
cjxt = cjxt[:-1]
else:
cjxt = 1
ff.write(str(cjxt) + ' ')
ff.write(str(gtzn) + ' ')
ff.write(str(xhssf) + ' ')
ff.write(str(ses) + ' ')
ff.write(str(myl) + ' ')
ff.write(str(bygh) + ' ')
ff.write(str(butl) + ' ')
ff.write(str(bhfs) + ' ')
ff.write(str(jqye) + ' ')
ff.write(str(xun) + ' ')
ff.write(str(gjr) + ' ')
ff.write(str(hjdg) + ' ')
ff.write(str(wysf) + ' ')
ff.write(str(jtcj) + ' ')
ff.write(str(txzz) + ' ')
ff.write(str(pyi) + ' ')
ff.write(str(ys) + ' ')
ff.write(str(syi) + ' ')
ff.write(str(hyi) + ' ')
ff.write(str(cyi) + ' ')
ff.write(str(cs) + ' ')
ff.write(str(baipiao) + ' ')
ff.write(str(zb) + ' ')
ff.write(str(bubf) + ' ')
ff.write(str(zc) + ' ')
ff.write(str(cs1) + ' ')
ff.write(str(cs2) + ' ')
ff.write(str(rlcs) + ' ')
ff.write(str(dycs) + ' ')
ff.write(str(jtcs) + ' ')
ff.write(str(jtcs1) + ' ')
ff.write(str(sjsj1) + ' ')
ff.write(str(ycxl) + ' ')
ff.write(str(jtcs2) + ' ')
ff.write(str(daliwan) + ' ')
ff.write(str(yg) + ' ')
ff.write(str(qiaokeli) + ' ')
ff.write(str(meigui) + ' ')
ff.write(str(yinxianglian) + ' ')
ff.write(str(zuanjie) + ' ')
ff.write(str(tzsc) + ' ')
ff.write(str(tzscsp) + ' ')
ff.write(str(tzsc1) + ' ')
ff.write(str(tzsc2) + ' ')
ff.write(str(tzsc3) + ' ')
ff.write(str(tz1) + ' ')
ff.write(str(tz2) + ' ')
ff.write(str(tz3))
juqing = input('保存完成')
ff.close()
if bcdr == '2':
drmc = input('导入的文件名(不加后缀):')
with open(drmc + '.txt', 'r') as ff:
a = str(ff.read())
b = a.split()
for i in range(1):
e = int(b[i])
i += 1
f = int(b[i])
i += 1
g = int(b[i])
i += 1
h = int(b[i])
i += 1
bh = int(b[i])
i += 1
tianshu = int(b[i])
i += 1
meili = int(b[i])
i += 1
aizheng = int(b[i])
i += 1
bing = int(b[i])
i += 1
bude = int(b[i])
i += 1
shezibing = int(b[i])
i += 1
nvhai = int(b[i])
i += 1
npy = int(b[i])
i += 1
yujian = int(b[i])
i += 1
yuehui = int(b[i])
i += 1
lp = int(b[i])
i += 1
nhhaogan = int(b[i])
i += 1
qiuhun = int(b[i])
i += 1
if b[i] == '1':
chengjiu = []
else:
chengjiu = str(b[i]).split(',')
i += 1
gtzn = int(b[i])
i += 1
xhssf = int(b[i])
i += 1
ses = int(b[i])
i += 1
myl = int(b[i])
i += 1
bygh = int(b[i])
i += 1
butl = int(b[i])
i += 1
bhfs = int(b[i])
i += 1
jqye = int(b[i])
i += 1
xun = int(b[i])
i += 1
gjr = int(b[i])
i += 1
hjdg = int(b[i])
i += 1
wysf = int(b[i])
i += 1
jtcj = int(b[i])
i += 1
txzz = int(b[i])
i += 1
pyi = int(b[i])
i += 1
ys = int(b[i])
i += 1
syi = int(b[i])
i += 1
hyi = int(b[i])
i += 1
cyi = int(b[i])
i += 1
cs = int(b[i])
i += 1
baipiao = int(b[i])
i += 1
zb = int(b[i])
i += 1
bubf = int(b[i])
i += 1
zc = int(b[i])
i += 1
cs = int(b[i])
i += 1
cs2 = int(b[i])
i += 1
rlcs = int(b[i])
i += 1
dycs = int(b[i])
i += 1
jtcs = int(b[i])
i += 1
jtcs = int(b[i])
i += 1
sjsj = int(b[i])
i += 1
ycxl = int(b[i])
i += 1
jtcs2 = int(b[i])
i += 1
daliwan = int(b[i])
i += 1
yg = int(b[i])
i += 1
qiaokeli = int(b[i])
i += 1
meigui = int(b[i])
i += 1
yinxianglian = int(b[i])
i += 1
zuanjie = int(b[i])
i += 1
tzsc = int(b[i])
i += 1
tzscsp = int(b[i])
i += 1
tzsc = int(b[i])
i += 1
tzsc2 = int(b[i])
i += 1
tzsc3 = int(b[i])
i += 1
tz = int(b[i])
i += 1
tz2 = int(b[i])
i += 1
tz3 = int(b[i])
juqing = input('导入成功')
ff.close()
## if
if bingliu == 12 or bing == 1 or zc == 1 and tianshu != 1 or shezibing == 1:
if bude == 1:
continue
## if True:
print('你的身体有点不适.得病了,尽快治疗(按3花\033[33m50元\033[0m看病)')
bing = 1
if bing == 1:
h -= 15
if bh < 35 or zc == 1:
print('你饿了,请快吃饭(按2花\033[33m20元\033[0m吃东西)')
if butl == 0:
g -= 20
if bh < 26:
h -= 15
if butl == 0:
g -= 30
print('你的身体已经不适,请尽快吃饭(按2花\033[33m20元\033[0m吃东西)')
if g < 0:
g = 0
elif bh < 16:
h -= 20
if butl == 0:
g -= 35
print('你已经非常饿了,请尽快吃饭(按2花\033[33m20元\033[0m吃东西)')
if g < 0:
g = 0
elif bh < 11 or zc == 1:
h -= 25
if butl == 0:
g -= 45
print('你要饿死了,快吃饭(按2花\033[33m20元\033[0m吃东西)')
if bh > 79:
h += 5
g += 15
if g < 0:
g = 0
if g < 0:
g = 0
if bh < 0:
bh = 0
if h > 99:
h = 100
if g > 149:
g = 150
if bh > 149:
bh = 150
if meili < 0:
meili = 0
## if True:
## sjbh1=e-sjbh1
## bh-=sjbh1*5
if tianshu == 1 and ses == 0 and zb == 0:
if f > 999: # 设置不值一种数值
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
print('!!!!!! 不要擅自修改数值 !!!!!!')
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
break
if meili > 99: # 设置不值一种数值
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
print('!!!!!! 不要擅自修改数值 !!!!!!')
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
break
except:
print('发生错误,联系csdn xiaoyuan恶霸')
while True:
if tianshu == 1 and ses == 0:
if f > 999:
break
if meili > 99:
break
if h < 1:
juqing = input('')
juqing = input('')
print('____________________________________________________________')
juqing = input(
'你死了!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!(/ ! _ ! \)')
print('你在这座城市生活了', tianshu, '天的', e, '点 总共', tianshu * 24 + e - 24, '小时')
print('解锁成就', chengjiu)
juqing = input('非常的安心,活的憋屈,死的窝囊')
print(
' 敬礼!')
print('____________________________________________________________')
juqing = input('')
print('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
break
水一下,它说质量不佳,也不知道要加什么了,有没有什么想加入什么的可以跟我私信,我好水一下。。。