Merge pull request #1898 from Markolie/wheelchair

Allow for the construction of wheel chairs
This commit is contained in:
Fox-McCloud
2015-08-30 19:47:25 -04:00
2 changed files with 10 additions and 2 deletions
+9 -2
View File
@@ -241,8 +241,15 @@
else if(istype(user, /mob/living/carbon/human))
var/mob/living/carbon/human/H = user
if(!isnull(H.internal_organs_by_name["cell"]))
can_accept_user = 1
if(H.stat == DEAD)
return
if(occupant)
H << "<span class='warning'>The cell is already occupied!</span>"
return
if(isnull(H.internal_organs_by_name["cell"]))
return
can_accept_user = 1
if(!can_accept_user)
user << "<span class='notice'>Only non-organics may enter the recharger!</span>"
@@ -13,6 +13,7 @@
var/global/list/datum/stack_recipe/metal_recipes = list ( \
new/datum/stack_recipe("stool", /obj/structure/stool, one_per_turf = 1, on_floor = 1), \
new/datum/stack_recipe("chair", /obj/structure/stool/bed/chair, one_per_turf = 1, on_floor = 1), \
new/datum/stack_recipe("wheelchair", /obj/structure/stool/bed/chair/wheelchair, 15, one_per_turf = 1, on_floor = 1), \
new/datum/stack_recipe("bed", /obj/structure/stool/bed, 2, one_per_turf = 1, on_floor = 1), \
null, \
new/datum/stack_recipe_list("office chairs",list( \