mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Merge pull request #15561 from AnturK/tactical_chairs
Chairs/Beds Repathing/Refactor
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
return
|
||||
|
||||
/obj/item/assembly/shock_kit/receive_signal()
|
||||
if(istype(loc, /obj/structure/bed/chair/e_chair))
|
||||
var/obj/structure/bed/chair/e_chair/C = loc
|
||||
if(istype(loc, /obj/structure/chair/e_chair))
|
||||
var/obj/structure/chair/e_chair/C = loc
|
||||
C.shock()
|
||||
return
|
||||
|
||||
@@ -88,18 +88,6 @@
|
||||
// Structures
|
||||
//
|
||||
|
||||
/obj/structure/stool/bed/chair/holo/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(istype(W,/obj/item/weapon/wrench))
|
||||
user << "It's holographic! There's no taking it apart."
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/structure/stool/bed/chair/holo/comfy
|
||||
name = "comfy chair"
|
||||
desc = "It looks comfy."
|
||||
icon_state = "comfychair"
|
||||
color = rgb(255,113,0)
|
||||
|
||||
/obj/structure/holohoop
|
||||
name = "basketball hoop"
|
||||
desc = "Boom, shakalaka!"
|
||||
|
||||
@@ -217,11 +217,11 @@
|
||||
new /obj/item/weapon/storage/pill_bottle/dice(cur_turf)
|
||||
|
||||
cur_turf = locate(start_turf.x+1, start_turf.y-1, start_turf.z)
|
||||
var/obj/structure/bed/chair/comfy/C = new /obj/structure/bed/chair/comfy(cur_turf)
|
||||
var/obj/structure/chair/comfy/C = new /obj/structure/chair/comfy(cur_turf)
|
||||
C.dir = 1
|
||||
|
||||
cur_turf = locate(start_turf.x+1, start_turf.y+1, start_turf.z)
|
||||
new /obj/structure/bed/chair/comfy(cur_turf)
|
||||
new /obj/structure/chair/comfy(cur_turf)
|
||||
|
||||
cur_turf = locate(start_turf.x-1, start_turf.y-1, start_turf.z)
|
||||
var/obj/machinery/sleeper/S = new /obj/machinery/sleeper(cur_turf)
|
||||
|
||||
@@ -813,7 +813,7 @@
|
||||
/datum/species/proc/spec_attack_hand(mob/living/carbon/human/M, mob/living/carbon/human/H)
|
||||
if(!istype(M)) //sanity check for drones.
|
||||
return
|
||||
if((M != H) && M.a_intent != "help" && H.check_shields(0, M.name))
|
||||
if((M != H) && M.a_intent != "help" && H.check_shields(0, M.name, attack_type = UNARMED_ATTACK))
|
||||
add_logs(M, H, "attempted to touch")
|
||||
H.visible_message("<span class='warning'>[M] attempted to touch [H]!</span>")
|
||||
return 0
|
||||
|
||||
@@ -490,7 +490,7 @@ var/global/list/datum/stack_recipe/cable_coil_recipes = list ( \
|
||||
update_icon()
|
||||
|
||||
/obj/item/stack/cable_coil/suicide_act(mob/user)
|
||||
if(locate(/obj/structure/bed/stool) in user.loc)
|
||||
if(locate(/obj/structure/chair/stool) in get_turf(user))
|
||||
user.visible_message("<span class='suicide'>[user] is making a noose with the [src.name]! It looks like \he's trying to commit suicide.</span>")
|
||||
else
|
||||
user.visible_message("<span class='suicide'>[user] is strangling \himself with the [src.name]! It looks like \he's trying to commit suicide.</span>")
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
/datum/mapGeneratorModule/syndieFurniture
|
||||
clusterCheckFlags = CLUSTER_CHECK_ALL
|
||||
spawnableTurfs = list()
|
||||
spawnableAtoms = list(/obj/structure/table = 20,/obj/structure/bed/chair = 15,/obj/structure/bed/stool = 10, \
|
||||
spawnableAtoms = list(/obj/structure/table = 20,/obj/structure/chair = 15,/obj/structure/chair/stool = 10, \
|
||||
/obj/structure/computerframe = 15, /obj/item/weapon/storage/toolbox/syndicate = 15 ,\
|
||||
/obj/structure/closet/syndicate = 25, /obj/machinery/suit_storage_unit/syndicate = 15)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user