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
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
nnasidahbs
rjw
Commits
35a48ab6
Commit
35a48ab6
authored
5 years ago
by
Ed86
Browse files
Options
Downloads
Patches
Plain Diff
comps from wip_sizes
parent
893ba086
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Source/Comps/CompRJWHediffBodyPart.cs
+121
-0
121 additions, 0 deletions
Source/Comps/CompRJWHediffBodyPart.cs
Source/Comps/CompRJWThingBodyPart.cs
+92
-0
92 additions, 0 deletions
Source/Comps/CompRJWThingBodyPart.cs
with
213 additions
and
0 deletions
Source/Comps/CompRJWHediffBodyPart.cs
0 → 100644
+
121
−
0
View file @
35a48ab6
using
System.Text
;
using
Verse
;
namespace
rjw
{
public
class
CompHediffBodyPart
:
HediffComp
{
/// <summary>
/// Comp for rjw Thing parts.
/// </summary>
public
string
Size
=
""
;
//eventually replace with below, maybe
//public float Size;
//public float Lenghth;
//public float Width;
public
string
Eggs
=
""
;
//for ovi eggs, maybe
public
string
FluidType
=
""
;
//cummies/milk - insectjelly/honey etc
public
string
FluidAmmount
=
""
;
//ammount of Milk/Ejaculation/Wetness
public
override
string
CompLabelInBracketsExtra
{
get
{
if
(
Size
!=
""
)
return
Size
;
return
null
;
}
}
public
override
void
CompExposeData
()
{
base
.
CompExposeData
();
Scribe_Values
.
Look
(
ref
Size
,
"Size"
,
""
,
true
);
Scribe_Values
.
Look
(
ref
FluidType
,
"FluidType"
,
""
,
true
);
Scribe_Values
.
Look
(
ref
FluidAmmount
,
"FluidAmmount"
,
""
,
true
);
Scribe_Values
.
Look
(
ref
Eggs
,
"Eggs"
,
""
,
true
);
}
public
override
void
CompPostMake
()
{
//Log.Message("[RJW] CompPostMake " + xxx.get_pawnname(Pawn) + " " + parent.def.defName);
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"breasts"
)
||
parent
.
def
.
defName
.
ToLower
().
Contains
(
"udder"
))
{
FluidType
=
"Milk"
;
FluidAmmount
=
"Average"
;
Size
=
"Average"
;
}
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"penis"
)
||
parent
.
def
.
defName
.
ToLower
().
Contains
(
"vagina"
))
{
FluidType
=
"Cum"
;
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"penis"
))
FluidAmmount
=
"Average"
;
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"vagina"
))
FluidAmmount
=
"Average"
;
Size
=
"Average"
;
}
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"anus"
))
{
FluidType
=
"Dry"
;
FluidAmmount
=
""
;
Size
=
"Average"
;
}
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"ovi"
))
{
Eggs
=
Pawn
.
kindDef
.
race
.
label
;
}
}
public
override
string
CompTipStringExtra
{
get
{
//Log.Message("[RJW] CompTipStringExtra " + xxx.get_pawnname(Pawn) + " " + parent.def.defName);
StringBuilder
stringBuilder
=
new
StringBuilder
();
//if (parent.def.defName.ToLower().Contains("breasts") || parent.def.defName.ToLower().Contains("udder"))
//{
// if (FluidType != "")
// stringBuilder.AppendLine("Milk: " + FluidType);
// if (FluidAmmount != "")
// stringBuilder.AppendLine("Amount: " + FluidAmmount);
// if (Size != "")
// stringBuilder.AppendLine("Size: " + Size);//convert to Cups
//}
//if (parent.def.defName.ToLower().Contains("penis") || parent.def.defName.ToLower().Contains("vagina"))
//{
// if (FluidType != "")
// stringBuilder.AppendLine("Cum: " + FluidType);
// if (FluidAmmount != "")
// {
// if (parent.def.defName.ToLower().Contains("penis"))
// stringBuilder.AppendLine("Ejaculation: " + FluidAmmount);
// if (parent.def.defName.ToLower().Contains("vagina"))
// stringBuilder.AppendLine("Wetness: " + FluidAmmount);
// }
// if (Size != "")
// stringBuilder.AppendLine("Size: " + Size);//convert to LxW
//}
//if (parent.def.defName.ToLower().Contains("anus"))
//{
// if (FluidType != "")
// {
// stringBuilder.AppendLine("Lube: " + FluidType);
// if (parent.def.defName.ToLower().Contains("anus"))
// stringBuilder.AppendLine("Wetness: " + FluidAmmount);
// }
// if (Size != "")
// stringBuilder.AppendLine("Size: " + Size);//convert to LxW someday
//}
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"ovi"
))
{
if
(
Eggs
!=
""
)
stringBuilder
.
AppendLine
(
"Eggs: "
+
Eggs
);
}
return
stringBuilder
.
ToString
();
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Source/Comps/CompRJWThingBodyPart.cs
0 → 100644
+
92
−
0
View file @
35a48ab6
using
System.Text
;
using
Verse
;
namespace
rjw
{
public
class
CompThingBodyPart
:
ThingComp
{
/// <summary>
/// Comp for rjw Thing parts.
/// </summary>
public
string
Size
=
""
;
//eventually replace with below, maybe
//public float Size;
//public float Lenghth;
//public float Width;
public
string
Eggs
=
""
;
//for ovi eggs, maybe
public
string
FluidType
=
""
;
//cummies/milk - insectjelly/honey etc
public
string
FluidAmmount
=
""
;
//ammount of Milk/Ejaculation/Wetness
//public override string CompInspectStringExtra()
//{
// return Translator.Translate("Size") + ": " + Size;
//}
//public override string TransformLabel(string label)
//{
// if (Size != "")
// return label + " (" + Size + ")";
// return label;
//}
public
override
string
GetDescriptionPart
()
{
StringBuilder
stringBuilder
=
new
StringBuilder
();
stringBuilder
.
AppendLine
(
base
.
GetDescriptionPart
());
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"breasts"
)
||
parent
.
def
.
defName
.
ToLower
().
Contains
(
"udder"
))
{
//if (FluidType == "")
//{
// FluidType = "Milk";
// FluidAmmount = "none";
//}
//stringBuilder.AppendLine("Milk: " + FluidType);
//stringBuilder.AppendLine("Amount: " + FluidAmmount);
if
(
Size
==
""
)
{
Size
=
"Average"
;
}
stringBuilder
.
AppendLine
(
"Size: "
+
Size
);
//convert to Cups
}
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"penis"
)
||
parent
.
def
.
defName
.
ToLower
().
Contains
(
"vagina"
))
{
//if (FluidType == "")
//{
// FluidType = "Cum";
// FluidAmmount = "Average";
//}
//stringBuilder.AppendLine("Cum: " + FluidType);
//if (parent.def.defName.ToLower().Contains("penis"))
// stringBuilder.AppendLine("Ejaculation: " + FluidAmmount);
//if (parent.def.defName.ToLower().Contains("vagina"))
// stringBuilder.AppendLine("Wetness: " + FluidAmmount);
if
(
Size
==
""
)
{
Size
=
"Average"
;
}
stringBuilder
.
AppendLine
(
"Size: "
+
Size
);
//convert to LxW
}
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"anus"
))
{
//if (FluidType == "")
//{
// FluidType = "Dry";
// FluidAmmount = "Dry";
//}
if
(
Size
==
""
)
{
Size
=
"Average"
;
}
stringBuilder
.
AppendLine
(
"Size: "
+
Size
);
//convert to LxW
}
if
(
parent
.
def
.
defName
.
ToLower
().
Contains
(
"ovi"
))
if
(
Eggs
!=
""
)
stringBuilder
.
AppendLine
(
"Eggs: "
+
Eggs
);
return
stringBuilder
.
ToString
();
}
}
}
\ No newline at end of file
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