mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Minor bamboo related fixes (#25063)
* alphabetizes bamboo seeds in vendor * makes caltrop component properly check for outer suit flags * removes bamboo stool from wood recipes and adds it to bamboo recipes (i am very dumb)
This commit is contained in:
@@ -54,15 +54,15 @@
|
||||
if(O.is_robotic())
|
||||
return
|
||||
|
||||
var/feet_cover = (H.wear_suit && (H.wear_suit.body_parts_covered & FEET)) || (H.w_uniform && (H.w_uniform.body_parts_covered & FEET))
|
||||
var/feet_cover = ((H?.wear_suit?.body_parts_covered & FEET)) || ((H?.w_uniform?.body_parts_covered & FEET))
|
||||
var/bypass_shoes = flags & CALTROP_BYPASS_SHOES
|
||||
|
||||
// doesn't penetrate if feet are covered
|
||||
if(!bypass_shoes && (H.shoes || feet_cover))
|
||||
return
|
||||
|
||||
// doesn't penetrate shoes if feet are extra covered
|
||||
if(bypass_shoes && (H.shoes && (H.shoes.flags & THICKMATERIAL)))
|
||||
// check if shoes or outer suit can be punctured
|
||||
if(bypass_shoes && ((H?.shoes?.flags & THICKMATERIAL) || (H?.wear_suit?.flags & THICKMATERIAL)))
|
||||
return
|
||||
|
||||
if(H.flying || H.floating || H.buckled)
|
||||
|
||||
Reference in New Issue
Block a user