Added a new carpet

Worked on adding a new carpet.  It isn't -finished- yet and Trilby is going to help look over what I've done so I can make this work.
This commit is contained in:
Redtail
2018-12-01 20:21:18 -06:00
parent 11acee20e2
commit e339bcd2ca
6 changed files with 16 additions and 1 deletions

View File

@@ -111,6 +111,14 @@
/obj/item/stack/tile/carpet/black/fifty
amount = 50
/obj/item/stack/tile/carpet/red
name = "red carpet"
icon_state = "tile-carpet-red"
turf_type = /turf/open/floor/carpet/red
/obj/item/stack/tile/carpet/red/fifty
amount = 50
/obj/item/stack/tile/fakespace
name = "astral carpet"
singular_name = "astral carpet"

View File

@@ -182,6 +182,11 @@
floor_tile = /obj/item/stack/tile/carpet/black
canSmoothWith = list(/turf/open/floor/carpet/black)
/turf/open/floor/carpet/red
icon = 'icons/turf/floors/carpet_red.dmi'
floor_tile = /obj/item/stack/tile/carpet/red
icon_state ="tile-carpet-red"
canSmoothWith = list(/turf/open/floor/carpet/red)
/turf/open/floor/carpet/narsie_act(force, ignore_mobs, probability = 20)
. = (prob(probability) || force)