Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rjw
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
Nebuchadnezzer2
rjw
Commits
65aada83
Commit
65aada83
authored
5 years ago
by
Ed86
Browse files
Options
Downloads
Patches
Plain Diff
fix for cum on body not being applied for futas
cum on body no longer applied on receiving slimes, goes into their food need
parent
d7cda3e2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Modules/SemenOverlay/SemenHelper.cs
+34
-6
34 additions, 6 deletions
Source/Modules/SemenOverlay/SemenHelper.cs
with
34 additions
and
6 deletions
Source/Modules/SemenOverlay/SemenHelper.cs
+
34
−
6
View file @
65aada83
...
...
@@ -361,12 +361,12 @@ namespace rjw
Pawn
giver
,
receiver
;
//dispenser of the seed
if
(
pawn
.
gender
==
Gender
.
Male
||
pawn
.
RaceProps
.
IsM
echanoid
||
xxx
.
is_insect
(
pawn
))
if
(
Genital_Helper
.
has_penis
(
pawn
)
||
xxx
.
is_m
echanoid
(
pawn
)
||
xxx
.
is_insect
(
pawn
))
{
giver
=
pawn
;
receiver
=
partner
;
}
else
if
(
partner
!=
null
&&
(
partner
.
gender
==
Gender
.
Male
||
partner
.
RaceProps
.
IsMechanoid
||
xxx
.
is_insect
(
partner
)))
else
if
(
partner
!=
null
&&
(
Genital_Helper
.
has_penis
(
partner
)
||
xxx
.
is_mechanoid
(
partner
)
||
xxx
.
is_insect
(
partner
)))
{
giver
=
partner
;
receiver
=
pawn
;
...
...
@@ -376,6 +376,9 @@ namespace rjw
return
;
}
//slimes do not waste fluids?
//if (xxx.is_slime(giver)) return;
//determine entity:
int
entityType
=
SemenHelper
.
CUM_NORMAL
;
if
(
xxx
.
is_mechanoid
(
giver
))
...
...
@@ -502,12 +505,37 @@ namespace rjw
if
(
cumAmount
>
0
)
{
SemenHelper
.
cumOn
(
giver
,
genitals
,
cumAmount
*
0.3f
,
giver
,
entityType
);
//cum on self - smaller amount
foreach
(
BodyPartRecord
bpr
in
targetParts
)
if
(
xxx
.
is_slime
(
receiver
))
{
//slime absorb cum
//this needs balancing, since cumamount ranges 0-10(?) which is fine for cum/hentai but not very realistic for feeding
//using TransferNutrition for now
//Log.Message("cumAmount " + cumAmount);
//float nutrition_amount = cumAmount/10;
Need_Food
need
=
need
=
giver
.
needs
.
TryGetNeed
<
Need_Food
>();
if
(
need
==
null
)
{
//Log.Message("xxx::TransferNutrition() " + xxx.get_pawnname(pawn) + " doesn't track nutrition in itself, probably shouldn't feed the others");
return
;
}
if
(
receiver
?.
needs
?.
TryGetNeed
<
Need_Food
>()
!=
null
)
{
//Log.Message("xxx::TransferNutrition() " + xxx.get_pawnname(partner) + " can receive");
float
nutrition_amount
=
Math
.
Min
(
need
.
MaxLevel
/
15f
,
need
.
CurLevel
);
//body size is taken into account implicitly by need.MaxLevel
receiver
.
needs
.
food
.
CurLevel
+=
nutrition_amount
;
}
}
else
{
if
(
bpr
!=
null
)
SemenHelper
.
cumOn
(
giver
,
genitals
,
cumAmount
*
0.3f
,
giver
,
entityType
);
//cum on self - smaller amount
foreach
(
BodyPartRecord
bpr
in
targetParts
)
{
SemenHelper
.
cumOn
(
receiver
,
bpr
,
cumAmount
,
giver
,
entityType
);
//cum on partner
if
(
bpr
!=
null
)
{
SemenHelper
.
cumOn
(
receiver
,
bpr
,
cumAmount
,
giver
,
entityType
);
//cum on partner
}
}
}
}
...
...
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