mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
Santa's toy bag!
Fixed some miscellaneous stuff to prevent round-start crashing. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2758 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -112,6 +112,14 @@
|
||||
if (M.s_active == src.loc)
|
||||
if (M.client)
|
||||
M.client.screen -= src
|
||||
if(istype(src.loc, /obj/item/weapon/storage/backpack/santabag))
|
||||
if(src.loc.contents.len < 5)
|
||||
src.loc.icon_state = "giftbag0"
|
||||
else if(src.loc.contents.len >= 5 && src.loc.contents.len < 15)
|
||||
src.loc.icon_state = "giftbag1"
|
||||
else if(src.loc.contents.len >= 15)
|
||||
src.loc.icon_state = "giftbag2"
|
||||
|
||||
src.throwing = 0
|
||||
if (src.loc == user)
|
||||
//canremove==0 means that object may not be removed. You can still wear it. This only applies to clothing. /N
|
||||
|
||||
Reference in New Issue
Block a user