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 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify |
8 | * Deliantra is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
… | |
… | |
48 | GT_ENVIRONMENT = 0x0001, // put treasure at objetc, not into object |
48 | GT_ENVIRONMENT = 0x0001, // put treasure at objetc, not into object |
49 | GT_INVISIBLE = 0x0002, |
49 | GT_INVISIBLE = 0x0002, |
50 | GT_STARTEQUIP = 0x0004, |
50 | GT_STARTEQUIP = 0x0004, |
51 | GT_APPLY = 0x0008, |
51 | GT_APPLY = 0x0008, |
52 | GT_ONLY_GOOD = 0x0010, |
52 | GT_ONLY_GOOD = 0x0010, |
53 | GT_UPDATE_INV = 0x0020, |
|
|
54 | GT_MINIMAL = 0x0040, // Do minimal adjustments |
53 | GT_MINIMAL = 0x0020, // Do minimal adjustments |
55 | }; |
54 | }; |
56 | |
55 | |
57 | /* when a treasure got cloned from archlist, we want perhaps change some default |
56 | /* when a treasure got cloned from archlist, we want perhaps change some default |
58 | * values. All values in this structure will override the default arch. |
57 | * values. All values in this structure will override the default arch. |
59 | * TODO: It is a bad way to implement this with a special structure. |
58 | * TODO: It is a bad way to implement this with a special structure. |