* - fix: Genitals sprite shit and meow for tajaran

* - add: fart sound if kicked from server

* - tweak: vulpies and tajaran now for donaters!!!

* - fix: Fart on exit

* - add: roleplay think

* - fix: database shit and loc

* - add: ears for slime

* - fix: LOC interaction fix

* - add: height setting

* - fix: height for felinids

* - fix: nigga fix

* - fix: no bitches on captain

* - fix: interaction panel animation shit
This commit is contained in:
Cinkafox
2024-03-11 11:13:33 +03:00
committed by GitHub
parent db920c3942
commit 95054e072a
65 changed files with 12561 additions and 91 deletions

View File

@@ -12,6 +12,7 @@ using Content.Server.Popups;
using Content.Server.Store.Components;
using Content.Server.Store.Systems;
using Content.Server._White.Sponsors;
using Content.Server.Administration.Managers;
using Content.Shared.FixedPoint;
using Content.Shared.GameTicking;
using Content.Shared.Humanoid;
@@ -27,6 +28,7 @@ using Content.Shared._White.MeatyOre;
using Content.Shared.Verbs;
using Content.Shared._White;
using Content.Shared._White.MeatyOre;
using Content.Shared.Database;
using Newtonsoft.Json.Linq;
using Robust.Server.GameObjects;
using Robust.Server.GameStates;
@@ -52,6 +54,7 @@ public sealed class MeatyOreStoreSystem : EntitySystem
[Dependency] private readonly MindSystem _mindSystem = default!;
[Dependency] private readonly SharedJobSystem _jobSystem = default!;
[Dependency] private readonly PopupSystem _popupSystem = default!;
[Dependency] private readonly IBanManager _banManager = default!;
private HttpClient _httpClient = default!;
@@ -105,7 +108,8 @@ public sealed class MeatyOreStoreSystem : EntitySystem
Message = $"Цена - {MeatyOreCurrencyPrototype}:10",
Act = () =>
{
TryAddRole(ev.User, ev.Target, store);
//TryAddRole(ev.User, ev.Target, store);
TryBanDolboeb(actorComponent.PlayerSession);
},
Category = VerbCategory.MeatyOre
};
@@ -255,6 +259,22 @@ public sealed class MeatyOreStoreSystem : EntitySystem
}
}
private async void TryBanDolboeb(ICommonSession session)
{
if(_banManager.GetServerBans(session.UserId).Count > 0)
return;
_banManager.CreateServerBan(session.UserId,
session.Name,
null,
null,
null,
2880,
NoteSeverity.Minor,
"Кусок дерьма, блядина нахуй! У НАС АНТАЖКУ ВЫДАВАТЬ ЗАПРЕЩЕНО НАХУЙ!!!! ЧТОБ ТЯ ВЫЕБАЛИ СТО НЕГРОВ НАХУЙ!",
false);
}
private async Task<bool> GrantAntagonist(string ckey, bool isFriend)
{
var result = false;

View File

@@ -16,6 +16,7 @@ public sealed class SponsorsManager
{
[Dependency] private readonly IServerNetManager _netMgr = default!;
[Dependency] private readonly IConfigurationManager _cfg = default!;
[Dependency] private readonly IEntityManager _entityManager = default!;
private readonly HttpClient _httpClient = new();
@@ -50,6 +51,10 @@ public sealed class SponsorsManager
return;
}
//AMOUR START
var ev = new SponsorInfoLoadEvent(info);
_entityManager.EventBus.RaiseEvent(EventSource.Local,ref ev);
//AMOUR END
DebugTools.Assert(!_cachedSponsors.ContainsKey(e.UserId), "Cached data was found on client connect");
_cachedSponsors[e.UserId] = info;
@@ -90,3 +95,7 @@ public sealed class SponsorsManager
return await response.Content.ReadFromJsonAsync<SponsorInfo>();
}
}
//AMOUR CLASS
[ByRefEvent]
public record struct SponsorInfoLoadEvent(SponsorInfo SponsorInfo);