-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
В целом ты мог бы разделить прок |
там место генерации ящиков по другому работает, не знаю можно ли нормально как то поменять |
code/controllers/subsystem/points.dm
Outdated
//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() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Генерацию листочка наверное можно сделать отдельным проком, если он используется для обычных ящиков.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
с кода лифта брал как там было
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну и в целом спавн ящика если он настолько совпадает.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я не хочу трогать код лифта по причине наличия анимации и разного место спавна ящиков
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
и почему то сейчас в коде лифта нет генерации манифестов, странно
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зачем дублирующее определение?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Вроде норм
Signed-off-by: homexp13 <[email protected]>
Основные изменения
Быстрая доставка для карго
Как это улучшит игру
Меньше нудного таскания ящиков для ро
Ченджлог