Implements Climbing

This commit is contained in:
Heroman3003
2023-06-22 05:21:45 +10:00
committed by CHOMPStation2
parent 040dd66b62
commit 29ca579ab8
14 changed files with 1401 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
var/dirty_prob = 2 // Chance of being dirty roundstart
var/dirt = 0
var/special_temperature //Used for turf HE-Pipe interaction
var/climbable = FALSE //Adds proc to wall if set to TRUE on its initialization, defined here since not all walls are subtypes of wall
var/icon_edge = 'icons/turf/outdoors_edge.dmi' //VOREStation Addition - Allows for alternative edge icon files
@@ -63,6 +64,14 @@
if(istype(loc, /area/chapel))
holy = 1
levelupdate()
if(climbable)
verbs += /turf/simulated/proc/climb_wall
/turf/simulated/examine(mob/user)
. = ..()
if(climbable)
. += "This [src] looks climbable."
/turf/simulated/proc/AddTracks(var/typepath,var/bloodDNA,var/comingdir,var/goingdir,var/bloodcolor="#A10808")
var/obj/effect/decal/cleanable/blood/tracks/tracks = locate(typepath) in src