mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 23:29:10 +01:00
some rig stuff
This commit is contained in:
+4
@@ -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
|
||||
|
||||
+2
-2
@@ -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)
|
||||
|
||||
+12
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user