April sync (#360)
* Maps and things no code/icons * helpers defines globalvars * Onclick world.dm orphaned_procs * subsystems Round vote and shuttle autocall done here too * datums * Game folder * Admin - chatter modules * clothing - mining * modular computers - zambies * client * mob level 1 * mob stage 2 + simple_animal * silicons n brains * mob stage 3 + Alien/Monkey * human mobs * icons updated * some sounds * emitter y u no commit * update tgstation.dme * compile fixes * travis fixes Also removes Fast digest mode, because reasons. * tweaks for travis Mentors are broke again Also fixes Sizeray guns * oxygen loss fix for vore code. * removes unused code * some code updates * bulk fixes * further fixes * outside things * whoops. * Maint bar ported * GLOBs.
This commit is contained in:
@@ -18,6 +18,19 @@
|
||||
pry_tile(C, user)
|
||||
return
|
||||
|
||||
/turf/open/floor/wood/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
|
||||
if(T.turf_type == type)
|
||||
return
|
||||
var/obj/item/weapon/tool = user.is_holding_item_of_type(/obj/item/weapon/screwdriver)
|
||||
if(!tool)
|
||||
tool = user.is_holding_item_of_type(/obj/item/weapon/crowbar)
|
||||
if(!tool)
|
||||
return
|
||||
var/turf/open/floor/plating/P = pry_tile(tool, user, TRUE)
|
||||
if(!istype(P))
|
||||
return
|
||||
P.attackby(T, user, params)
|
||||
|
||||
/turf/open/floor/wood/pry_tile(obj/item/C, mob/user, silent = FALSE)
|
||||
var/is_screwdriver = istype(C, /obj/item/weapon/screwdriver)
|
||||
playsound(src, C.usesound, 80, 1)
|
||||
@@ -155,4 +168,4 @@ turf/open/floor/fakepit
|
||||
|
||||
/turf/open/floor/fakespace/Initialize()
|
||||
..()
|
||||
icon_state = "[rand(0,25)]"
|
||||
icon_state = "[rand(0,25)]"
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
..()
|
||||
update_icon()
|
||||
|
||||
/turf/open/floor/light/break_tile()
|
||||
..()
|
||||
light_range = 0
|
||||
update_light()
|
||||
|
||||
/turf/open/floor/light/update_icon()
|
||||
..()
|
||||
if(on)
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
length = set_length
|
||||
|
||||
// Get our directiosn
|
||||
forward_cave_dir = pick(alldirs - exclude_dir)
|
||||
forward_cave_dir = pick(GLOB.alldirs - exclude_dir)
|
||||
// Get the opposite direction of our facing direction
|
||||
backward_cave_dir = angle2dir(dir2angle(forward_cave_dir) + 180)
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/turf/open/floor/plating/dirt
|
||||
name = "dirt"
|
||||
desc = "Upon closer examination, it's still dirt."
|
||||
icon = 'icons/turf/floors.dmi'
|
||||
icon_state = "dirt"
|
||||
var/smooth_icon = 'icons/turf/floors/dirt.dmi'
|
||||
canSmoothWith = list(/turf/closed, /turf/open/floor/plating/dirt)
|
||||
smooth = SMOOTH_MORE|SMOOTH_BORDER
|
||||
baseturf = /turf/open/chasm/straight_down/lava_land_surface
|
||||
initial_gas_mix = "o2=14;n2=23;TEMP=300"
|
||||
planetary_atmos = TRUE
|
||||
|
||||
/turf/open/floor/plating/dirt/Initialize()
|
||||
pixel_y = -2
|
||||
pixel_x = -2
|
||||
icon = smooth_icon
|
||||
..()
|
||||
|
||||
/turf/open/floor/plating/dirt/dark
|
||||
icon_state = "darkdirt"
|
||||
smooth_icon = 'icons/turf/floors/darkdirt.dmi'
|
||||
@@ -108,6 +108,12 @@
|
||||
/turf/open/floor/plating/lava/break_tile()
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/lava/pry_tile()
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/lava/try_replace_tile()
|
||||
return
|
||||
|
||||
/turf/open/floor/plating/lava/burn_tile()
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user