Skip to content

БС майнер#2778

Closed
kerfus-owo wants to merge 10 commits into
AdventureTimeSS14:masterfrom
kerfus-owo:bs-miner
Closed

БС майнер#2778
kerfus-owo wants to merge 10 commits into
AdventureTimeSS14:masterfrom
kerfus-owo:bs-miner

Conversation

@kerfus-owo

Copy link
Copy Markdown
Contributor

Описание PR

Почему / Баланс

Техническая информация

  • Изменения были протестированы на локальном сервере, и всё работает отлично.
  • PR закончен и требует просмотра изменений.

Медиа

Чейнджлог

❗❗ УДАЛЯЙТЕ КОММЕНТЫ НИЖЕ И ПИШИТЕ no cl, no fun ЕСЛИ НИ ХОТИТЕ ЭТОГО В ЧЕЙНЖЛОГИ ❗❗

❗❗ НЕ МЕРДЖИТЬ ПОКА НЕ УДАЛИТЕ ❗❗

❗❗ ↓↓↓ ВОТ ЭТИ ↓↓↓ ❗❗

❗❗ ↑↑↑ УДАЛЯЙТЕ КОММЕНТЫ ↑↑↑ ❗❗

@github-actions github-actions Bot added size/M Changes: Sprites Изменение спрайтов Changes: Localization Изменение локализации Status: Needs Review labels May 9, 2026
@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown
Contributor

RSI Diff Bot; head commit 7b29c78 merging into 837d655
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/ADT/Structures/Machines/bluespace_miner.rsi

State Old New Status
miner Added
miner_active Added
overlay_active Added

Edit: diff updated after 7b29c78

Comment on lines +99 to +108
foreach (var near in _lookup.GetEntitiesInRange(uid, comp.Range, LookupFlags.Dynamic | LookupFlags.Sundries))
{
if (!_physicsQuery.TryGetComponent(near, out var physics) || physics.BodyStatus != BodyStatus.OnGround)
continue;

if (near == parentUid)
continue;

if (!_storage.TryInsertMaterialEntity(uid, near, uid, storage))
continue;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Бро тебя убьют за этот код

@M1and1B

M1and1B commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Если это то, что я думаю, то, бля, найди ИИшку получше, пжпжпжп.

if (near == parentUid)
continue;

if (!_storage.TryInsertMaterialEntity(uid, near, uid, storage))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

НЕТ СЛОВ.......

if (near == parentUid)
continue;

if (!_storage.TryInsertMaterialEntity(uid, near, uid, storage))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я тут кабанчиком пробежал и ви---- АХАХАХАХХАХА. Ладно, пойду дальше.

⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⣿⣿⣿⢿⣿⣿⣿⣿⡿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠃⠄⠄⠄⢹⠋⠄⢿⣿⣿⡋⢠⣿⣿
⣿⣿⣿⣿⣿⡿⠟⠋⠄⠄⠄⠄⠄⠄⢸⠄⠄⠸⠄⠉⢙⣿⣿⣿
⣿⣿⡿⠟⠁⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢸⣿⣿⣿
⣿⡇⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⠄⢀⠄⠄⠻⠷⠄⠄⠸⣿⣿⣿
⣿⠃⠄⠄⢠⠄⠄⠄⠄⣼⠄⠄⠄⠘⣇⠄⠄⠄⠄⣤⠄⠙⢿⣿
⣿⠄⠄⠄⣾⠄⠄⠄⠄⢹⣇⠄⠄⠄⢻⣆⠄⠰⠞⢹⠆⣠⣾⣿
⣿⣿⡆⠄⠸⣧⡀⠄⠄⠄⠻⣦⡀⠄⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⡇⠄⠄⣿⣿⣾⣷⣶⣿⣿⣿⣆⠄⢿⣿⠄⠈⣿⣿⣿⣿⣿
⣿⣿⡇⢀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄⢘⣿⣆⢀⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿

private void AddToggleMagnetVerb(EntityUid uid, MaterialStorageMagnetPickupComponent component, GetVerbsEvent<AlternativeVerb> args)
{

if (!component.MagnetToggle == true)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а че не

IF(
(
(
(typeof component !== 'undefined' && component !== null) &&
Object.prototype.hasOwnProperty.call(component, 'MagnetToggle')
) ? (
component.MagnetToggle !== true &&
!(component.MagnetToggle === true) &&
component.MagnetToggle == false
) : true
) == true &&
!(false) &&
(() => { let _ = !component?.MagnetToggle; return _ === true; })() &&
[null, undefined, false].includes(component?.MagnetToggle ?? false) &&
(component?.MagnetToggle || false) === false &&
!Boolean(component?.MagnetToggle) &&
(component?.MagnetToggle ?? 'false') == 'false' &&
(+!!component?.MagnetToggle) === 0
)

Так куда лучше работать будет

@kerfus-owo kerfus-owo closed this Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes: Localization Изменение локализации Changes: Sprites Изменение спрайтов size/M Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants