|
128 | 128 | if(is_damaged()) |
129 | 129 | if(I.use_tool(user, src, flooring.removal_time, tool_type, FAILCHANCE_VERY_EASY, required_stat = STAT_MEC)) |
130 | 130 | to_chat(user, SPAN_NOTICE("You remove the broken [flooring.descriptor].")) |
131 | | - make_plating() |
| 131 | + make_plating(TRUE, null, TRUE) |
132 | 132 | return |
133 | 133 | else if(flooring.flags & TURF_IS_FRAGILE) |
134 | 134 | if(I.use_tool(user, src, flooring.removal_time, tool_type, FAILCHANCE_VERY_EASY, required_stat = STAT_MEC)) |
|
138 | 138 | else if(flooring.flags & TURF_REMOVE_CROWBAR) |
139 | 139 | if(I.use_tool(user, src, flooring.removal_time, tool_type, FAILCHANCE_VERY_EASY, required_stat = STAT_MEC)) |
140 | 140 | to_chat(user, SPAN_NOTICE("You lever off the [flooring.descriptor].")) |
141 | | - make_plating(1) |
| 141 | + make_plating(TRUE) |
142 | 142 | return |
143 | 143 | return |
144 | 144 |
|
145 | 145 | if(QUALITY_SCREW_DRIVING) |
146 | 146 | if((!(is_damaged()) && !is_plating()) || flooring.flags & TURF_REMOVE_SCREWDRIVER) |
147 | 147 | if(I.use_tool(user, src, flooring.removal_time*1.5, tool_type, FAILCHANCE_VERY_EASY, required_stat = STAT_MEC)) |
148 | 148 | to_chat(user, SPAN_NOTICE("You unscrew and remove the [flooring.descriptor].")) |
149 | | - make_plating(1) |
| 149 | + make_plating(TRUE) |
150 | 150 | return |
151 | 151 |
|
152 | 152 | if(QUALITY_BOLT_TURNING) |
153 | 153 | if(flooring.flags & TURF_REMOVE_WRENCH) |
154 | 154 | if(I.use_tool(user, src, flooring.removal_time, tool_type, FAILCHANCE_NORMAL, required_stat = STAT_MEC)) |
155 | 155 | to_chat(user, SPAN_NOTICE("You unwrench and remove the [flooring.descriptor].")) |
156 | | - make_plating(1) |
| 156 | + make_plating(TRUE) |
157 | 157 | return |
158 | 158 |
|
159 | 159 | if(QUALITY_SHOVELING) |
160 | 160 | if(flooring.flags & TURF_REMOVE_SHOVEL) |
161 | 161 | if(I.use_tool(user, src, flooring.removal_time, tool_type, FAILCHANCE_VERY_EASY, required_stat = STAT_MEC)) |
162 | 162 | to_chat(user, SPAN_NOTICE("You shovel off the [flooring.descriptor].")) |
163 | | - make_plating(1) |
| 163 | + make_plating(TRUE) |
164 | 164 | return |
165 | 165 |
|
166 | 166 | if(QUALITY_WELDING) |
|
179 | 179 | to_chat(user, SPAN_NOTICE("You start cutting through the [flooring.descriptor].")) |
180 | 180 | if(I.use_tool(user, src, flooring.removal_time, tool_type, FAILCHANCE_NORMAL, required_stat = STAT_MEC)) |
181 | 181 | to_chat(user, SPAN_NOTICE("You cut through and remove the [flooring.descriptor].")) |
182 | | - make_plating(1) |
| 182 | + make_plating(TRUE) |
183 | 183 |
|
184 | 184 | if(ABORT_CHECK) |
185 | 185 | return |
|
0 commit comments