123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # mod_addedflavour_A704_Functions
- if $ARGS[0] = 'config':
- npctemp = 704
- $npc_dna['A<<npctemp>>'] = '0702835250 3264448398 6371524502 6365038709 4403552149 5175885234 9713813767'
- $npc_firstname['A<<npctemp>>'] = 'Valeri'
- $npc_nickname['A<<npctemp>>'] = 'Val'
- $npc_lastname['A<<npctemp>>'] = 'Kuznetsov'
- $npc_usedname['A<<npctemp>>'] = 'Valeri'
- $npc_fontcolor['A<<npctemp>>'] = 'Olive'
- npc_dob['A<<npctemp>>'] = 19920907
- $npc_notes['A<<npctemp>>'] = 'TBD'
- npc_gender['A<<npctemp>>'] = 0
- npc_rel['A<<npctemp>>'] = 30
- gs 'npcstaticdefaults', 'defaults'
- hotcat_rating['A<<npctemp>>'] = 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:
- '<b><font color="<<$npc_fontcolor[''A704'']>>">"Ha! Caught you skipping school! Your secret is safe with me though, ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '."</font> - Valeri had just driven past you in his Delivery Van!</b>'
- npc_rel['A704'] += rand((6 - difficulty),5)
- else
- '<b><font color="<<$npc_fontcolor[''A704'']>>">"' + iif(hour < 12,'Morning','Afternoon') + ' ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '!"</font> - Valeri had just driven past you in his Delivery Van!</b>'
- npc_rel['A704'] += rand((6 - difficulty),5)
- end
- else
- *nl
- '<b>' + iif(modVar_AF_EventLock['A704-WorkEv-Interact'] = daystart,'Valeri','<a href="exec: menu_off = 1 & gt ''mod_addedflavour_A704_Events'' , ''A704_WorkEv_1'' ">Valeri</a>') + ' is here delivery packages</b>'
- end
- end
- end
- --- mod_addedflavour_A704_Functions ---------------------------------
|