Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo fast delivery #21

Merged
merged 12 commits into from
Jul 29, 2024
Merged

Cargo fast delivery #21

merged 12 commits into from
Jul 29, 2024

Conversation

homexp13
Copy link
Collaborator

@homexp13 homexp13 commented Jul 18, 2024

Основные изменения

Быстрая доставка для карго

Как это улучшит игру

Меньше нудного таскания ящиков для ро

image

Ченджлог

:cl:
add: Меньше нудного таскания ящиков для ро
/:cl:

@Tatarla Tatarla added Marine Затронута сторона Маринов. QoL Изменение для облегчения работы. Feature Добавление новых механик и прочего. labels Jul 18, 2024
@Tatarla Tatarla requested review from Tatarla, Helg2 and fe-ed July 19, 2024 04:56
@Helg2
Copy link
Collaborator

Helg2 commented Jul 19, 2024

В целом ты мог бы разделить прок buy чтобы было меньше бессмысленной копипасты

@homexp13
Copy link
Collaborator Author

В целом ты мог бы разделить прок buy чтобы было меньше бессмысленной копипасты

там место генерации ящиков по другому работает, не знаю можно ли нормально как то поменять

@homexp13 homexp13 requested a review from Helg2 July 20, 2024 16:37
Comment on lines 167 to 174
//supply manifest generation begin

var/obj/item/paper/manifest/slip = new /obj/item/paper/manifest(A)
slip.info = "<h3>Automatic Storage Retrieval Manifest</h3><hr><br>"
slip.info +="Order #[O.id]<br>"
slip.info +="[length_char(O.pack)] PACKAGES IN THIS SHIPMENT<br>"
slip.info +="CONTENTS:<br><ul>"
slip.update_icon()
Copy link
Collaborator

@Helg2 Helg2 Jul 20, 2024

Choose a reason for hiding this comment

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

Генерацию листочка наверное можно сделать отдельным проком, если он используется для обычных ящиков.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

с кода лифта брал как там было

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ну и в целом спавн ящика если он настолько совпадает.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

я не хочу трогать код лифта по причине наличия анимации и разного место спавна ящиков

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

и почему то сейчас в коде лифта нет генерации манифестов, странно

@Tatarla Tatarla removed the request for review from fe-ed July 26, 2024 06:39
@Tatarla Tatarla requested a review from Helg2 July 27, 2024 06:44
@@ -571,6 +587,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
.["shopping_list_items"] += SSpoints.request_shopping_cart[user.ckey][i]
.["shopping_list_cost"] += SP.cost * SSpoints.request_shopping_cart[user.ckey][SP.type]
.["shopping_list"][SP.type] = list("count" = SSpoints.request_shopping_cart[user.ckey][SP.type])
.["beacon"] = length(GLOB.supply_beacon) ? TRUE : FALSE
Copy link
Collaborator

Choose a reason for hiding this comment

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

Зачем дублирующее определение?

Copy link
Collaborator

@Helg2 Helg2 left a comment

Choose a reason for hiding this comment

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

Вроде норм

@Helg2 Helg2 added the Interface Изменение UI любого типа. label Jul 28, 2024
@Tatarla Tatarla merged commit a0b5044 into PMC-Unga-Marines:master Jul 29, 2024
3 of 6 checks passed
github-actions bot added a commit that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Добавление новых механик и прочего. Interface Изменение UI любого типа. Marine Затронута сторона Маринов. QoL Изменение для облегчения работы.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants