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

Walls now save their girder material when built #14501

Merged
merged 16 commits into from Jun 10, 2023

Conversation

monkeymilesmoo
Copy link
Contributor

@monkeymilesmoo monkeymilesmoo commented Jun 9, 2023

[Bug][Materials]

About the PR

Untitled-1
Untitled-2

Previously walls would just take on the material of whatever girder they were built on. This ended up in the girder basically eating whatever sheet was put onto it regardless of the material. Now the girder's material is stored in the wall until the wall is broken in which case a girder of the correct material spawns. Also, in order to place a sheet on a girder, the sheet has to be a metal sheet, so glass walls won't be able to be built.

Should fix:
#14385
#13870

Why's this needed?

Girders shouldn't determine a wall's material since the plating is what is actually visible from the outside.

Changelog

(u)monkeymilesmoo
(*)Plating on a wall can now be of a different material from the girder it was built on without being absorbed by the girder on placement.

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 9, 2023
@keywordlabeler keywordlabeler bot added A-Materials Deals with our materials system in some way C-Bug A bug that impacts usage of a feature labels Jun 9, 2023
code/obj/false_wall.dm Outdated Show resolved Hide resolved
code/obj/false_wall.dm Outdated Show resolved Hide resolved
code/obj/structure.dm Outdated Show resolved Hide resolved
code/obj/structure.dm Outdated Show resolved Hide resolved
code/obj/structure.dm Outdated Show resolved Hide resolved
code/obj/structure.dm Outdated Show resolved Hide resolved
code/turf/walls.dm Outdated Show resolved Hide resolved
code/obj/structure.dm Outdated Show resolved Hide resolved
code/turf/walls.dm Outdated Show resolved Hide resolved
@TobleroneSwordfish TobleroneSwordfish merged commit e6ada45 into goonstation:master Jun 10, 2023
20 checks passed
github-actions bot pushed a commit that referenced this pull request Jun 10, 2023
@monkeymilesmoo monkeymilesmoo deleted the falsewalls branch June 10, 2023 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Materials Deals with our materials system in some way C-Bug A bug that impacts usage of a feature size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants