-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special Diggers #3209
base: master
Are you sure you want to change the base?
Special Diggers #3209
Conversation
Creature list needs to be updated when the command is used.
Possibly the code to start the list is at Rewriting this part and calling a list refresh when changing roaming status should also fix #3364 |
@@ -855,7 +860,7 @@ TbBool parse_creaturemodel_attributes_blocks(long crtr_model,char *buf,long len, | |||
game.conf.crtr_conf.spectator_breed = crtr_model; | |||
} | |||
// Set creature start states based on the flags | |||
if ((crconf->model_flags & CMF_IsSpecDigger) != 0) | |||
if ((crconf->model_flags & (CMF_IsSpecDigger|CMF_IsDiggingCreature)) != 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do the evil_start_state and good_start_state also need to be cleaned up here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how so? good in this context should technically be roaming but think it's fine as is
@@ -1210,6 +1209,7 @@ TbBool cmd_exec(PlayerNumber plyr_idx, char *msg) | |||
} | |||
} | |||
} | |||
//todo replace with any on digger_list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you forget this, or is this for a future PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's just for cheats, so yeah could be tackled at some point but really not critical at all
No description provided.