# mod_wlife_cheatmenu

if $ARGS[0] = 'start':	
	*clr & cla & *nl & *nl	
	'<center><img <<$set_imgh>> src="mod/wlife/images/objects/cheatmenu.png"></center>'
	if $wl_status['abortions'] ! '': 'Forced abortions: '+iif($wl_status['abortions'] = 'yes', '<a href="exec: $wl_status[''abortions''] = ''no'' & gt ''mod_wlife_cheatmenu'', ''start''">Currently on</a>', '<a href="exec: $wl_status[''abortions''] = ''yes'' & gt ''mod_wlife_cheatmenu'', ''start''">Currently off</a>')
	*nl
	if wl_georgiy['payment_method'] = 0:
		'You have to work <<wl_whore[''shifts_minimum'']>> shifts ['+iif(wl_whore['shifts_minimum'] > 1, '<a href="exec: wl_whore[''shifts_minimum''] -= 1 & gt ''mod_wlife_cheatmenu'', ''start''">(-1)</a>', '(-1)')+'|'+iif(wl_whore['shifts_minimum'] < 6, '<a href="exec: wl_whore[''shifts_minimum''] += 1 & gt ''mod_wlife_cheatmenu'', ''start''">(+1)</a>', '(+1)')+'] each week at the gas station. Changing the minimum will take effect after the next check-in with Georgiy.'
	else 
		'You have to pay <<wl_georgiy[''lump_sum'']>> <b>₽</b> every week to Georgiy.'
		'Change it by: '+iif(wl_georgiy['lump_sum'] > 2500, '<a href="exec: wl_georgiy[''lump_sum''] -= 2500 & gt ''mod_wlife_cheatmenu'', ''start''">-2500</a>', '-2500')+'|<a href="exec: wl_georgiy[''lump_sum''] += 2500 & gt ''mod_wlife_cheatmenu'', ''start''">+2500</a>'
	end
	'Working at the gas station and Pavlovsk costs willpower: '+iif(wl_cheat['will_cost'] = 0, '<a href="exec: wl_cheat[''will_cost''] = 1 & gt ''mod_wlife_cheatmenu'', ''start''">Yes</a>', '<a href="exec: wl_cheat[''will_cost''] = 0 & gt ''mod_wlife_cheatmenu'', ''start''">No</a>')
	if wl_sacha['status'] > 3:
		*nl
		'Chance to encounter a more abusive client in Pavlovsk (Some scenes don''t have a abusive/nice variant. Setting it to 0% or 100% will not completely block abusive/nice clients): <<wl_whore[''client_behavior_chance'']>>% ('+iif(wl_whore['client_behavior_chance'] = 0, '-10%', '<a href="exec: wl_whore[''client_behavior_chance''] -= 10 & gt ''mod_wlife_cheatmenu'', ''start''">-10%</a>')+'|'+iif(wl_whore['client_behavior_chance'] = 100, '+10%)', '<a href="exec: wl_whore[''client_behavior_chance''] += 10 & gt ''mod_wlife_cheatmenu'', ''start''">+10%</a>)')
	end
	
	act 'Go back to the phone': gt 'mod_wlife_phone', 'start'
	act 'Check important variables': gt 'mod_wlife_cheatmenu', 'variables'
	act 'Block all content except the gas station (and the homeless/Pavlovsk prostitution if unlocked)':
		*clr & cla	
		wl_status['stored'] = wl_status['main']
		wl_status['main'] = -1
		'<center><img <<$set_imgh>> src="mod/wlife/images/player/phone_holding.jpg"></center>'
		'All content apart from the gas station at the highway has been blocked. You can visit the gas station on your own by going to the St. Petersburg train station in the industrial district. Outside the building you can find a bus terminal.'
						
		act 'Continue': gt $loc, $metka
	end
	if home_owned[2] = 0: act 'Gain access to your parents apartment again': home_owned[2] = 1 & gt 'mod_wlife_cheatmenu', 'start'
end

if $ARGS[0] = 'variables':
	*clr & cla & *nl & *nl	
	'<center><img <<$set_imgh>> src="mod/wlife/images/objects/variables.png"></center>'
	
	*nl
	
	act 'Go Back': gt 'mod_wlife_cheatmenu', 'start'
	
	'<b>Stats:</b>'
	'- Acceptance: wl_stats[''acceptance''] = <<wl_stats[''acceptance'']>>'
	'- Loyalty: wl_stats[''loyalty''] = <<wl_stats[''loyalty'']>>'
	'- Respect: wl_stats[''respect''] = <<wl_stats[''respect'']>>'
	
	*nl
	
	'<b>Quest:</b>'
	'- Start: wl_status[''start''] = <<wl_status[''start'']>>'
	'- Main Quest: wl_status[''main''] = <<wl_status[''main'']>>'
	'- Clinic: wl_medical[''status''] = <<wl_medical[''status'']>>'
	'- Drugs: wl_drugs[''status''] = <<wl_drugs[''status'']>>'
	'- Party (1): wl_party[''first''] = <<wl_party[''first'']>>'
	'- Party (2): wl_party[''status''] = <<wl_party[''status'']>>'
	'- Homeless: wl_homeless[''status''] = <<wl_homeless[''status'']>>'
	'- Prison: wl_prison[''status''] = <<wl_prison[''status'']>>'
	
	*nl
	
	'<b>Characters:</b>'
	'- Volya: wl_volya[''status''] = <<wl_volya[''status'']>>'
	'- Shura: wl_shura[''status''] = <<wl_shura[''status'']>>'
	'- Sacha: wl_sacha[''status''] = <<wl_sacha[''status'']>>'
	'- Iosif: wl_iosif[''status''] = <<wl_iosif[''status'']>>'
	'- Georgiy: wl_georgiy[''status''] = <<wl_georgiy[''status'']>>'
	'- Okoro Brothers: wl_okoro[''status''] = <<wl_okoro[''status'']>>'
	'- Nikita: wl_nikita[''status''] = <<wl_nikita[''status'']>>'
	'- Adrian: wl_adrian[''status''] = <<wl_adrian[''status'']>>'
	
	*nl
	
	'<b>Punishment:</b>'
	'- wl_bad[''status_punishment''] = <<wl_bad[''status_punishment'']>>'
	'- wl_bad[''work''] = <<wl_bad[''work'']>>'
	'- wl_bad[''lump_sum''] = <<wl_bad[''lump_sum'']>>'
	'- wl_bad[''medical''] = <<wl_bad[''medical'']>>' 
	'- wl_bad[''iosif''] = <<wl_bad[''iosif'']>>'
	'- wl_bad[''earnings''] = <<wl_bad[''earnings'']>>'
	'- wl_bad[''prison''] = <<wl_bad[''prison'']>>'
	'- wl_bad[''total_debt''] = <<wl_bad[''total_debt'']>>'
	'- wl_bad[''total_debt''] = <<wl_bad[''total_debt'']>>'
	
	*nl
end

--- mod_wlife_cheatmenu ---------------------------------
