Дрд соси мои яйца
This commit is contained in:
@@ -1,18 +1,17 @@
|
|||||||
using Content.Server.Chat.Systems;
|
using Content.Server.Chat.Systems;
|
||||||
using Content.Server.Chemistry.Containers.EntitySystems;
|
|
||||||
using Content.Server.Fluids.EntitySystems;
|
|
||||||
using Content.Shared._Honk.Cunt;
|
using Content.Shared._Honk.Cunt;
|
||||||
using Content.Shared.Chemistry.Components;
|
using Content.Shared.Chemistry.Components;
|
||||||
using Content.Shared.FixedPoint;
|
using Content.Shared.Chemistry.EntitySystems;
|
||||||
using Robust.Shared.Timing;
|
using Content.Shared.Fluids;
|
||||||
|
|
||||||
namespace Content.Server._Honk.Cunt;
|
namespace Content.Server._Honk.Count;
|
||||||
|
|
||||||
|
// ДРД ИДИ НАХУЙ!!!!!!!!!!!!!!!!!!!!!
|
||||||
public sealed class CuntSystem : EntitySystem
|
public sealed class CuntSystem : EntitySystem
|
||||||
{
|
{
|
||||||
[Dependency] private readonly PuddleSystem _puddle = default!;
|
[Dependency] private readonly SharedPuddleSystem _puddle = default!;
|
||||||
[Dependency] private readonly IGameTiming _timing = default!;
|
//[Dependency] private readonly IGameTiming _timing = default!;
|
||||||
[Dependency] private readonly SolutionContainerSystem _solutionContainer = default!;
|
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainer = default!;
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
@@ -23,8 +22,7 @@ public sealed class CuntSystem : EntitySystem
|
|||||||
|
|
||||||
private void OnStartup(EntityUid uid, CuntableComponent component, ComponentStartup args)
|
private void OnStartup(EntityUid uid, CuntableComponent component, ComponentStartup args)
|
||||||
{
|
{
|
||||||
var cuntSolution = _solutionContainer.EnsureSolution(uid, CuntableComponent.CuntSolutionName);
|
_solutionContainer.EnsureSolution(uid, "Cunt" , out _);
|
||||||
cuntSolution.MaxVolume = 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnCunt(EntityUid uid, CuntableComponent component, ref EmoteEvent args)
|
private void OnCunt(EntityUid uid, CuntableComponent component, ref EmoteEvent args)
|
||||||
@@ -41,14 +39,16 @@ public sealed class CuntSystem : EntitySystem
|
|||||||
if (!Resolve(uid, ref component))
|
if (!Resolve(uid, ref component))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if(!_solutionContainer.TryGetSolution(uid,CuntableComponent.CuntSolutionName,out var cuntSolution))
|
if(!_solutionContainer.TryGetSolution(uid,CuntableComponent.CuntSolutionName,out var solution))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if(cuntSolution.Volume < 5)
|
if (solution.Value != default)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
_puddle.TrySpillAt(uid, cuntSolution, out _);
|
var cum = new Solution("Cunt", 5);
|
||||||
_solutionContainer.SplitSolution(uid,cuntSolution,50);
|
|
||||||
|
_puddle.TrySpillAt(uid, cum, out _);
|
||||||
|
_solutionContainer.SplitSolution(uid!, 50);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -60,14 +60,16 @@ public sealed class CuntSystem : EntitySystem
|
|||||||
|
|
||||||
if (_solutionContainer.TryGetSolution(uid, CuntableComponent.CuntSolutionName, out var solution))
|
if (_solutionContainer.TryGetSolution(uid, CuntableComponent.CuntSolutionName, out var solution))
|
||||||
{
|
{
|
||||||
if (solution.AvailableVolume <= FixedPoint2.Zero)
|
if (solution.Value != default)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var generated = new Solution("Cunt", 2);
|
var generated = new Solution("Cunt", 2);
|
||||||
|
|
||||||
_solutionContainer.TryAddSolution(uid, solution, generated);
|
_solutionContainer.AddSolution(uid!, generated);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Я хуй знает что оно делает
|
||||||
//public override void Update(float frameTime)
|
//public override void Update(float frameTime)
|
||||||
//{
|
//{
|
||||||
// base.Update(frameTime);
|
// base.Update(frameTime);
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
- type: emote
|
- type: emote
|
||||||
id: Squelch
|
id: Squelch
|
||||||
category: Gesture
|
|
||||||
buttonText: Кончать
|
buttonText: Кончать
|
||||||
chatMessages: [ кончает ]
|
chatMessages: [ кончает ]
|
||||||
chatTriggers:
|
chatTriggers:
|
||||||
|
|||||||
Reference in New Issue
Block a user