Commit Graph
7384 Commits
Author SHA1 Message Date
adminandGitHub 5a1461d6fb add a script to launch the webhook (#3106) 2023-12-14 08:08:45 -08:00
adminandGitHub ec4802a29f Import dlls (#3105)
* install apple plugin

* start setting up bluetooth prefs

* basic test connection

* build the plugins from the webhook
2023-12-12 18:08:56 -08:00
adminandGitHub 19014f3ffd allied moving armies colored blue, not red (#3104) 2023-12-05 21:33:07 -08:00
adminandGitHub 7d988640b6 fix 'treaty' in TruceWithFactionQuest description (#3103) 2023-12-05 21:23:39 -08:00
adminandGitHub 4c9c1481cc fix the ransom ux hookups (#3102) 2023-12-01 19:43:58 -08:00
adminandGitHub 03d1bed3c2 Off by one error in PersistedHistory (#3101)
* off by one error in persistedhistory

* fix an off-by-one error in PersistedHistory
2023-12-01 19:42:33 -08:00
adminandGitHub c78a4266fd fix Visibility (#3100) 2023-11-29 21:34:53 -08:00
adminandGitHub e2fe12c9ee Ally visibility (#3099)
* full visibility into ally provinces

* hero visibility too

* battalion view & faction view too
2023-11-28 20:16:59 -08:00
adminandGitHub f2282c8d6f Organize Troops deps (#3098)
* it builds

* tests pass

* formatting
2023-11-28 19:53:18 -08:00
adminandGitHub 66b749edb5 FeastCommand no longer depends on GameState proto, AvailableCommand, or SelectedCommand, and the tests depend on concrete case classes instead of photos (#3097)
* feast command no longer depends on GameState, AvailableCommand, or SelectedCommand, and the test uses concrete Hero and Province classes instead of wrappers

* fix CommandFactory
2023-11-27 07:41:26 -08:00
adminandGitHub 72a2ff6b6a Add Alliance and BreakAlliance diplomacy options (#3076)
* add alliance and break alliance options

* tests for alliance and break alliance availability

* alliance offer and resolution messages

* more prompt generators

* fix ActionResultApplier

* alliance offer / break availability

* finish the helpers

* enable Alliance and Break Alliance in client

* ResolveAllianceOfferCommand

* ResolveBreakAllianceCommand

* update command choice helpers for new commands

* fix imports after rebase

* fix client notifications

* need resolve selectors

* resolve command selectors for Alliance and BreakAlliance

* hook up missing options

* hook up all the buttons

* exception text too

* fix the helper and reenable settings

* bad rebase

* redundant braces

* bad rebase

* Revert "bad rebase"

This reverts commit d4c67ba5af90c6f6f980e276f430ae51998e1c1d.

* bad rebase

* unneeded change

* bad rebase

* add one more test

* small simplification
2023-11-26 13:33:54 -08:00
adminandGitHub b51ee96d45 Add ResolveAllianceOffer and ResolveBreakAlliance commands (#3094)
* try adding the selected and available commands

* don't need it in CommandFactory yet

* start tests

* tests
2023-11-26 12:17:51 -08:00
adminandGitHub b6edd24e7d Remove dependency from ResolveTruceOfferCommand onto GameState proto (#3096)
* make ResolveTruceOfferCommand into a SimpleAction

* remove dependency on GameState
2023-11-26 10:29:03 -08:00
adminandGitHub 2a16867cad throw a proper exception when there is an AvailableCommand / SelectedCommand mismatch (#3095) 2023-11-26 07:25:14 -08:00
adminandGitHub 1b0953cfbb update EndDiplomacyResolutionPhaseAction to handle alliance and break… (#3093)
* update EndDiplomacyResolutionPhaseAction to handle alliance and break alliance

* fix exception text
2023-11-25 21:52:58 -08:00
adminandGitHub 4811503b79 alliance and break alliance resolution helpers (#3091)
* alliance and break alliance resolution helpers

* start the alliance test

* AllianceResolutionHelpersTest

* BreakAllianceResolutionHelpersTest
2023-11-25 17:04:28 -08:00
adminandGitHub eb0bcfec86 rename TREATY to TRUCE in action result and round phase names (#3092)
* rename TREATY to TRUCE in action result types

* rename TREATY to TRUCE in action result and round phase names
2023-11-25 16:37:07 -08:00
adminandGitHub ea7eee2e59 update the build file (#3090) 2023-11-25 11:29:49 -08:00
adminandGitHub 8a3aaeb2a7 tests for alliance & break alliance (#3089) 2023-11-25 11:20:57 -08:00
adminandGitHub b6df759820 separate out Truce and Alliance (#3088) 2023-11-24 16:25:40 -08:00
adminandGitHub d8dafc200b handle Alliance and BreakAlliance in ActionResultApplier (#3087) 2023-11-24 16:20:24 -08:00
adminandGitHub 65443ac1a1 update LLM requests for Alliance and BreakAlliance (#3086) 2023-11-24 16:17:00 -08:00
adminandGitHub 62a197c877 add changed faction options (#3085) 2023-11-24 16:12:51 -08:00
adminandGitHub 2849ed4f15 handle the new details types (#3084) 2023-11-24 15:58:10 -08:00
adminandGitHub f4a2c6f975 Add Alliance and BreakAlliance diplomacy options (#3083)
* one more usage

* one more

* don't need all that
2023-11-23 21:58:23 -08:00
adminandGitHub 1ac0aad4ac New LLM requests for Alliance and Break Alliance (and resolution) (#3082)
* llm requests for Alliance and BreakAlliance

* unimplemented new diplo types
2023-11-23 14:38:22 -08:00
adminandGitHub 953b93ba33 change DIPLOMACY_TYPE_TREATY to DIPLOMACY_TYPE_TRUCE inside ChangedFaction (#3081) 2023-11-23 12:06:28 -08:00
adminandGitHub 268baebdbc rename AllianceToggle and AllianceLabel to TruceToggle and TruceLabel in DiplomacyCommandSelector (#3080) 2023-11-23 09:57:00 -08:00
adminandGitHub abb37155a1 add settings for Alliance and Break Alliance (#3079) 2023-11-23 09:51:53 -08:00
adminandGitHub 47fbdca56e forward slashes (#3078) 2023-11-22 21:52:25 -08:00
adminandGitHub 0d4614d6d6 Rename client files with Treaty to Truce (#3077)
* rename client files with Treaty to Truce

* rename client files with Treaty to Truce
2023-11-22 21:50:45 -08:00
adminandGitHub 5cff0f730f centralize the logic (#3075) 2023-11-21 16:50:47 -08:00
adminandGitHub 1550ff73c5 ResolveDiplomacySelector to its own object/file (#3074)
* command-chooser

* ResolveDiplomacy methods to their own file/object

* fix the tests too
2023-11-20 19:52:36 -08:00
adminandGitHub 08b5aa69c3 move choose() to CommandChooser object (#3073) 2023-11-20 19:33:13 -08:00
adminandGitHub 105d9d6097 move FactionRelationship to internal/` (#3072) 2023-11-18 12:22:30 -08:00
adminandGitHub f451615f9d Separate out a FactionRelationshipView (without trust) from main FactionRelationship (#3071)
* separate FactionRelationshipView from FactionRelationship

* fix client
2023-11-18 08:57:32 -08:00
adminandGitHub 6f4f1b9482 remove dependency from TrainCommand onto GameState proto (#3070)
* remove dependency from TrainCommand onto GameState proto

* the rest of the tests
2023-11-18 08:41:00 -08:00
adminandGitHub 0d7f4bf18b remove dependency from TravelCommand onto GameState proto (#3069)
* remove dependency from TravelCommand onto GameState proto

* fix TravelCommandTest
2023-11-17 20:46:18 -08:00
adminandGitHub 35497ae0aa Fix the tests for the FactionRelationships change (#3068)
* just a diff import

* fix more tests

* fix more tests

* fix remaining tests
2023-11-17 20:31:22 -08:00
adminandGitHub b5ed829c58 fix command make for PleaseRecruitMe (#3067) 2023-11-17 20:26:43 -08:00
adminandGitHub 5685f90712 Replace Truce with FactionRelationship (#3066)
* into its own file

* bad package

* fix faction_view

* fix FactionUtils

* update ActionResultApplier

* more fixes

* truce resolution helpers

* shardok interface

* need removed faction relationships too

* add a helper for finding the relationship

* fix a couple more references

* it builds

* client too

* truce count & always allied

* fix TruceCountQuestCreationTest

* fix ValidationsTest

* fix TruceResolutionHelpersTest

* RansomOfferHelpersTest

* fix QuestCreationUtilsTest

* moar tests

* moar tests
2023-11-17 18:14:53 -08:00
adminandGitHub 14f33859c3 show current truce count in quest text (#3065) 2023-11-17 07:22:37 -08:00
adminandGitHub cbf42f0ac3 Factor out some wrapping boilerplate in CommandFactory (#3064)
* wrap at the end

* factor out some boilerplate
2023-11-17 07:13:15 -08:00
adminandGitHub d6c59bcd42 remove dependency from PleaseRecruitMeCommand onto GameState proto (#3063) 2023-11-17 07:01:01 -08:00
adminandGitHub af3f81ec64 fix alliance text in diplomacy command selector (#3062) 2023-11-16 21:28:24 -08:00
adminandGitHub 0c5f47f323 Handle riot deps (#3059)
* start removing dep

* one test is failing

* add some stats to the heroes

* fix the other two handle riot commands

* EndHandleRiotsPhaseAction needs a change too

* fix the DoNothing test

* fix HandleRiotGive command test

* a couple more tests
2023-11-16 19:57:54 -08:00
adminandGitHub 94a084f86d RandomSimpleAction and wrapper (#3061) 2023-11-16 19:55:17 -08:00
adminandGitHub 4b27a823cb Add all the HeroProto fields to HeroT (#3060)
* add all the hero fields to HeroT

* fix build
2023-11-16 19:15:53 -08:00
adminandGitHub 6c55c0b2af remove dependency from FreeForAllDecisionCommand onto GameState proto (#3058) 2023-11-16 07:03:05 -08:00
adminandGitHub b311a25efe Remove dependency from ExileVassalCommand onto GameState proto (#3057)
* remove dependency from ExileVassalCommand onto GameState proto

* fix test
2023-11-15 21:36:54 -08:00