added throwing

This commit is contained in:
2024-07-17 21:39:10 -04:00
parent ea381c24f6
commit dbae34e3a2
10 changed files with 258 additions and 37 deletions

View File

@ -43,9 +43,11 @@ feature proc_args(int argc, char **argv,
} else if (str == "-d") {
result |= FEATURE_DOORS;
} else if (str == "-i") {
result |= FEATURE_INVENTORY;
result |= FEATURE_INVENTORY | FEATURE_WALK_OVER;
} else if (str == "-t") {
result |= FEATURE_THROW;
result |= FEATURE_THROW |
FEATURE_INVENTORY |
FEATURE_WALK_OVER;
} else if (str == "-R") {
result |= FEATURE_REVISIT;
} else if (str == "-e") {
@ -166,8 +168,8 @@ void print_args_list() {
-r : Randomly generate maps\n\
-c : Enemies chase the player (CAUTION: THEY CAN REALLY CHASE!!!)\n\
-d : Enemies can go through doors (CAUTION: DO NOT ENABLE WITH CHASING!)\n\
-i : Enable inventory (player can pick up potions)\n\
-t : Enable throw\n\
-i : Enable inventory (player can pick up potions, will turn on -o)\n\
-t : Enable throw (will turn on -i)\n\
-R : Enable revisiting levels\n\
-e : Enable extra potions and races\n\
-E : Enable extra levels\n\