Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
macaronideath
fc-pregmod
Commits
c6fa4376
Commit
c6fa4376
authored
4 years ago
by
lowercasedonkey
Browse files
Options
Downloads
Patches
Plain Diff
improve handling of lastname
parent
2f203a7f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/events/intro/pcAppearance.js
+11
-10
11 additions, 10 deletions
src/events/intro/pcAppearance.js
with
11 additions
and
10 deletions
src/events/intro/pcAppearance.js
+
11
−
10
View file @
c6fa4376
...
@@ -65,17 +65,18 @@ App.UI.Player.names = function(options) {
...
@@ -65,17 +65,18 @@ App.UI.Player.names = function(options) {
if
(
V
.
cheatMode
)
{
if
(
V
.
cheatMode
)
{
options
.
addOption
(
"
Birth Name
"
,
"
birthName
"
,
V
.
PC
).
showTextBox
();
options
.
addOption
(
"
Birth Name
"
,
"
birthName
"
,
V
.
PC
).
showTextBox
();
options
.
addOption
(
"
Surname
"
,
"
slaveSurname
"
,
V
.
PC
).
showTextBox
();
}
options
.
addOption
(
"
Birth Surname
"
,
"
birthSurname
"
,
V
.
PC
).
showTextBox
();
if
(
V
.
PC
.
slaveSurname
===
0
)
{
options
.
addOption
(
"
And no surname
"
,
"
slaveSurname
"
,
V
.
PC
)
.
addValue
(
"
Add a surname
"
,
"
Anon
"
)
.
addComment
(
"
Surnames cannot be changed during the game outside of special circumstances.
"
);
}
else
{
}
else
{
if
(
V
.
PC
.
slaveSurname
===
0
)
{
options
.
addOption
(
"
And your surname is
"
,
"
slaveSurname
"
,
V
.
PC
).
showTextBox
()
options
.
addOption
(
"
And no surname
"
,
"
slaveSurname
"
,
V
.
PC
)
.
addValue
(
"
Go by a single name
"
,
0
)
.
addValue
(
"
Add a surname
"
,
"
Anon
"
)
.
addComment
(
"
Surnames cannot be changed during the game outside of special circumstances.
"
);
.
addComment
(
"
Surnames cannot be changed during the game outside of special circumstances.
"
);
if
(
V
.
cheatMode
)
{
}
else
{
options
.
addOption
(
"
Birth Surname
"
,
"
birthSurname
"
,
V
.
PC
).
showTextBox
();
options
.
addOption
(
"
And your surname is
"
,
"
slaveSurname
"
,
V
.
PC
).
showTextBox
()
.
addValue
(
"
Go by a single name
"
,
0
)
.
addComment
(
"
Surnames cannot be changed during the game outside of special circumstances.
"
);
}
}
}
}
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment