# boyfrend

if $ARGS[0] = 'start':
	if arrsize('pcs_lovers') > 2:
		'Hmm, you are already three lovers, why do you need a fourth?'
	else
		gs 'lover', 'add'
	end
end

!use    $boyfriend_code = func('boyfrend','add',$npclastgenerated)
!the function returns the string, that correspends npc identificator in B array
if $ARGS[0] = 'add':
	gs 'npcpreservec', $ARGS[1]
	$result = $npclastsaved
end

--- boyfrend ---------------------------------

