123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675 |
- # npcgeneratec
- !! This file requires the sex, name and age for the npc to be generated
- !! You can also set their approx. home location
- !! All data produced is random so if you need a specific value you will have to overwrite it
- !! npcgen_lastrun is a flag to help track whether npcgeneratec or npcpreservec has been run last
- !! npcgeneratec is 1
- !! npcpreservec is 2
- npcgen_lastrun = 1
- !! sets sex, 0 male, 1 female, 2 female herm, 3 male herm
- npctempgsex = ARGS[0]
- !! Name for npc, can just be rapist or shop assistant, etc
- $npctempgn[0] = $ARGS[1]
- !! npc age
- npctempgage = ARGS[2]
- !! npc home location area
- !! 1 - Pavlovsk Residential Area
- !! 2 - Student dorms in the city
- !! 3 - St. Petersburg Residential Area
- !! 4 - St. Petersburg City Center
- temp_location = ARGS[3]
- dont_know_npc_name = ARGS[4]
- !! For example
- !! gs 'npcgeneratec', 0, 'stranger', rand(18,45), 3, 1
- !! Which would generate a male named stranger between ages of 18 and 45 who lives in the St. Petersburg Residential Area who will be remembered as ''stranger''
- if temp_location = 0:
- if $region = 'city':
- temp_location = rand(3,4)
- elseif $region = 'pav':
- temp_location = 1
- end
- end
- !! This sets up a newly generated index number by overwriting the first blank number
- !! The first check is to see if array 0 in the cleanup list is available and overwrites it if it is free
- if mid($cemptyarray[0],1,1) = 'C':
- $npclastgenerated = $cemptyarray[0]
- killvar '$cemptyarray', 0
- else
- :npcgencsanityloop
- i = 0
- $npclastgenerated = 'C' + '<<carraynumber>>'
- $npctemparrc = 'C' + '<<(carraynumber)-(1)>>'
- if $npc_perstype[$npctemparrc] = '' and carraynumber > 0:
- carraynumber -= 1
- i = 1
- elseif $npc_perstype[$npclastgenerated] = '':
- i = 0
- else
- carraynumber += 1
- i = 1
- end
- if i = 1: jump 'npcgencsanityloop'
- end
- carraynumber += 1
- $npc_index[$npclastgenerated] = $npclastgenerated
- !! Random birthday based on age given
- npctempc1[1] = year - npctempgage
- npctempc1[2] = rand(1,12)
- if npctempc1[2] = 4 or npctempc1[2] = 6 or npctempc1[2] = 9 or npctempc1[2] = 11:
- npctempc1[3] = rand(1,30)
- elseif npctempc1[2] = 1 or npctempc1[2] = 3 or npctempc1[2] = 5 or npctempc1[2] = 7 or npctempc1[2] = 8 or npctempc1[2] = 10 or npctempc1[2] = 12:
- npctempc1[3] = rand(1,31)
- elseif ((npctempc1[1] mod 4 = 0) and (npctempc1[1] mod 100 ! 0)) or (npctempc1[1] mod 400 = 0):
- npctempc1[3] = rand(1,29)
- else
- npctempc1[3] = rand(1,28)
- end
- npc_dob[$npclastgenerated] = npctempc1[1] * 10000
- npc_dob[$npclastgenerated] += (npctempc1[2] * 100)
- npc_dob[$npclastgenerated] += npctempc1[3]
- ! {we save the unique number of the npc, to be able to get the index of the array via arrpos}
- !! Sets a seed value for the stat randomization as well as calculate chance of virginity
- if npctempgage < 18:
- npctempc2[0] = 30
- npctempc2[1] = rand(0,20)
- else
- npctempc2[0] = 50
- npctempc2[1] = rand(19,24)
- end
- !! Flag for virginity
- if npctempc2[1] < 20:
- npc_sexskill[$npclastgenerated] = 0
- end
- !! Fill details about their sex such as cock and breast size
- if npctempgsex = 0:
- ! {Male}
- gs 'npcrnamefile', 'rusMale'
- gs 'npcgenext', 'dick'
- npc_gender[$npclastgenerated] = 0
- npc_spermpot[$npclastgenerated] = 10000
- $npc_thdick[$npclastgenerated] = $npctempgn[4]
- npc_dick[$npclastgenerated] = npctempgn[5]
- $npc_notes[$npclastgenerated] = 'A male.'
- npc_bust[$npclastgenerated] = 0
- lover_picrand[$npclastgenerated] = rand(1,30)
- elseif npctempgsex = 1:
- ! {Female}
- gs 'npcrnamefile', 'rusFemale'
- npc_gender[$npclastgenerated] = 1
- npc_spermpot[$npclastgenerated] = -1
- $npc_thdick[$npclastgenerated] = 'clitoris'
- npc_dick[$npclastgenerated] = rand(0,1)
- $npc_notes[$npclastgenerated] = 'A female.'
- !!0 - 60 curve around 22,5 (C/D cups)
- npc_bust[$npclastgenerated] = rand(0,15) + rand(0,15) + rand(0,15) & if rand(1,10) = 1: npc_bust[$npclastgenerated] += rand(0,15)
- elseif npctempgsex = 2:
- ! {HermFemale}
- gs 'npcrnamefile', 'rusFemale'
- gs 'npcgenext', 'dick'
- npc_gender[$npclastgenerated] = 1
- npc_spermpot[$npclastgenerated] = -1
- $npc_thdick[$npclastgenerated] = 'clitoris'
- npc_dick[$npclastgenerated] = npctempgn[5]
- $npc_notes[$npclastgenerated] = 'A female Hermaphrodite.'
- !!0 - 60 curve around 22,5 (C/D cups)
- npc_bust[$npclastgenerated] = rand(0,15) + rand(0,15) + rand(0,15)
- else
- ! {HermMale}
- gs 'npcrnamefile', 'rusMale'
- gs 'npcgenext', 'dick'
- npc_gender[$npclastgenerated] = 0
- npc_spermpot[$npclastgenerated] = 10000
- $npc_thdick[$npclastgenerated] = $npctempgn[4]
- npc_dick[$npclastgenerated] = npctempgn[5]
- $npc_notes[$npclastgenerated] = 'A male Hermaphrodite.'
- npc_bust[$npclastgenerated]= rand(0,10)
- end
- !! $npc_dick_desc is set here
- !! this variable is to set a shorthand method of checking dick size without looking for specific numbers
- !! it is organized by length and then ascending girth
- !! short dicks
- if npc_dick[$npclastgenerated] < 9:
- if $npc_thdick[$npclastgenerated] = 'skinny' or $npc_thdick[$npclastgenerated] = 'slim':
-
- $npc_dick_desc[$npclastgenerated] = 'tiny'
-
- elseif $npc_thdick[$npclastgenerated] = 'well proportioned' or $npc_thdick[$npclastgenerated] = 'thicker than average':
-
- $npc_dick_desc[$npclastgenerated] = 'short'
-
- elseif $npc_thdick[$npclastgenerated] = 'thick' or $npc_thdick[$npclastgenerated] = 'massive' or $npc_thdick[$npclastgenerated] = 'monstrous':
-
- $npc_dick_desc[$npclastgenerated] = 'chode'
-
- end
-
- !! average length dicks
- elseif npc_dick[$npclastgenerated] < 20:
- if $npc_thdick[$npclastgenerated] = 'skinny' or $npc_thdick[$npclastgenerated] = 'slim':
-
- $npc_dick_desc[$npclastgenerated] = 'skinny'
-
- elseif $npc_thdick[$npclastgenerated] = 'well proportioned' or $npc_thdick[$npclastgenerated] = 'thicker than average':
-
- $npc_dick_desc[$npclastgenerated] = 'normal'
-
- elseif $npc_thdick[$npclastgenerated] = 'thick' or $npc_thdick[$npclastgenerated] = 'massive' or $npc_thdick[$npclastgenerated] = 'monstrous':
-
- $npc_dick_desc[$npclastgenerated] = 'thick'
-
- end
- !! long dicks
- elseif npc_dick[$npclastgenerated] < 31:
- if $npc_thdick[$npclastgenerated] = 'skinny' or $npc_thdick[$npclastgenerated] = 'slim':
-
- $npc_dick_desc[$npclastgenerated] = 'long'
- elseif $npc_thdick[$npclastgenerated] = 'well proportioned' or $npc_thdick[$npclastgenerated] = 'thicker than average':
-
- $npc_dick_desc[$npclastgenerated] = 'huge'
- elseif $npc_thdick[$npclastgenerated] = 'thick' or $npc_thdick[$npclastgenerated] = 'massive' or $npc_thdick[$npclastgenerated] = 'monstrous':
-
- $npc_dick_desc[$npclastgenerated] = 'enormous'
-
- end
- !! extremely long dicks
- else
- if $npc_thdick[$npclastgenerated] = 'skinny' or $npc_thdick[$npclastgenerated] = 'slim':
-
- $npc_dick_desc[$npclastgenerated] = 'lengthy'
-
- elseif $npc_thdick[$npclastgenerated] = 'well proportioned' or $npc_thdick[$npclastgenerated] = 'thicker than average':
-
- $npc_dick_desc[$npclastgenerated] = 'gigantic'
-
- elseif $npc_thdick[$npclastgenerated] = 'thick' or $npc_thdick[$npclastgenerated] = 'massive' or $npc_thdick[$npclastgenerated] = 'monstrous':
-
- $npc_dick_desc[$npclastgenerated] = 'monster'
- end
- end
- !! Set the names, and the stat high ends as determined by seed set earlier
- gs 'npcrnamefile', 'rusSur'
- $npc_firstname[$npclastgenerated] = $npctempgn[1]
- $npc_nickname[$npclastgenerated] = $npctempgn[2]
- $npc_lastname[$npclastgenerated] = $npctempgn[3]
- if dont_know_npc_name = 0 or $npctempgn[0] = '':
- $npc_usedname[$npclastgenerated] = $npctempgn[1]
- else
- $npc_usedname[$npclastgenerated] = $npctempgn[0]
- end
- npc_intel[$npclastgenerated] = rand(1,npctempc2)
- !! set them to sober
- npc_drunk[$npclastgenerated] = 0
- !! Horniness
- npc_horny[$npclastgenerated] = rand(0,60)
- !! Attractiveness
- npc_apprnc[$npclastgenerated] = rand(30,60)
- !! Height
- if npc_gender[$npclastgenerated] = 0:
- npc_height[$npclastgenerated] = rand(160,190)
- else
- npc_height[$npclastgenerated] = rand(150,180)
- end
- !! Hair colour
- npc_haircol[$npclastgenerated] = rand(0, 3)
- !! Quest stage, relationship and love initialised
- npc_QW[$npclastgenerated]= 0
- !! hornguy6 commentary: I don''t know why relationship automatically starts at 40? I didn''t code this part so maybe someone can explain the reasoning behind it.
- npc_rel[$npclastgenerated] = 40
- npc_love[$npclastgenerated] = 0
- !! initialise occupation and outfit
- npc_occupation[$npclastgenerated] = 0
- npc_outfit[$npclastgenerated] = 0
- !! Unspecified dad and <<$npc_nickname[''A29'']>>.
- if npctempgsex = 1 or npctempgsex = 2:
- !! A female face
- $npc_pic[$npclastgenerated] = 'icon_bf' + rand(31, 60) + '.png'
- else
- !! A male face
- $npc_pic[$npclastgenerated] = 'icon_bf' + rand(1, 30) + '.png'
- end
- !! STDs set to 0. For characters with a STD, you need to gs npcgenext rstd
- npc_herpes[$npclastgenerated] = 0
- npc_syth[$npclastgenerated] = 0
- npc_gon[$npclastgenerated] = 0
- npc_thrush[$npclastgenerated] = 0
- !! times you have had sex with and pervert level of npc
- npc_sex[$npclastgenerated] = 0
- npc_perv[$npclastgenerated] = 0
- !! Personality generated
- gs 'npcgenext', 'pers'
- $npc_perstype[$npclastgenerated] = $npctempgn[6]
- !! hornguy6 commentary: the above code sets a Myers Briggs personality type?
- !! Seems overly complex. Up to others whether we keep it or just use the quirks I''ve added to this file
- ! {Creating the DNA of the character. If it is someone specific, like father, mother, daughter, sone, etc. then should be overwritten.}
- $npc_dna[$npclastgenerated] = func('DNA','create')
- !! Set home details
- !! npc_apt_type = 1: student dorm (only available in the city for obvious reasons)
- !! npc_apt_type = 2: studio apartment
- !! npc_apt_type = 3: one bedroom apartment
- !! npc_apt_type = 4: multi-bedroom apartment with roommates
- !! npc_apt_type = 5: multi-bedroom apartment living alone
- !! npc_apt_type = 6: high rise apartment (for rich people only)
- !! temp_location
- !! 1 - Pavlovsk Residential Area
- !! 2 - Student dorms in the city
- !! 3 - St. Petersburg Residential Area
- !! 4 - St. Petersburg City Center
- !! occupation set, list below
- npc_residence[$npclastgenerated] = temp_location
- if temp_location = 1:
- npc_finance[$npclastgenerated] = 0
- elseif temp_location = 2:
- npc_finance[$npclastgenerated] = 0
- elseif temp_location = 3:
- npc_finance[$npclastgenerated] = rand(1,2)
- elseif temp_location = 4:
- npc_finance[$npclastgenerated] = 2
- end
-
- if npc_finance[$npclastgenerated] = 0:
- if npc_residence[$npclastgenerated] ! 1 and npc_residence[$npclastgenerated] ! 4 and npctempgage < 22:
- npc_student[$npclastgenerated] = rand(0,1)
- npc_apt_type[$npclastgenerated] = rand(1,4)
- elseif npc_residence[$npclastgenerated] = 2:
- npc_student[$npclastgenerated] = 1
- npc_apt_type[$npclastgenerated] = 2
- else
- npc_apt_type[$npclastgenerated] = rand(2,4)
- end
- npc_occupation[$npclastgenerated] = rand(1,7)
- if rand(1,3) = 1:
- npc_start_free_time[$npclastgenerated] = 9
- npc_end_free_time[$npclastgenerated] = 12
- elseif rand(1,2) = 1:
- npc_start_free_time[$npclastgenerated] = 16
- npc_end_free_time[$npclastgenerated] = 20
- else
- npc_start_free_time[$npclastgenerated] = 20
- npc_end_free_time[$npclastgenerated] = 23
- end
- npc_day_off[$npclastgenerated] = rand(1,7)
- elseif npc_finance[$npclastgenerated] = 1:
- npc_apt_type[$npclastgenerated] = rand(2,5)
- npc_occupation[$npclastgenerated] = rand(7,15)
-
- if rand(1,2) = 1:
- npc_start_free_time[$npclastgenerated] = 9
- npc_end_free_time[$npclastgenerated] = 12
- else
- npc_start_free_time[$npclastgenerated] = 20
- npc_end_free_time[$npclastgenerated] = 23
- end
-
- npc_car[$npclastgenerated] = rand(-3,1)
- elseif npc_finance[$npclastgenerated] = 2:
- npc_apt_type[$npclastgenerated] = 5
- !!npc_apt_type[$npclastgenerated] = rand(5,6)
- !! apt_type 6 is disabled until pictures are added
- npc_occupation[$npclastgenerated] = rand(14,18)
- npc_car[$npclastgenerated] = rand(0,1)
- end
- npc_day_off[$npclastgenerated] = rand(1,7)
-
-
- !! npc_style[$npclastgenerated] determines generally how they dress and what their "persona" is
- !! Each style is limited by their financial status and occupation
- !! e.g. You can''t have someone who dresses like a businessman but works as a line cook
- !! 1 - "normal"
- !! 2 - Gopnik
- !! 3 - nerdy
- !! 4 - sporty
- !! 5 - fashionable
- !! 6 - businessman
- if npc_occupation[$npclastgenerated] < 15:
- npc_style[$npclastgenerated] = rand(1,5)
- else
- npc_style[$npclastgenerated] = (rand(2,6) mod 6) + 1
- end
-
- if npc_apt_type[$npclastgenerated] = 6:
- !! high rise
-
- !! this is to determine what their spare room is used for based on their personality type
- if npc_style[$npclastgenerated] = 3:
- npc_apt_spare[$npclastgenerated] = 1
- elseif npc_style[$npclastgenerated] = 2 or npc_style[$npclastgenerated] = 4:
- npc_apt_spare[$npclastgenerated] = 2
- else
- npc_apt_spare[$npclastgenerated] = rand(1,2)
- end
- if npc_apt_spare[$npclastgenerated] = 1:
- $npc_apt_spare[$npclastgenerated] = 'gaming'
- elseif npc_apt_spare[$npclastgenerated] = 2:
- $npc_apt_spare[$npclastgenerated] = 'gym'
- end
- npc_apt_number[$npclastgenerated] = rand(1,2)
- $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
- $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/high_rise/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- elseif npc_apt_type[$npclastgenerated] = 4 or npc_apt_type[$npclastgenerated] = 5:
- !! multi-bedroom
- !! npc_apt_type[$npclastgenerated] = 4 will one day be living with roommates but for now we''re just making it easy on ourselves. No roommates until later.
-
- !! this is to determine what their spare room is used for based on their personality type
- if npc_style[$npclastgenerated] = 3:
- npc_apt_spare[$npclastgenerated] = 1
- elseif npc_style[$npclastgenerated] = 2 or npc_style[$npclastgenerated] = 4:
- npc_apt_spare[$npclastgenerated] = 2
- else
- npc_apt_spare[$npclastgenerated] = rand(1,2)
- end
- if npc_apt_spare[$npclastgenerated] = 1:
- $npc_apt_spare[$npclastgenerated] = 'gaming'
- elseif npc_apt_spare[$npclastgenerated] = 2:
- $npc_apt_spare[$npclastgenerated] = 'gym'
- end
-
- npc_apt_number[$npclastgenerated] = rand(1,2)
- $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/kitchen.jpg"></center>'
- $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
- $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
- $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
- $npc_apt_spare[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/multibedroom/<<npc_apt_number[$npclastgenerated]>>/<<$npc_apt_spare[$npclastgenerated]>>.jpg"></center>'
- elseif npc_apt_type[$npclastgenerated] = 3:
- !! one bedroom
- npc_apt_number[$npclastgenerated] = rand(1,3)
- $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/kitchen.jpg"></center>'
- $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
- $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
- $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
- elseif npc_apt_type[$npclastgenerated] = 2:
- !! studio apartment
- npc_apt_number[$npclastgenerated] = rand(1,2)
- $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
- $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- elseif npc_apt_type[$npclastgenerated] = 1:
- !! student dorm
- npc_apt_number[$npclastgenerated] = rand(1,3)
- $npc_apt_bedroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bedroom.jpg"></center>'
- $npc_apt_kitchen[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/kitchen.jpg"></center>'
- $npc_apt_livingroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
- $npc_apt_bathroom[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/1bedroom/<<npc_apt_number[$npclastgenerated]>>/bath.jpg"></center>'
- $npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
- end
-
- if npc_occupation[$npclastgenerated] = 1:
- $npc_occupation[$npclastgenerated] = 'cashier_supermarket'
- elseif npc_occupation[$npclastgenerated] = 2:
- $npc_occupation[$npclastgenerated] = 'cashier_liquor'
- elseif npc_occupation[$npclastgenerated] = 3:
- $npc_occupation[$npclastgenerated] = 'cashier_coffee'
- elseif npc_occupation[$npclastgenerated] = 4:
- $npc_occupation[$npclastgenerated] = 'barista'
- elseif npc_occupation[$npclastgenerated] = 5:
- $npc_occupation[$npclastgenerated] = 'fast_food'
- elseif npc_occupation[$npclastgenerated] = 6:
- $npc_occupation[$npclastgenerated] = 'taxi_driver'
- elseif npc_occupation[$npclastgenerated] = 7:
- $npc_occupation[$npclastgenerated] = 'masseuse'
- elseif npc_occupation[$npclastgenerated] = 8:
- $npc_occupation[$npclastgenerated] = 'masseuse_sexual'
- elseif npc_occupation[$npclastgenerated] = 9:
- $npc_occupation[$npclastgenerated] = 'factory'
- elseif npc_occupation[$npclastgenerated] = 10:
- $npc_occupation[$npclastgenerated] = 'bartender'
- elseif npc_occupation[$npclastgenerated] = 11:
- $npc_occupation[$npclastgenerated] = 'mechanic'
- elseif npc_occupation[$npclastgenerated] = 12:
- $npc_occupation[$npclastgenerated] = 'line_cook'
- elseif npc_occupation[$npclastgenerated] = 13:
- $npc_occupation[$npclastgenerated] = 'waiter'
- elseif npc_occupation[$npclastgenerated] = 14:
- $npc_occupation[$npclastgenerated] = 'personal trainer'
- elseif npc_occupation[$npclastgenerated] = 15:
- $npc_occupation[$npclastgenerated] = 'programmer'
- elseif npc_occupation[$npclastgenerated] = 16:
- $npc_occupation[$npclastgenerated] = 'businessman'
- elseif npc_occupation[$npclastgenerated] = 17:
- $npc_occupation[$npclastgenerated] = 'lawyer'
- elseif npc_occupation[$npclastgenerated] = 18:
- $npc_occupation[$npclastgenerated] = 'investment banker'
- end
- !! type of homour
- npc_humor[$npclastgenerated] = rand(0,3)
-
- !! Preferred sexual position
- npc_fav_pos[$npclastgenerated] = rand(1,7)
-
- if npc_fav_pos[$npclastgenerated] = 1:
- $npc_fav_pos[$npclastgenerated] = 'missionary'
- elseif npc_fav_pos[$npclastgenerated] = 2:
- $npc_fav_pos[$npclastgenerated] = 'doggy'
- elseif npc_fav_pos[$npclastgenerated] = 3:
- $npc_fav_pos[$npclastgenerated] = 'cowgirl'
- elseif npc_fav_pos[$npclastgenerated] = 4:
- $npc_fav_pos[$npclastgenerated] = 'blowjob'
- elseif npc_fav_pos[$npclastgenerated] = 5:
- $npc_fav_pos[$npclastgenerated] = 'titjob'
- elseif npc_fav_pos[$npclastgenerated] = 6:
- $npc_fav_pos[$npclastgenerated] = '69'
- elseif npc_fav_pos[$npclastgenerated] = 7:
- $npc_fav_pos[$npclastgenerated] = 'anal'
- end
-
- !! npc_sex_speed determines whether they like it slow, steady, or fast and will cause them to select that speed more frequently
- !! 1 is slow, 2 is steady, 3 is fast/rough
- npc_sex_speed[$npclastgenerated] = rand(1,3)
- !! Preferred cumming location
- !! 0 = no preference
- npc_cum_pref[$npclastgenerated] = rand(0,5)
-
- if npc_cum_pref[$npclastgenerated] = 1:
- $npc_cum_pref[$npclastgenerated] = 'creampie'
- elseif npc_cum_pref[$npclastgenerated] = 2:
- $npc_cum_pref[$npclastgenerated] = 'mouth'
- elseif npc_cum_pref[$npclastgenerated] = 3:
- $npc_cum_pref[$npclastgenerated] = 'facial'
- elseif npc_cum_pref[$npclastgenerated] = 4:
- $npc_cum_pref[$npclastgenerated] = 'tits'
- elseif npc_cum_pref[$npclastgenerated] = 5:
- $npc_cum_pref[$npclastgenerated] = 'pullout'
- end
-
- !! npc_tit_pref determines an npcs preference for breast size
- !! if npc_tit_pref = 0: they don''t care
- !! if npc_tit_pref = 1: they like small tits (A or smaller)
- !! if npc_tit_pref = 2: they like medium sized tits (B to C)
- !! if npc_tit_pref = 3: they like busty girls (D to E)
- !! if npc_tit_pref = 4: they like big fat titties (F+)
- npc_tit_pref[$npclastgenerated] = rand(0,4)
-
- !! npc_bush_pref determines an npcs preference for the player''s shaving habits
- !! if npc_bush_pref = 0: they don''t care
- !! if npc_bush_pref = 1: they prefer it cleanshaven
- !! if npc_bush_pref = 2: they like it trimmed or cleanshaven
- !! if npc_bush_pref = 3: they like it bushy
- npc_bush_pref[$npclastgenerated] = rand(0,3)
- !! if npc_smoker > 0: they smoke cigarettes
- npc_smoker[$npclastgenerated] = rand(0,2)
- !! if npc_mj = 1: they smoke weed
- !! if npc_mj = 2: they are a stoner
- !! 10% chance they will smoke weed at all, 5% chance total of being either kind of weed smoker
- if rand(1,10) = 10:
- npc_mj[$npclastgenerated] = rand(1,2)
- end
- !! we will skip addit for now, have a variable just for smoking
- !! npc_addit[$npclastgenerated] = rand(0,1)
- !! if npc_doors = 0: they have no preference on indoor or outdoor
- !! if npc_doors = 1: they like outdoor activities
- !! if npc_doors = 2: they like indoor activities
- npc_doors[$npclastgenerated] = rand(0,2)
-
- !! npc_goal is what they want out of a relationship
- !! 1 = just sex
- !! 2 = casual relationship
- !! 3 = serious relationship
- npc_goal[$npclastgenerated] = rand(1,3)
- !! npc_fidelity is how they will behave in a relationship
- !! 1-3 = will cheat on you
- !! 4-6 = will cheat on others with you
- !! 4 = cheats on them with you for the first time
- !! 5 = has been cheating and feels guilty
- !! 6 = is a serial cheater with no guilt
- !! 7 = is fine with open relationship
- !! 8-10 = will be faithful
- if npc_fidelity[$npclastgenerated] >= 8:
- $npc_fidelity[$npclastgenerated] = 'faithful'
- elseif npc_fidelity[$npclastgenerated] = 7:
- $npc_fidelity[$npclastgenerated] = 'open'
- elseif npc_fidelity[$npclastgenerated] >= 4:
- $npc_fidelity[$npclastgenerated] = 'seduced'
- elseif npc_fidelity[$npclastgenerated] >= 1:
- $npc_fidelity[$npclastgenerated] = 'cheater'
- end
- !! 4 = is a serial cheater with no guilt
- !! 5 = has been cheating and feels guilty
- !! 6 = cheats on them with you for the first time
- if npc_fidelity[$npclastgenerated] >= 4 and npc_fidelity[$npclastgenerated] <= 6: npc_girlfriend[$npclastgenerated] = rand(0,1)
- !! initialise lover length in days
- npc_lover_days[$npclastgenerated] = 0
- !! if npc_lover_keys = 1: the player has keys to their apartment and can access it whenever they want
- npc_lover_keys[$npclastgenerated] = 0
-
- !! quirk/trait generation
- if rand(0,2) > 0:
- if rand(0,1) = 1:
- npc_earlyriser[$npclastgenerated] = 1
- npc_latesleeper[$npclastgenerated] = 0
- else
- npc_latesleeper[$npclastgenerated] = 1
- npc_earlyriser[$npclastgenerated] = 0
- end
- end
-
- if rand(0,2) > 0:
- if rand(0,1) = 1:
- npc_generous[$npclastgenerated] = 1
- npc_selfish[$npclastgenerated] = 0
- else
- npc_selfish[$npclastgenerated] = 1
- npc_generous[$npclastgenerated] = 0
- end
- end
-
-
- !! if npc_argumentative = 1:, they will get into more arguments with you about things
- !! it is also harder to persuade them
- npc_argumentative[$npclastgenerated] = rand(0,2)
-
- !! how easy or difficult it is to persuade them into doing something
- npc_willpwr[$npclastgenerated] = rand(1,50)
- npc_willpwr[$npclastgenerated] += npc_argumentative[$npclastgenerated] * 10
-
- !! if npc_competitive = 1: they are overly competitive in contests against you or others
- npc_competitive[$npclastgenerated] = rand(-1,1)
-
- !! if npc_insecure = 1: they are insecure in their masculinity and won''t respond well to teasing
- npc_insecure[$npclastgenerated] = rand(-1,1)
-
- if rand(0,1) = 1:
- !! if npc_condom_conscious = 1: they will use condoms but can be talked out of it
- !! if npc_condom_conscious = 2: they will always insist on using condoms unless you are in a committed relationship
- npc_condom_conscious[$npclastgenerated] = rand(-2,2)
- else
- !! if npc_no_condoms = 1: they have a preference for skipping condoms but can be talked into using one
- !! if npc_no_condoms = 2: they will never use a condom no matter what
- npc_no_condoms[$npclastgenerated] = rand(-2,2)
- end
-
- !! if npc_caretaker = 1: they will frequently show love through acts of service
- !! example: making you breakfast in bed
- if npc_selfish[$npclastgenerated] ! 1: npc_caretaker[$npclastgenerated] = rand(-3,1)
-
- !! npc_childfree determines that they never want to have kids and will react poorly to pregnancy related topics
- npc_childfree[$npclastgenerated] = rand(-3,1)
-
- !! if npc_abusive = 1: the npc will be abusive
- npc_abusive[$npclastgenerated] = rand(-3,1)
-
- !! if npc_sexdrive determines how likely the npc will be to engage in sexual behavior and how many times they can orgasm in a single sexual encounter
- npc_sexdrive[$npclastgenerated] = rand(1,10)
-
- !! if npc_pussyeater = 1: they have a fetish for eating pussy
- npc_pussyeater[$npclastgenerated] = rand(-2,1)
-
- !! if npc_cuddler = 1: the npc likes to cuddle
- npc_cuddler[$npclastgenerated] = rand(-1,1)
-
- !! if npc_cum_cannon = 1: the npc ejaculates particularly large loads
- npc_cum_cannon[$npclastgenerated] = rand(-3,1)
-
- !! if npc_two_pump = 1: the npc will always cum immediately in the first penetration act of sex
- npc_two_pump[$npclastgenerated] = rand(-5,1)
- !! Variable clean up
- killvar '$npctempgn'
- killvar 'npctempc1'
- killvar 'npctempc2'
- killvar 'npctempgsex'
- killvar '$npctempgn'
- killvar 'npctempgage'
- killvar '$npctemparrc'
- killvar 'temp_location'
- --- npcgeneratec ---------------------------------
|