Added enums for item ability, item variety, item weapon type, and terrain special ability.

git-svn-id: http://openexile.googlecode.com/svn/trunk@43 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-04-28 19:20:32 +00:00
parent 3efed5dcc7
commit ce0b3c6089
17 changed files with 307 additions and 278 deletions

View File

@@ -345,7 +345,7 @@ void handle_sale(short what_chosen,short cost)
base_item.item_properties = base_item.item_properties | 1;
switch (pc_ok_to_buy(current_pc,cost,base_item)) {
case 1: play_sound(-38); give_to_pc(current_pc,base_item,true);
univ.party.magic_store_items[what_magic_shop][what_magic_shop_item].variety = 0;
univ.party.magic_store_items[what_magic_shop][what_magic_shop_item].variety = ITEM_TYPE_NO_ITEM;
break;
case 2: ASB("Can't carry any more items."); break;
case 3: ASB("Not enough cash."); break;