1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2003-2005,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2003-2005 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
8 | * Deliantra is free software: you can redistribute it and/or modify it under |
9 | * the terms of the Affero GNU General Public License as published by the |
9 | * the terms of the Affero GNU General Public License as published by the |
10 | * Free Software Foundation, either version 3 of the License, or (at your |
10 | * Free Software Foundation, either version 3 of the License, or (at your |
11 | * option) any later version. |
11 | * option) any later version. |
… | |
… | |
98 | #define POTION 5 |
98 | #define POTION 5 |
99 | #define FOOD 6 |
99 | #define FOOD 6 |
100 | #define POISON 7 |
100 | #define POISON 7 |
101 | #define BOOK 8 |
101 | #define BOOK 8 |
102 | #define CLOCK 9 |
102 | #define CLOCK 9 |
103 | //10 |
103 | #define VEIN 10 // deliantra: minerla/ore/whatever vein |
104 | //11 |
104 | //11 |
105 | //12 |
105 | //12 |
106 | #define ARROW 13 |
106 | #define ARROW 13 |
107 | #define BOW 14 |
107 | #define BOW 14 |
108 | #define WEAPON 15 |
108 | #define WEAPON 15 |
… | |
… | |
525 | #define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by |
525 | #define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by |
526 | * load_original_map() */ |
526 | * load_original_map() */ |
527 | #define FLAG_RANDOM_SPEED 104 /* speed_left should be randomised on instantiate */ |
527 | #define FLAG_RANDOM_SPEED 104 /* speed_left should be randomised on instantiate */ |
528 | #define FLAG_ACTIVATE_ON_PUSH 105 /* connected object is activated when 'pushed' */ |
528 | #define FLAG_ACTIVATE_ON_PUSH 105 /* connected object is activated when 'pushed' */ |
529 | #define FLAG_ACTIVATE_ON_RELEASE 106 /* connected object is activated when 'released' */ |
529 | #define FLAG_ACTIVATE_ON_RELEASE 106 /* connected object is activated when 'released' */ |
530 | #define FLAG_IS_WATER 107 |
530 | #define FLAG_IS_WATER 107 /* apparently not used inside the server for anything */ |
531 | #define FLAG_CONTENT_ON_GEN 108 |
531 | #define FLAG_CONTENT_ON_GEN 108 |
532 | #define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */ |
532 | #define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */ |
533 | #define FLAG_IS_BUILDABLE 110 /* Can build on item */ |
533 | #define FLAG_IS_BUILDABLE 110 /* Can build on item */ |
534 | #define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */ |
534 | #define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */ |
535 | #define FLAG_NO_MAP_SAVE 112 // item doesn't get saved with map |
535 | #define FLAG_NO_MAP_SAVE 112 // item doesn't get saved with map |