-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Colony expedition system #10286
base: version/main
Are you sure you want to change the base?
Colony expedition system #10286
Conversation
# Conflicts: # src/api/java/com/minecolonies/api/colony/IVisitorData.java # src/main/java/com/minecolonies/apiimp/initializer/EntityInitializer.java # src/main/java/com/minecolonies/core/MineColonies.java # src/main/java/com/minecolonies/core/colony/interactionhandling/RecruitmentInteraction.java # src/main/java/com/minecolonies/core/colony/managers/CitizenManager.java # src/main/java/com/minecolonies/core/colony/managers/VisitorManager.java # src/main/java/com/minecolonies/core/datalistener/CustomVisitorListener.java # src/main/java/com/minecolonies/core/entity/ai/visitor/EntityAIVisitor.java # src/main/java/com/minecolonies/core/entity/citizen/VisitorCitizen.java
# Conflicts: # src/main/java/com/minecolonies/api/IMinecoloniesAPI.java # src/main/java/com/minecolonies/api/MinecoloniesAPIProxy.java # src/main/java/com/minecolonies/apiimp/CommonMinecoloniesAPIImpl.java # src/main/java/com/minecolonies/apiimp/initializer/EntityInitializer.java # src/main/java/com/minecolonies/core/entity/visitor/VisitorCitizen.java
# Conflicts: # src/main/java/com/minecolonies/api/colony/managers/interfaces/IExpeditionManager.java # src/main/java/com/minecolonies/core/colony/managers/VisitorManager.java
# Conflicts: # src/main/java/com/minecolonies/core/entity/visitor/VisitorCitizen.java
# Conflicts: # src/main/java/com/minecolonies/core/entity/visitor/VisitorCitizen.java
# Conflicts: # gradle.properties
# Conflicts: # src/main/java/com/minecolonies/core/event/EventHandler.java
# Conflicts: # src/main/java/com/minecolonies/core/entity/visitor/VisitorCitizen.java
# Conflicts: # src/main/java/com/minecolonies/api/util/InventoryUtils.java
Please do not comment on pull requests unnecessarily, and use English. |
# Conflicts: # src/main/java/com/minecolonies/core/entity/visitor/VisitorCitizen.java
# Conflicts: # src/main/java/com/minecolonies/api/loot/ModLootConditions.java
# Conflicts: # gradle.properties # src/main/java/com/minecolonies/core/colony/Colony.java # src/main/java/com/minecolonies/core/entity/visitor/VisitorCitizen.java # src/main/java/com/minecolonies/core/event/DataPackSyncEventHandler.java # src/main/java/com/minecolonies/core/event/EventHandler.java # src/main/java/com/minecolonies/core/event/FMLEventHandler.java # src/main/java/com/minecolonies/core/network/NetworkChannel.java # src/main/resources/assets/minecolonies/lang/manual_en_us.json
* | ||
* @return true if so. | ||
*/ | ||
default boolean isCombatGuard() |
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.
That is "non druid" ?
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.
Pretty much, I use this on the view and the guard assignment to check if the given guard is "any combat guard". Indeed to prevent hiring druids into the expedition.
@NotNull | ||
public ExpeditionVisitorMember getLeader() | ||
{ | ||
for (final IExpeditionMember<?> member : members.values()) |
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.
Would store the leader in a seperate dara structure tbh. Leader + list of members
Changes proposed in this pull request:
You will have to give them a given amount of goods and assign one or more guards to travel alongside them.
Currently a draft, mostly looking for initial implementation feedback and feedback on the actual loot tables that come with the initial expeditions.
[ ] Yes I tested this before submitting it.
[ ] I also did a multiplayer test.
Review please