mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Manually revert Purpose's smooth plating PR's smoothing component
This commit is contained in:
@@ -180,7 +180,6 @@ var/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","damaged3","
|
||||
var/turf/simulated/floor/plating/P = pry_tile(CB, user, TRUE)
|
||||
if(!istype(P))
|
||||
return
|
||||
update_icon()
|
||||
P.attackby(T, user, params)
|
||||
|
||||
/turf/simulated/floor/proc/pry_tile(obj/item/C, mob/user, silent = FALSE)
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
/turf/simulated/floor/plating/New()
|
||||
..()
|
||||
icon_plating = icon_state
|
||||
if(icon == 'icons/turf/floors/plating.dmi')
|
||||
smooth = SMOOTH_MORE
|
||||
canSmoothWith = list(/turf/simulated/floor/plating, /turf/space)
|
||||
update_icon()
|
||||
|
||||
/turf/simulated/floor/plating/update_icon()
|
||||
@@ -25,7 +22,6 @@
|
||||
return
|
||||
if(!broken && !burnt)
|
||||
icon_state = icon_plating //Because asteroids are 'platings' too.
|
||||
underlays += image(icon, icon_state)
|
||||
|
||||
/turf/simulated/floor/plating/attackby(obj/item/C, mob/user, params)
|
||||
if(..())
|
||||
|
||||
@@ -226,8 +226,6 @@
|
||||
for(var/obj/structure/cable/C in contents)
|
||||
qdel(C)
|
||||
|
||||
smooth_icon(src)
|
||||
|
||||
/turf/simulated/AfterChange(ignore_air, keep_cabling = FALSE)
|
||||
..()
|
||||
RemoveLattice()
|
||||
|
||||
@@ -462,10 +462,10 @@ var/global/list/rockTurfEdgeCache = list(
|
||||
|
||||
/turf/simulated/floor/plating/airless/asteroid/New()
|
||||
var/proper_name = name
|
||||
..()
|
||||
name = proper_name
|
||||
if(prob(20))
|
||||
icon_state = "asteroid[rand(0,12)]"
|
||||
..()
|
||||
|
||||
/turf/simulated/floor/plating/airless/asteroid/ex_act(severity, target)
|
||||
switch(severity)
|
||||
|
||||
Reference in New Issue
Block a user