mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
[Ready for code review] Moves alien verbs to spells (#20002)
* Moves alien verbs to spells * lol * Standardization, polish, making alien plasma huds more consistant * The very cursed way of handling touch spells * logging + more polish * snakecase + documentation * finishing touches * oops, ty henri Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * sprites from TGstation * sprites, again * oops * farie's review part 1 * farie's review p2, signals * Erics PR compat * farie's review 3 * that too * the shawnshank redemption * boink * removes larva transfer plasma * you want a sprite cranberry? * TM fix 1 * FUCK I BROKE LOGGING * bam * final touches --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
This commit is contained in:
@@ -164,7 +164,7 @@
|
||||
if(!iscarbon(user))
|
||||
return
|
||||
var/mob/living/carbon/C = user
|
||||
if(C.get_int_organ(/obj/item/organ/internal/xenos/hivenode))
|
||||
if(C.get_int_organ(/obj/item/organ/internal/alien/hivenode))
|
||||
if(world.time - C.last_bumped <= 60)
|
||||
return
|
||||
if(!C.handcuffed)
|
||||
@@ -492,7 +492,7 @@
|
||||
return attack_hand(user)
|
||||
|
||||
/obj/structure/alien/egg/attack_hand(mob/living/user)
|
||||
if(user.get_int_organ(/obj/item/organ/internal/xenos/hivenode))
|
||||
if(user.get_int_organ(/obj/item/organ/internal/alien/plasmavessel))
|
||||
switch(status)
|
||||
if(BURST)
|
||||
to_chat(user, "<span class='notice'>You clear the hatched egg.</span>")
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
for(var/buck in buckled_mobs) //breaking a nest releases all the buckled mobs, because the nest isn't holding them down anymore
|
||||
var/mob/living/M = buck
|
||||
|
||||
if(user.get_int_organ(/obj/item/organ/internal/xenos/hivenode))
|
||||
if(user.get_int_organ(/obj/item/organ/internal/alien/plasmavessel))
|
||||
unbuckle_mob(M)
|
||||
add_fingerprint(user)
|
||||
return
|
||||
@@ -49,11 +49,11 @@
|
||||
if (!ismob(M) || (get_dist(src, user) > 1) || (M.loc != loc) || user.incapacitated() || M.buckled)
|
||||
return
|
||||
|
||||
if(M.get_int_organ(/obj/item/organ/internal/xenos/hivenode))
|
||||
if(M.get_int_organ(/obj/item/organ/internal/alien/hivenode))
|
||||
to_chat(user, "<span class='noticealien'>[M]'s linkage with the hive prevents you from securing them into [src]</span>")
|
||||
return
|
||||
|
||||
if(!user.get_int_organ(/obj/item/organ/internal/xenos/hivenode))
|
||||
if(!user.get_int_organ(/obj/item/organ/internal/alien/hivenode))
|
||||
to_chat(user, "<span class='noticealien'>Your lack of linkage to the hive prevents you from buckling [M] into [src]</span>")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user