From ab731862f899dd87b84613ebf12a82cdc73e094f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 13 Oct 2015 21:08:48 +0300 Subject: Add support for take (pickup) script for items taked from ground by player. --- src/emap/struct/itemdext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/emap/struct') diff --git a/src/emap/struct/itemdext.h b/src/emap/struct/itemdext.h index 4cc1f3b..8ce5997 100644 --- a/src/emap/struct/itemdext.h +++ b/src/emap/struct/itemdext.h @@ -35,6 +35,7 @@ struct ItemdExt struct ItemCardExt allowedCards[100]; struct script_code *dropScript; + struct script_code *takeScript; bool allowPickup; bool charmItem; -- cgit v1.2.3-70-g09d2