-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added quadrupedal species handling. #3952
Conversation
hand_x_offset += world.icon_size | ||
if(mymob.client) | ||
mymob.client.screen |= swap_elem | ||
if(length(swaphand_hud_objects)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this if(length(swaphand_hud_objects))
check isn't strictly necessary because for (var/i in 1 to 0)
will skip the loop body.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Length check is technically a microopt over a zero iteration loop so I'm happy to leave it. <_<
5168c25
to
fee25ba
Compare
code/modules/mob/living/living.dm
Outdated
if(T.density && T.simulated) //walls work | ||
return TRUE | ||
for(var/obj/O in orange(1, src)) | ||
if(O && O.density && O.anchored) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be worth changing this to include || OBJ_FLAG_SUPPORT_MOB
?
fee25ba
to
536539c
Compare
536539c
to
423aefa
Compare
@@ -0,0 +1,51 @@ | |||
/obj/item/organ/external/leg/quadruped | |||
name = "left rear leg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hind leg, maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah this came up and I instantly forgot about it
423aefa
to
ee8eb00
Compare
Description of changes
Why and what will this PR improve
More flexible bodytypes.
Supporting code for #3940.
Authorship
Myself.
Changelog
Nothing player-facing.