File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
code/game/turfs/simulated Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -232,13 +232,27 @@ var/global/list/turf/simulated/floor/phazontiles = list()
232
232
return 0
233
233
234
234
235
- / turf / simulated/ floor/ attack_paw( mob / user as mob)
235
+ / turf / simulated/ floor/ attack_paw( mob / user)
236
+ if (is_light_floor())
237
+ if (user. a_intent == I_HURT )
238
+ remove_floor_tile ()
239
+ set_light (0 )
240
+ spark (src , 1 )
241
+ visible_message (" <span class='warning'>\The [ user] removes the light tile from \the [ src ] !</span>" )
242
+ return
236
243
return src . attack_hand(user)
237
244
238
- / turf / simulated/ floor/ attack_animal( mob / user as mob)
245
+ / turf / simulated/ floor/ attack_animal( mob / user)
246
+ if (is_light_floor())
247
+ if (user. a_intent == I_HURT )
248
+ visible_message (" <span class='warning'>\The [ user] removes the light tile from \the [ src ] !</span>" )
249
+ set_light (0 )
250
+ spark (src , 1 )
251
+ remove_floor_tile ()
252
+ return
239
253
return src . attack_hand(user)
240
254
241
- / turf / simulated/ floor/ attack_hand( mob / user as mob )
255
+ / turf / simulated/ floor/ attack_hand( mob / user)
242
256
if (is_light_floor())
243
257
var /obj /item/stack/tile/light/T = floor_tile
244
258
T. on = ! T. on
You can’t perform that action at this time.
0 commit comments