Adds picture frames

This commit is contained in:
Tastyfish
2016-02-21 18:25:09 -05:00
parent e78bcc6a8c
commit 4f3ce4ecbc
7 changed files with 231 additions and 3 deletions
@@ -352,12 +352,12 @@ obj/structure/sign/poster/attackby(obj/item/I, mob/user, params)
if(!P.resulting_poster) return
var/stuff_on_wall = 0
for(var/obj/O in contents) //Let's see if it already has a poster on it or too much stuff
if(istype(O,/obj/structure/sign/poster))
for(var/obj/O in user.loc.contents) //Let's see if it already has a poster on it or too much stuff
if(istype(O,/obj/structure/sign))
user << "<span class='notice'>The wall is far too cluttered to place a poster!</span>"
return
stuff_on_wall++
if(stuff_on_wall == 3)
if(stuff_on_wall >= 4)
user << "<span class='notice'>The wall is far too cluttered to place a poster!</span>"
return