Browse Source

Add code for converting a boy to a boyfriend

rachels 3 years ago
parent
commit
17baf722f6
1 changed files with 6 additions and 0 deletions
  1. 6 0
      locations/boyfrend.qsrc

+ 6 - 0
locations/boyfrend.qsrc

@@ -8,6 +8,12 @@ if $ARGS[0] = 'start':
 	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 ---------------------------------