Temporary commit to make girders craftable with metal sheets.#5379
Conversation
| /decl/stack_recipe/steel/girder | ||
| result_type = /obj/structure/girder | ||
| required_wall_support_value = 10 | ||
| req_amount = 5 * SHEET_MATERIAL_AMOUNT // Arbitrary value since girders return weird matter values. |
There was a problem hiding this comment.
dismantling them produces 2 sheets, did you always lose 3 sheets from dismantling?
There was a problem hiding this comment.
I copypasted from the rods recipe.
There was a problem hiding this comment.
Girders have 5 sheets of matter in them so lowering the recipe amount causes CI fails. Them giving 2 sheets on dismantle is due to using parts_amount I guess.
There was a problem hiding this comment.
With tweaked code, they drop 3 sheets and cost 6 to craft. I'm happy with that for the moment.
880f06d to
e00eb58
Compare
Addressed - currently using unmodified structure sheet amounts/logic.
| /decl/stack_recipe/rods/girder | ||
| result_type = /obj/structure/girder | ||
| required_wall_support_value = 10 | ||
| req_amount = 5 * SHEET_MATERIAL_AMOUNT // Arbitrary value since girders return weird matter values. |
There was a problem hiding this comment.
without this CI explodes :(
There was a problem hiding this comment.
I can't work out -why-, girders aren't do anything weird compared to any other structure.
There was a problem hiding this comment.
Issue seems to be null parts_type, I'm not certain why that breaks it but heigh ho.
da8969d to
3120836
Compare
No description provided.