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
Container Registry
Model registry
Operate
Environments
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
pregmodfan
fc-pregmod
Commits
1e387bdc
Commit
1e387bdc
authored
4 years ago
by
Arkerthan
Browse files
Options
Downloads
Patches
Plain Diff
dom passages consistent formatting
parent
04ce6bfb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!8522
Convert all possible passages to pure JS
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/005-passages/eventsPassages.js
+2
-1
2 additions, 1 deletion
src/005-passages/eventsPassages.js
src/005-passages/facilitiesPassages.js
+7
-5
7 additions, 5 deletions
src/005-passages/facilitiesPassages.js
src/005-passages/optionsPassages.js
+2
-4
2 additions, 4 deletions
src/005-passages/optionsPassages.js
with
11 additions
and
10 deletions
src/005-passages/eventsPassages.js
+
2
−
1
View file @
1e387bdc
...
...
@@ -32,7 +32,8 @@ new App.DomPassage("SE pc birthday", () => App.Events.pcBirthday.runEvent());
/* ### Non Random Events ### */
new
App
.
DomPassage
(
"
Murder Attempt
"
,
()
=>
{
new
App
.
DomPassage
(
"
Murder Attempt
"
,
()
=>
{
if
(
V
.
event
===
"
slave trade
"
)
{
return
App
.
Events
.
murderAttemptFollowup
(
"
slave
"
,
V
.
illegalDeals
.
slave
.
company
,
V
.
illegalDeals
.
slave
.
type
);
}
else
if
(
V
.
event
===
"
trade deal
"
)
{
...
...
This diff is collapsed.
Click to expand it.
src/005-passages/facilitiesPassages.js
+
7
−
5
View file @
1e387bdc
...
...
@@ -61,8 +61,10 @@ new App.DomPassage("Agent Select",
},
[
"
jump-from-safe
"
]
);
new
App
.
DomPassage
(
"
Rules Assistant
"
,
()
=>
{
const
div
=
document
.
createElement
(
"
div
"
);
App
.
RA
.
options
(
div
);
return
div
;
},
[
"
jump-to-safe
"
,
"
jump-from-safe
"
]);
new
App
.
DomPassage
(
"
Rules Assistant
"
,
()
=>
{
const
div
=
document
.
createElement
(
"
div
"
);
App
.
RA
.
options
(
div
);
return
div
;
},
[
"
jump-to-safe
"
,
"
jump-from-safe
"
]
);
This diff is collapsed.
Click to expand it.
src/005-passages/optionsPassages.js
+
2
−
4
View file @
1e387bdc
...
...
@@ -27,8 +27,7 @@ new App.DomPassage("Description Options",
V
.
nextLink
=
V
.
storedLink
;
return
App
.
UI
.
descriptionOptions
();
},
[
"
jump-to-safe
"
,
"
jump-from-safe
"
]
},
[
"
jump-to-safe
"
,
"
jump-from-safe
"
]
);
new
App
.
DomPassage
(
"
Summary Options
"
,
...
...
@@ -45,8 +44,7 @@ new App.DomPassage("Summary Options",
V
.
passageSwitchHandler
=
App
.
EventHandlers
.
optionsChanged
;
return
App
.
UI
.
summaryOptions
();
},
[
"
jump-to-safe
"
,
"
jump-from-safe
"
]
},
[
"
jump-to-safe
"
,
"
jump-from-safe
"
]
);
new
App
.
DomPassage
(
"
Hotkey Settings
"
,
...
...
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