Всякое (#96)
* - tweak: Pull eaxe from uplink. * - tweak: Nerf spear. * - tweak: Give sec hardsuits heat resist. * - tweak: Revert mistakes. * - tweak: No discounts for nukies. * - tweak: Nerf hardsuit prices. * - fix: Fix cult chat whisper.
This commit is contained in:
@@ -21,7 +21,6 @@ using Content.Shared.Input;
|
||||
using Content.Shared.Radio;
|
||||
using Content.Shared._White;
|
||||
using Content.Shared._White.Utils;
|
||||
using Content.Shared._White.Cult;
|
||||
using Content.Shared._White.Cult.Systems;
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Client.Input;
|
||||
@@ -54,7 +53,6 @@ public sealed class ChatUIController : UIController
|
||||
[Dependency] private readonly IGameTiming _timing = default!;
|
||||
[Dependency] private readonly IReplayRecordingManager _replayRecording = default!;
|
||||
[Dependency] private readonly IConfigurationManager _cfg = default!;
|
||||
[Dependency] private readonly CultistWordGeneratorManager _wordGenerator = default!;
|
||||
[Dependency] private readonly IEntityManager _entities = default!;
|
||||
|
||||
[UISystemDependency] private readonly ExamineSystem? _examine = default;
|
||||
@@ -850,13 +848,6 @@ public sealed class ChatUIController : UIController
|
||||
AddSpeechBubble(msg, SpeechBubble.SpeechType.Whisper);
|
||||
break;
|
||||
|
||||
// WD EDIT
|
||||
case ChatChannel.Cult:
|
||||
msg.Message = _wordGenerator.GenerateText(msg.Message);
|
||||
AddSpeechBubble(msg, SpeechBubble.SpeechType.Whisper);
|
||||
break;
|
||||
// WD EDIT END
|
||||
|
||||
case ChatChannel.Dead:
|
||||
if (_ghost is not {IsGhost: true})
|
||||
break;
|
||||
|
||||
@@ -27,6 +27,7 @@ using Content.Shared.Radio;
|
||||
using Content.Shared._White;
|
||||
using Content.Shared.Speech;
|
||||
using Content.Shared._White.Cult;
|
||||
using Content.Shared._White.Cult.Systems;
|
||||
using Robust.Server.Player;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
@@ -67,6 +68,7 @@ public sealed partial class ChatSystem : SharedChatSystem
|
||||
[Dependency] private readonly ReplacementAccentSystem _wordreplacement = default!;
|
||||
[Dependency] private readonly INetConfigurationManager _netConfigurationManager = default!; // WD
|
||||
[Dependency] private readonly GameTicker _gameTicker = default!; // WD
|
||||
[Dependency] private readonly CultistWordGeneratorManager _wordGenerator = default!; // WD
|
||||
|
||||
//WD-EDIT
|
||||
[Dependency] private readonly PandaWebManager _pandaWeb = default!;
|
||||
@@ -816,6 +818,8 @@ public sealed partial class ChatSystem : SharedChatSystem
|
||||
|
||||
_chatManager.ChatMessageToMany(ChatChannel.Cult, message, wrappedMessage, source, hideChat, false,
|
||||
clients.ToList());
|
||||
|
||||
SendEntityWhisper(source, _wordGenerator.GenerateText(message), ChatTransmitRange.Normal, null, null);
|
||||
}
|
||||
|
||||
private IEnumerable<INetChannel> GetCultChatClients()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
using System.Linq;
|
||||
using Robust.Shared.Random;
|
||||
|
||||
namespace Content.Shared._White.Cult.Systems;
|
||||
@@ -14,7 +15,7 @@ public sealed class CultistWordGeneratorManager
|
||||
|
||||
public string GenerateText(string text)
|
||||
{
|
||||
var content = text.Split(' ');
|
||||
var content = text.Split(' ').Where(x => x.Length > 0).ToArray();
|
||||
var wordsAmount = content.Length;
|
||||
|
||||
if (wordsAmount <= 0)
|
||||
@@ -22,7 +23,7 @@ public sealed class CultistWordGeneratorManager
|
||||
|
||||
for (var i = 0; i < wordsAmount; i++)
|
||||
{
|
||||
content[i] = GenerateWord(content[i].Length) + " ";
|
||||
content[i] = GenerateWord(content[i].Length);
|
||||
}
|
||||
|
||||
return string.Join(" ", content);
|
||||
|
||||
@@ -1311,7 +1311,7 @@
|
||||
description: uplink-hardsuit-syndieelite-desc
|
||||
productEntity: ClothingOuterHardsuitSyndieElite
|
||||
cost:
|
||||
Telecrystal: 10
|
||||
Telecrystal: 12
|
||||
categories:
|
||||
- UplinkArmor
|
||||
saleLimit: 1
|
||||
@@ -1322,7 +1322,7 @@
|
||||
description: uplink-clothing-outer-hardsuit-juggernaut-desc
|
||||
productEntity: ClothingOuterHardsuitJuggernaut
|
||||
cost:
|
||||
Telecrystal: 12
|
||||
Telecrystal: 20
|
||||
categories:
|
||||
- UplinkArmor
|
||||
saleLimit: 1
|
||||
|
||||
@@ -210,6 +210,7 @@
|
||||
Slash: 0.6
|
||||
Piercing: 0.6
|
||||
Caustic: 0.7
|
||||
Heat: 0.7
|
||||
- type: ClothingSpeedModifier
|
||||
walkModifier: 0.85
|
||||
sprintModifier: 0.85
|
||||
@@ -234,6 +235,7 @@
|
||||
Blunt: 0.8
|
||||
Slash: 0.8
|
||||
Piercing: 0.7
|
||||
Heat: 0.9
|
||||
- type: ToggleableClothing
|
||||
clothingPrototype: ClothingHeadHelmetHardsuitBrigmedic
|
||||
|
||||
@@ -252,12 +254,10 @@
|
||||
modifiers:
|
||||
coefficients:
|
||||
Blunt: 0.55
|
||||
Slash: 0.65
|
||||
Piercing: 0.65
|
||||
Caustic: 0.75
|
||||
- type: ClothingSpeedModifier
|
||||
walkModifier: 0.8
|
||||
sprintModifier: 0.8
|
||||
Slash: 0.55
|
||||
Piercing: 0.55
|
||||
Caustic: 0.65
|
||||
Heat: 0.65
|
||||
- type: ToggleableClothing
|
||||
clothingPrototype: ClothingHeadHelmetHardsuitWarden
|
||||
|
||||
@@ -285,6 +285,7 @@
|
||||
Piercing: 0.5
|
||||
Radiation: 0.5
|
||||
Caustic: 0.6
|
||||
Heat: 0.6
|
||||
- type: ToggleableClothing
|
||||
clothingPrototype: ClothingHeadHelmetHardsuitSecurityRed
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
suffix: 40 TC, NukeOps
|
||||
components:
|
||||
- type: Store
|
||||
preset: StorePresetUplink
|
||||
preset: StorePresetUplinkNukeOps
|
||||
balance:
|
||||
Telecrystal: 40
|
||||
- type: Tag
|
||||
|
||||
@@ -85,8 +85,8 @@
|
||||
- type: Projectile
|
||||
damage:
|
||||
types:
|
||||
Piercing: 4
|
||||
Slash: 4 #remember, it's metal shrapnel!
|
||||
Piercing: 3
|
||||
Slash: 3 #remember, it's metal shrapnel!
|
||||
|
||||
- type: entity
|
||||
id: PelletShotgunTranquilizer
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
Blunt: 0
|
||||
- type: Stunprod
|
||||
- type: MeleeWeapon
|
||||
attackRate: 1.25
|
||||
canHeavyAttack: false
|
||||
wideAnimationRotation: -135
|
||||
damage:
|
||||
|
||||
@@ -24,6 +24,23 @@
|
||||
maxItems: 10
|
||||
salesCategory: UplinkSales
|
||||
|
||||
- type: storePreset
|
||||
id: StorePresetUplinkNukeOps
|
||||
storeName: Uplink
|
||||
categories:
|
||||
- UplinkWeapons
|
||||
- UplinkAmmo
|
||||
- UplinkExplosives
|
||||
- UplinkMisc
|
||||
- UplinkBundles
|
||||
- UplinkTools
|
||||
- UplinkUtility
|
||||
- UplinkImplants
|
||||
- UplinkArmor
|
||||
- UplinkPointless
|
||||
currencyWhitelist:
|
||||
- Telecrystal
|
||||
|
||||
- type: storePreset
|
||||
id: StorePresetChangeling
|
||||
storeName: Evolution Shop
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
useDelay: 2
|
||||
useDelay: 1.5
|
||||
itemIconStyle: BigAction
|
||||
priority: -20
|
||||
icon:
|
||||
|
||||
@@ -100,14 +100,14 @@
|
||||
categories:
|
||||
- UplinkArmor
|
||||
|
||||
- type: listing
|
||||
id: UplinkBattleAxe
|
||||
name: Энергетической боевой топор
|
||||
description: Мощный боевой топор, способный повалить с одного удара любую незащищенную цель.
|
||||
icon: { sprite: /Textures/White/Objects/Weapons/energy_axe.rsi, state: icon }
|
||||
productEntity: EnergyBattleAxe
|
||||
cost:
|
||||
Telecrystal: 20
|
||||
categories:
|
||||
- UplinkWeapons
|
||||
saleLimit: 1
|
||||
#- type: listing
|
||||
# id: UplinkBattleAxe
|
||||
# name: Энергетической боевой топор
|
||||
# description: Мощный боевой топор, способный повалить с одного удара любую незащищенную цель.
|
||||
# icon: { sprite: /Textures/White/Objects/Weapons/energy_axe.rsi, state: icon }
|
||||
# productEntity: EnergyBattleAxe
|
||||
# cost:
|
||||
# Telecrystal: 20
|
||||
# categories:
|
||||
# - UplinkWeapons
|
||||
# saleLimit: 1
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
- type: DamageOtherOnHit
|
||||
damage:
|
||||
types:
|
||||
Piercing: 30
|
||||
Heat: 30
|
||||
Piercing: 20
|
||||
Heat: 20
|
||||
- type: Wieldable
|
||||
- type: IncreaseDamageOnWield
|
||||
damage:
|
||||
@@ -43,7 +43,7 @@
|
||||
energy: 2
|
||||
color: yellow
|
||||
- type: ChangeThrowForce
|
||||
throwForce: 20
|
||||
throwForce: 15
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
types:
|
||||
Blunt: 0
|
||||
- type: MeleeWeapon
|
||||
attackRate: 1.25
|
||||
canHeavyAttack: false
|
||||
wideAnimationRotation: -135
|
||||
damage:
|
||||
|
||||
Reference in New Issue
Block a user