# mod_addedflavour_A704_Functions if $ARGS[0] = 'config': npctemp = 704 $npc_dna['A<>'] = '0702835250 3264448398 6371524502 6365038709 4403552149 5175885234 9713813767' $npc_firstname['A<>'] = 'Valeri' $npc_nickname['A<>'] = 'Val' $npc_lastname['A<>'] = 'Kuznetsov' $npc_usedname['A<>'] = 'Valeri' $npc_fontcolor['A<>'] = 'Olive' npc_dob['A<>'] = 19920907 $npc_notes['A<>'] = 'TBD' npc_gender['A<>'] = 0 npc_rel['A<>'] = 30 gs 'npcstaticdefaults', 'defaults' hotcat_rating['A<>'] = 7 $modVar_AF_NPCLastKnownLocation['A704'] = '' end if $ARGS[0] = 'A704-WorkEv-X1': if $loc = $charsche_character_CurActLoc[arrpos('charsche_charlist',704)] and $charsche_character_CurActDesc[arrpos('charsche_charlist',704)] = 'Working' and modVar_AF_EventLock['A704-WorkEv-SeenWorking'] ! hour: modVar_AF_EventLock['A704-WorkEv-SeenWorking'] = hour if rand(1,2) = 2: CLOSE ALL if sound = 0: PLAY 'mod/addedflavour/sound/VanHorn.mp3' , 20 end *nl if (kanikuli = 0 and SchoolAtestat = 0) and hour < 14: '"Ha! Caught you skipping school! Your secret is safe with me though, ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '." - Valeri had just driven past you in his Delivery Van!' npc_rel['A704'] += rand((6 - difficulty),5) else '"' + iif(hour < 12,'Morning','Afternoon') + ' ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '!" - Valeri had just driven past you in his Delivery Van!' npc_rel['A704'] += rand((6 - difficulty),5) end else *nl '' + iif(modVar_AF_EventLock['A704-WorkEv-Interact'] = daystart,'Valeri','Valeri') + ' is here delivery packages' end end end --- mod_addedflavour_A704_Functions ---------------------------------