Skip to content
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

Migrate ACT_PICKUP to the activity actor system #39297

Merged
merged 1 commit into from
Apr 25, 2020

Conversation

ifreund
Copy link
Contributor

@ifreund ifreund commented Apr 5, 2020

Summary

SUMMARY: Infrastructure "Migrate ACT_PICKUP to the activity actor system."

Purpose of change

Update legacy activities to use the new system added in #37450.

Testing

Ran the test suite locally. Picked up items using the advanced inventory and without.

Additional context

I discovered that the move all function of the advanced inventory does, and has never, worked for wearing items, so I added a debug message if it is used and opened #39296.

@ifreund ifreund added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style Inventory / AIM / Zones Inventory, Advanced Inventory Management or Zones labels Apr 5, 2020
@ifreund ifreund force-pushed the migrate-act-pickup branch from d0fff1a to ed26539 Compare April 17, 2020 14:19
@ifreund
Copy link
Contributor Author

ifreund commented Apr 17, 2020

rebased to resolve conflicts

@ifreund
Copy link
Contributor Author

ifreund commented Apr 17, 2020

Please hold off on merging this until #39646 is merged as this will likely cause conflicts and I'd rather resolve them here.

@ifreund ifreund force-pushed the migrate-act-pickup branch from 08b1253 to 5857b78 Compare April 24, 2020 09:51
@ifreund
Copy link
Contributor Author

ifreund commented Apr 24, 2020

Conflicts resolved

who.cancel_activity();

if( who.get_value( "THIEF_MODE_KEEP" ) != "YES" ) {
who.set_value( "THIEF_MODE", "THIF_ASK" );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ifreund ifreund deleted the migrate-act-pickup branch May 7, 2020 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style Inventory / AIM / Zones Inventory, Advanced Inventory Management or Zones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants