From 037b6326b7b553ff7610b9ef70207aee35d9defa Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 20 Aug 2007 22:22:04 +0000 Subject: Throwing nets again. Added a number of functions that allow to differentiate between a net that currently traps a monster and one that doesn't, even if they are on the same square. This usually works but can fail if there's already a net lying on the target square. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2021 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/itemprop.h') diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h index 35912509f7..7c051d0b70 100644 --- a/crawl-ref/source/itemprop.h +++ b/crawl-ref/source/itemprop.h @@ -26,6 +26,11 @@ bool item_known_uncursed( const item_def &item ); void do_curse_item( item_def &item ); void do_uncurse_item( item_def &item ); +// stationary: +void set_item_stationary( item_def &item ); +void remove_item_stationary( item_def &item ); +bool item_is_stationary( const item_def &item ); + // ident: bool item_ident( const item_def &item, unsigned long flags ); void set_ident_flags( item_def &item, unsigned long flags ); -- cgit v1.2.3-54-g00ecf