Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Fabricator recycling #12191
Fabricator recycling #12191
Changes from all commits
542c8a9
c063ab7
ac0d530
b65cafb
16daccf
88282c3
bd49a35
0624236
7df515c
c34ec9c
c61beea
13fd504
c93c95d
2c2e265
897ef07
ea64193
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
какой-же params неудобный кстати, что из коробки только текстовые параметры поддерживает
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.
@volas Точно не лучше было бы иметь отдельный список
var/list/construction_materials
иvar/list/materials
которые сейчас есть в штучке?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.
у атомов он должен быть выпилен в пользу этого общего формата, эти списки непонятно как в билд занесло и они нигде не используются.
И текстовый формат лучше в том плане, что мы можем через init() его достать (ну и меньше памяти занимает). Он выглядит жутко, но лучше это хоть убейся сейчас не оформить.
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.
в 515 через :: можно получать листы по типу объекта
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.
:: просто шорткат для init, он не поможет. Списки инициализируются вместе с объектом, на своём скрытом шаге инициализации (типо New), и до инициализации объекта не доступны.
Хорошие новости - Люммокс согласен, что это проблема, и рассматривает варианты как это можно решить https://www.byond.com/forum/post/2904278#comment26636169
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.
тогда ПР ждет 515? если да отметьте там чтоб пр не закрывался там хз
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.
мы уже на 515, делай
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.
оказывается, это не работает так, как нужно 😔
![image](https://private-user-images.githubusercontent.com/89906909/301206154-559d491b-12c4-43e3-a638-4ae80d4985d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDY1MzEsIm5iZiI6MTczOTQwNjIzMSwicGF0aCI6Ii84OTkwNjkwOS8zMDEyMDYxNTQtNTU5ZDQ5MWItMTJjNC00M2UzLWE2MzgtNGFlODBkNDk4NWQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAwMjM1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJlZGM0ZDliNDJiM2E4MTg4ODJkOWFmNjQ4ZDRkODM3YzE5MjBiOTJhY2I2N2Q1YzM5NzdmZjIzODJmMGY1OGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xdC6jiG79HOzdvMPDv0gnGQ9p-u8Da-axucSZpnqkcs)
![image](https://private-user-images.githubusercontent.com/89906909/301206271-ea28ed52-0592-4d11-8e5d-34e12df362af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MDY1MzEsIm5iZiI6MTczOTQwNjIzMSwicGF0aCI6Ii84OTkwNjkwOS8zMDEyMDYyNzEtZWEyOGVkNTItMDU5Mi00ZDExLThlNWQtMzRlMTJkZjM2MmFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAwMjM1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRkNTQ3Y2Q3NGRmZjJlZTYwOWJkNmE2Nzc4MGQxMWJmNjc2MGFhYTE5NTlmNWYzMGFkODY4Yzc0YmJlM2EzMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.zZcjtIP_NyEcxmJUxHvG7Ok6xMuTqBXubw6Ca_heWn4)
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.
skill issue