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
d72d81c5
Commit
d72d81c5
authored
5 years ago
by
oniAnon
Browse files
Options
Downloads
Patches
Plain Diff
Updated rulesAutosurgery.js
Moved the operations from commit 4886 from DefaultRules to RulesAutoSurgery.
parent
4a5091f1
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/js/rulesAutosurgery.js
+40
-0
40 additions, 0 deletions
src/js/rulesAutosurgery.js
with
40 additions
and
0 deletions
src/js/rulesAutosurgery.js
+
40
−
0
View file @
d72d81c5
...
@@ -435,6 +435,46 @@ window.rulesAutosurgery = (function() {
...
@@ -435,6 +435,46 @@ window.rulesAutosurgery = (function() {
V
.
surgeryType
=
"
bellyOut
"
;
V
.
surgeryType
=
"
bellyOut
"
;
}
}
}
}
if
(
slave
.
health
>
20
&&
surgeries
.
length
<
3
)
{
if
(
slave
.
horn
!==
"
none
"
&&
thisSurgery
.
horn
===
1
)
{
commitProcedure
(
`surgery to remove
${
his
}
implanted horns`
,
s
=>
{
s
.
horn
=
"
none
"
;
});
}
else
if
(
slave
.
horn
!==
"
curved succubus horns
"
&&
thisSurgery
.
horn
===
2
)
{
commitProcedure
(
`surgery to implant
${
his
}
with curved succubus horns`
,
s
=>
{
s
.
horn
=
"
curved succubus horns
"
;
s
.
hornColor
=
"
white
"
;
});
}
else
if
(
slave
.
horn
!==
"
backswept horns
"
&&
thisSurgery
.
horn
===
3
)
{
commitProcedure
(
`surgery to implant
${
his
}
with backswept horns`
,
s
=>
{
s
.
horn
=
"
backswept horns
"
;
s
.
hornColor
=
"
white
"
;
});
}
else
if
(
slave
.
horn
!==
"
cow horns
"
&&
thisSurgery
.
horn
===
4
)
{
commitProcedure
(
`surgery to implant
${
his
}
with cow horns`
,
s
=>
{
s
.
horn
=
"
cow horns
"
;
s
.
hornColor
=
"
white
"
;
});
}
else
if
(
slave
.
horn
!==
"
one long oni horn
"
&&
thisSurgery
.
horn
===
5
)
{
commitProcedure
(
`surgery to implant
${
his
}
with one long oni horn`
,
s
=>
{
s
.
horn
=
"
one long oni horn
"
;
s
.
hornColor
=
"
white
"
;
});
}
else
if
(
slave
.
horn
!==
"
two long oni horns
"
&&
thisSurgery
.
horn
===
6
)
{
commitProcedure
(
`surgery to implant
${
his
}
with`
,
s
=>
{
s
.
horn
=
"
two long oni horns
"
;
s
.
hornColor
=
"
white
"
;
});
}
else
if
(
slave
.
horn
!==
"
small horns
"
&&
thisSurgery
.
horn
===
7
)
{
commitProcedure
(
`surgery to implant
${
his
}
with`
,
s
=>
{
s
.
horn
=
"
small horns
"
;
s
.
hornColor
=
"
white
"
;
});
}
}
if
(
slave
.
health
>
20
&&
surgeries
.
length
<
3
)
{
if
(
slave
.
earShape
!==
"
normal
"
&&
thisSurgery
.
earShape
===
1
)
{
commitProcedure
(
`surgery to restore
${
his
}
modified ears`
,
s
=>
{
s
.
earShape
=
"
normal
"
;
});
}
else
if
(
slave
.
earShape
!==
"
pointy
"
&&
thisSurgery
.
earShape
===
2
)
{
commitProcedure
(
`surgery to modify
${
his
}
ears into a pair of small pointy ears`
,
s
=>
{
s
.
earShape
=
"
pointy
"
;
});
}
else
if
(
slave
.
earShape
!==
"
elven
"
&&
thisSurgery
.
earShape
===
3
)
{
commitProcedure
(
`surgery to modify
${
his
}
ears into a pair of elven ears`
,
s
=>
{
s
.
earShape
=
"
elven
"
;
});
}
else
if
(
slave
.
earShape
!==
"
ushi
"
&&
thisSurgery
.
earShape
===
4
)
{
commitProcedure
(
`surgery to modify
${
his
}
ears into a pair of bovine-like ears`
,
s
=>
{
s
.
earShape
=
"
ushi
"
;
});
}
}
}
}
/**
/**
...
...
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