Skip to content

Затычка на уничтожение пола. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions code/game/turfs/simulated/floor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ var/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","damaged3","

/turf/simulated/floor/ex_act(severity, target)
..()
if(target == src)
src.ChangeTurf(src.baseturf)
// if(target == src)
// src.ChangeTurf(src.baseturf)
if(target != null)
ex_act(3)
return
switch(severity)
/* switch(severity)
if(1.0)
src.ChangeTurf(src.baseturf)
if(2.0)
Expand All @@ -73,7 +73,13 @@ var/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","damaged3","
if (prob(50))
src.break_tile()
src.hotspot_expose(1000,CELL_VOLUME)
return
return*/

if(prob(80))
src.break_tile_to_plating()
else
src.break_tile()
src.hotspot_expose(1000,CELL_VOLUME)

/turf/simulated/floor/blob_act()
return
Expand Down