… | |
… | |
579 | #define FLAG_BERSERK 99 /* monster will attack closest living |
579 | #define FLAG_BERSERK 99 /* monster will attack closest living |
580 | object */ |
580 | object */ |
581 | #define FLAG_NEUTRAL 100 /* monster is from type neutral */ |
581 | #define FLAG_NEUTRAL 100 /* monster is from type neutral */ |
582 | #define FLAG_NO_ATTACK 101 /* monster don't attack */ |
582 | #define FLAG_NO_ATTACK 101 /* monster don't attack */ |
583 | #define FLAG_NO_DAMAGE 102 /* monster can't be damaged */ |
583 | #define FLAG_NO_DAMAGE 102 /* monster can't be damaged */ |
|
|
584 | |
|
|
585 | //TODO schmorp: removed in rewrite, not yet readded |
584 | #define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by |
586 | #define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by |
585 | * load_original_map() */ |
587 | * load_original_map() */ |
586 | #define FLAG_OBJ_SAVE_ON_OVL 104 /* this object should be saved on |
588 | #define FLAG_OBJ_SAVE_ON_OVL 104 /* this object should be saved on |
587 | * the overlay, and is not subject to |
589 | * the overlay, and is not subject to |
588 | * decay. */ |
590 | * decay. */ |
… | |
… | |
590 | #define FLAG_ACTIVATE_ON_RELEASE 106 /* connected object is activated when 'released' */ |
592 | #define FLAG_ACTIVATE_ON_RELEASE 106 /* connected object is activated when 'released' */ |
591 | #define FLAG_IS_WATER 107 |
593 | #define FLAG_IS_WATER 107 |
592 | #define FLAG_CONTENT_ON_GEN 108 |
594 | #define FLAG_CONTENT_ON_GEN 108 |
593 | #define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */ |
595 | #define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */ |
594 | #define FLAG_IS_BUILDABLE 110 /* Can build on item */ |
596 | #define FLAG_IS_BUILDABLE 110 /* Can build on item */ |
595 | #define FLAG_AFK 111 /* Player is AFK */ |
597 | |
596 | #define NUM_FLAGS 111 /* Should always be equal to the last |
598 | #define NUM_FLAGS 111 /* Should always be equal to the last |
597 | * defined flag. If you change this, |
599 | * defined flag + 1. If you change this, |
598 | * make sure you update the flag_links |
600 | * make sure you update the flag_links |
599 | * in common/loader.l |
601 | * in common/loader.l |
600 | */ |
602 | */ |
601 | |
603 | |
602 | /* Values can go up to 127 before the size of the flags array in the |
604 | /* Values can go up to 127 before the size of the flags array in the |