some rig stuff

This commit is contained in:
BlackMajor
2022-04-30 02:10:51 +12:00
parent 0d5c751b22
commit 232c0c5806
4 changed files with 22 additions and 5 deletions
@@ -314,6 +314,10 @@ datum/riding/simple_mob/protean_blob/handle_vehicle_layer()
/mob/living/simple_mob/protean_blob/lay_down()
..()
var/obj/item/weapon/rig/rig = src.get_rig()
if(rig)
rig.force_rest(src)
return
if(resting)
mouse_opacity = 0
plane = ABOVE_OBJ_PLANE
@@ -318,12 +318,12 @@
perform_the_nom(P,victim,P,P.vore_selected,1)
P.forceMove(get_turf(S.OurRig))
S.OurRig.forceMove(src)
S.OurRig.myprotean = null
S.OurRig.myprotean = src
src.equip_to_slot_if_possible(S.OurRig, slot_back)
S.OurRig.Moved()
P.has_hands = 1
else //We're not in our own RIG
if(P.stat)
if(P.stat || P.resting)
to_chat(P,"<span class='warning'>You can only do this while not stunned.</span>")
else
if(P.l_hand)
@@ -349,6 +349,18 @@
AssimilateBag(user,0,W)
..()
/obj/item/weapon/rig/protean/take_hit(damage, source, is_emp=0)
return //We don't do that here
/obj/item/weapon/rig/protean/emp_act(severity_class)
return //Same here
/obj/item/weapon/rig/protean/cut_suit()
return //nope
/obj/item/weapon/rig/protean/force_rest(var/mob/user)
wearer.lay_down()
to_chat(user, "<span class='notice'>\The [wearer] is now [wearer.resting ? "resting" : "getting up"].</span>")
/obj/item/weapon/cell/protean
name = "Protean power cell"