123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- # NPCChanger
- if $ARGS[0] = 'Start':
- n = 1
- o = 10
- gs 'NPCChanger', 'NPCLoop'
- end
- if $ARGS[0] = 'NPCLoop':
- *clr & cla
- gs 'obj_din', 'cheattabs'
- '<center><h2>Cheat Menu - NPC Editor</h2></center>'
- '<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
- '<td width="400" cellspacing="0" cellpadding="20" valign="top">'
- '*** THIS IS A WORK IN PROGRESS ***'
- if n = 0:
- n = 1
- o = 10
- end
- :LoopNPC
- if o > aarraynumber:
- o = aarraynumber
- end
- if n =< o:
- gs 'NPCChanger', 'npcdisplay'
- n +=1
- jump 'LoopNPC'
- end
- '<hr>'
- !!*nl 'o = <<o>> & n = <<n>>'
- *p '<a href="exec:gt ''NPCChanger'', ''next10'' ">Next 10</a> '
- *p '<a href="exec:gt ''NPCChanger'', ''back10'' ">Previous 10</a> '
- *nl
- *p '<a href="exec:gt ''NPCChanger'', ''next50'' ">Skip 50</a> '
- *p '<a href="exec:gt ''NPCChanger'', ''back50'' ">Back 50</a> '
- *nl
- *p '<a href="exec:gt ''NPCChanger'', ''selection'' ">Select an NPC to modify</a>'
- *nl '*** THIS IS A WORK IN PROGRESS ***'
- '</td></tr></table></center>'
- end
- if $ARGS[0] = 'next10':
- o += 10
- gs 'NPCChanger', 'NPCLoop'
- end
- if $ARGS[0] = 'next50':
- o += 50
- n = (o - 10)
- gs 'NPCChanger', 'NPCLoop'
- end
- if $ARGS[0] = 'back10':
- o -= 10
- n = (o - 10)
- gs 'NPCChanger', 'NPCLoop'
- end
- if $ARGS[0] = 'back50':
- o -= 50
- n = (o - 10)
- gs 'NPCChanger', 'NPCLoop'
- end
- if $ARGS[0] = 'npcdisplay':
- *nl 'NPC[A<<n>>] = '
- if isnum($npc_firstname['A<<n>>']):
- *p ''
- else
- *p $npc_firstname['A<<n>>']
- end
- if $npc_firstname['A<<n>>'] = $npc_nickname['A<<n>>'] or isnum($npc_nickname['A<<n>>']):
- *p''
- else
- *p ' "<<$npc_nickname[''A<<n>>'']>>"'
- end
- if isnum($npc_lastname['a<<n>>']):
- *p ''
- else
- *p ' <<$npc_lastname[''A<<n>>'']>>'
- end
- end
- if $ARGS[0] = 'selection':
- s = val(input("Which NPC do you want to edit? Enter #"))
- !!*clr & cla
- if s = 0:
- n = (o - 10)
- gt 'NPCChanger', 'NPCLoop'
- else
- gt 'NPCChanger', 'selection2'
- end
- end
- if $ARGS[0] = 'selection2':
- 'NPC first name: <<$npc_firstname[''A<<s>>'']>> <a href="exec:gt ''NPCChanger'', ''editf''">Change</a>'
- 'NPC nickname: <<$npc_nickname[''A<<s>>'']>> <a href="exec:gt ''NPCChanger'', ''editn''">Change</a>'
- 'NPC last name: <<$npc_lastname[''A<<s>>'']>> <a href="exec:gt ''NPCChanger'', ''editl''">Change</a>'
- 'NPC used name: <<$npc_usedname[''A<<s>>'']>> <a href="exec:gt ''NPCChanger'', ''editu''">Change</a>'
- 'NPC date of birth: <<npc_dob[''A<<s>>'']>> <a href="exec:gt ''NPCChanger'', ''editd''">Change</a>'
- 'NPC DNA: <<$npc_dna[''A<<s>>'']>>'
- 'NPC description: <<$npc_notes[''A<<s>>'']>>'
- if npc_gender['A<<s>>'] = 0:
- 'NPC gender: Male'
- 'NPC dick length: <<npc_dick[''A<<s>>'']>>cm'
- 'NPC dick description: <<$npc_thdick[''A<<s>>'']>>'
- else
- 'NPC gender: Female'
- end
- act 'Done':
- n = (o - 10)
- gt 'NPCChanger', 'NPCLoop'
- end
- end
- if $ARGS[0] = 'editf':
- $npc_firstname['A<<s>>'] = input('Enter new first name')
- gt 'NPCChanger', 'selection2'
- end
- if $ARGS[0] = 'editn':
- $npc_nickname['A<<s>>'] = input('Enter new nickname')
- gt 'NPCChanger', 'selection2'
- end
- if $ARGS[0] = 'editl':
- $npc_lastname['A<<s>>'] = input('Enter new last name')
- gt 'NPCChanger', 'selection2'
- end
- if $ARGS[0] = 'editu':
- $npc_usedname['A<<s>>'] = input('Enter new used name')
- gt 'NPCChanger', 'selection2'
- end
- if $ARGS[0] = 'editd':
- npc_dob['A<<s>>'] = input('Enter new date of birth (yyyymmdd)')
- gt 'NPCChanger', 'selection2'
- end
- --- NPCChanger ---------------------------------
|