Skip to content

Commit 9f18bde

Browse files
вырезал яблоки
1 parent bc09fdf commit 9f18bde

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

races.cs

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -138,37 +138,6 @@ public static void Main()
138138
}
139139
});
140140
ModAPI.RegisterLiquid(aAppleJuice.AppleJuice.ID, new aAppleJuice.AppleJuice());
141-
ModAPI.Register(
142-
new Modification()
143-
{
144-
OriginalItem = ModAPI.FindSpawnable("Human"),
145-
NameOverride = "Apple -Races",
146-
DescriptionOverride = "Apple!",
147-
CategoryOverride = ModAPI.FindCategory("Entities"),
148-
ThumbnailOverride = ModAPI.LoadSprite("AppleThumb.png"),
149-
AfterSpawn = (Instance) =>
150-
{
151-
var skin = ModAPI.LoadTexture("Apple.png");
152-
var flesh = ModAPI.LoadTexture("AppleFlesh.png");
153-
var bone = ModAPI.LoadTexture("AppleSkeleton.png");
154-
var person = Instance.GetComponent<PersonBehaviour>();
155-
person.SetBodyTextures(skin, flesh, bone, 1);
156-
person.SetBruiseColor(84, 36, 20); //main bruise colour. purple-ish by default
157-
person.SetSecondBruiseColor(84, 36, 20); //second bruise colour. red by default
158-
person.SetThirdBruiseColor(84, 36, 20);
159-
foreach (var body in person.Limbs)
160-
{
161-
body.RegenerationSpeed = 10f;
162-
body.DiscomfortingHeatTemperature = 40f;
163-
body.FreezingTemperature = -50f;
164-
body.BodyTemperature = 0f;
165-
body.Vitality *= 1.5f;
166-
body.BloodLiquidType = "APPLEJUICE";
167-
body.CirculationBehaviour.ClearLiquid();
168-
body.CirculationBehaviour.AddLiquid(Liquid.GetLiquid("APPLEJUICE"), 1f);
169-
};
170-
}
171-
});
172141
ModAPI.RegisterLiquid(aCucumberJuice.CucumberJuice.ID, new aCucumberJuice.CucumberJuice());
173142
ModAPI.Register(
174143
new Modification()

0 commit comments

Comments
 (0)