Porting putnams ventcrawling PR and Fix (#13571)

* Porting putnams rage

* And the bugfix
This commit is contained in:
MrJWhit
2020-10-17 05:39:25 -04:00
committed by GitHub
parent 393ab62c6b
commit 4fdacf0560
2 changed files with 10 additions and 9 deletions
+8
View File
@@ -100,6 +100,14 @@
return held_items.Find(I)
///Find number of held items, multihand compatible
/mob/proc/get_num_held_items()
. = 0
for(var/i in 1 to held_items.len)
if(held_items[i])
.++
//Sad that this will cause some overhead, but the alias seems necessary
//*I* may be happy with a million and one references to "indexes" but others won't be
/mob/proc/is_holding(obj/item/I)