Commit Graph
6944 Commits
Author SHA1 Message Date
Ziggy aae3aefdca Added ProjectSWG logo as the icon for the IDEA project, so the project stands out more when you have many IDEA projects 2023-07-28 15:06:43 +02:00
Ziggy f13c5342cf Completely stop using destructuring with HarvestHideIntent 2023-07-27 14:53:31 +02:00
Ziggy 8ed02cbc17 Code formatted SampleLoopSession 2023-07-27 11:38:19 +02:00
Ziggy 7958d4eb75 Don't use destructuring with HarvestHideIntent to ensure a changed order of parameters in HarvestHideIntent can never be an issue in the future 2023-07-27 11:37:30 +02:00
Josh 248466626a Merge pull request #1337 from madsboddum/holocore-1332
Replaced "Finding something to work on" with "Good first issues" in C…
2023-07-26 21:37:48 -05:00
Josh a19f7cce6e Merge branch 'master' into holocore-1332 2023-07-26 21:34:30 -05:00
Josh 8cf4dcea00 Merge pull request #1334 from madsboddum/holocore-1333
Add section about Java and Kotlin to CONTRIBUTING.md
2023-07-26 21:24:12 -05:00
Ziggy e0f62de9a0 Replaced "Finding something to work on" with "Good first issues" in CONTRIBUTING.md, describing what the label means 2023-07-26 18:18:53 +02:00
Ziggy 81bd4fe68f Removed TODO 2023-07-26 14:26:04 +02:00
Ziggy f94d6e84f9 Avoid going through RawResourceType, to circumvent being unable to harvest types of bone_mammal and meat_reptilian
bone_mammal straight up doesn't exist in RawResourceType and meat_reptilian is spelled differently (meat_reptillian, with an extra L)
2023-07-26 14:26:04 +02:00
Ziggy cabcf37c9a Harvested resources from creatures should be sub-typed based on the current terrain, e.g. bone_mammal_tatooine 2023-07-26 14:26:04 +02:00
Ziggy 8c1942ea24 Deleted creature resource type tests that don't work, because the resources are not defined in RawResourceType 2023-07-26 14:26:03 +02:00
Ziggy 05768031e5 RawResource#getName now returns a String instead of a StringId, as 6 out of 7 usages simply wanted the "raw" name, and accessed it using StringId#getKey 2023-07-26 14:26:03 +02:00
Ziggy cb44a10ab9 Introduced creature quality to creature harvesting, adding randomization to the amount of resources retrieved 2023-07-26 14:26:02 +02:00
Ziggy 84b2e32bed Simplistic implementation of harvesting bone, hide and meat resources from animals
Relates to GitHub issue #1266 and #1224
2023-07-26 14:25:47 +02:00
Ziggy 0249993552 Rename .java to .kt 2023-07-26 13:09:52 +02:00
Ziggy 32360ccd1e Add section about Java and Kotlin to CONTRIBUTING.md
The idea is to communicate why we currently have both Java and Kotlin and what should be used when.
2023-07-26 12:30:16 +02:00
Josh c68d12a880 Merge pull request #1327 from madsboddum/cancel_live_auction_refactor
Extracted canceling a live auction into a separate class, both to red…
2023-07-25 17:37:35 -05:00
Josh 17b3c49ca4 Merge pull request #1331 from madsboddum/holocore-1330
Initial version of CONTRIBUTING.md
2023-07-25 17:36:56 -05:00
Ziggy 034506cfc7 Added sections for creating pull requests and code reviews to the contributing guide 2023-07-25 22:02:55 +02:00
Ziggy cc62ce25c5 Added "Reporting bugs" section to the contributing guide 2023-07-25 22:02:55 +02:00
Ziggy 11932348fa Added "Your first contribution" section to the contributing guide 2023-07-25 21:59:04 +02:00
Ziggy 070f7ea4bf Relocated certain sections of README.md into a new CONTRIBUTING.md 2023-07-25 21:59:04 +02:00
Ziggy 41362e6dbf Host PSWG banner displayed in README.md inside the repository instead of imgur, to better keep it under control 2023-07-25 21:59:03 +02:00
Ziggy 55d6e67d52 Dynamic expiresAt time in CancelLiveAuctionUseCaseTest, so the test code reads better in the future 2023-07-25 15:30:45 +02:00
Ziggy a9e4a29e06 BUG: Replaced locomotion checks for riding mounts with a single state check, as s:ridingMount allows the command "dismount", where L:drivingVehicle and L:ridingCreature did not #1294 2023-07-24 12:24:34 +02:00
Ziggy 6a95f22874 Extracted canceling a live auction into a separate class, both to reduce the size of BazaarService and increase the test coverage of the important parts of the code
There's more code in BazaarService that could benefit from a similar treatment, but I figured I would take it in small steps and start here.
2023-07-19 04:20:49 +02:00
Josh 319a9b8cd2 Merge pull request #1326 from madsboddum/weather_service_refactor
WeatherService refactor and Kotlin conversion
2023-07-15 17:33:37 -05:00
Ziggy 9ce452c0dc Renamed WeatherService to EnvironmentService to streamline with thread names, but also better reflect the responsibilities of the class
It also sends out time updates. For that, "weather" wasn't a very accurate name.
2023-07-15 23:08:48 +02:00
Ziggy 993985521b Converted WeatherService to Kotlin 2023-07-15 23:08:48 +02:00
Ziggy 6df07a4bf6 Rename .java to .kt 2023-07-15 23:08:48 +02:00
Ziggy 0a37070e9a Moved logic from WeatherChanger into a method directly in WeatherService, as a non-static inner class was a bit confusing to read 2023-07-15 23:08:48 +02:00
Ziggy 9fcc96465e Removed some superfluous comments in WeatherService#constructWeatherPacket 2023-07-15 23:08:48 +02:00
Ziggy 87c5bfc3d9 WeatherService#setWeather is now called updateWeather, so it's similar to WeatherService#updateTime 2023-07-15 23:08:48 +02:00
Ziggy 3f544196cf WeatherService#terminate now propagates the thread pool termination result like other services do 2023-07-15 23:08:46 +02:00
Ziggy d6ae7deccc WeatherService#executor is now instantiated in the constructor, making executor null checks unnecessary 2023-07-15 22:18:25 +02:00
Ziggy cb649c5cdb WeatherService#cycleDuration is now an actual Duration object, making a code comment explaining what's going on unnecessary 2023-07-15 22:16:22 +02:00
Josh Larson b4a9555422 Fixed test encode in TestCustomizationString 2023.07.15-2 2023-07-15 14:05:56 -05:00
Josh Larson 9b284e586f Fixed crash bug with CustomizationString 2023.07.15 2023-07-15 13:26:30 -05:00
Josh fe3c6d0cac Merge pull request #1324 from madsboddum/resource_client_crash
Fixed client crash when existing stacks of resources were adjusted
2023.07.07
2023-06-05 07:19:22 -05:00
Ziggy 79467ed426 Fixed client crash when existing stacks of resources were adjusted 2023-06-05 11:20:18 +02:00
Josh aa63e076aa Merge pull request #1322 from madsboddum/entertainment_service_kt
EntertainmentService Java -> Kotlin conversion
2023-06-04 11:23:04 -05:00
Ziggy a1be30a87d Converted EntertainmentService from Java to Kotlin 2023-06-04 11:08:06 +02:00
Ziggy afce7f83cb Rename .java to .kt 2023-06-04 10:46:11 +02:00
Undercova b99a52058c Updated README.md 2023-06-03 15:17:38 +02:00
Undercova ee59875ad0 Updated README.md 2023-06-03 15:13:05 +02:00
Ziggy f2c488c11b Fixed compile errors and other minor code style issues in ProjectSWG.kt after automatic Java->Kotlin conversion 2023-05-31 21:19:20 +02:00
Ziggy 1688554a43 Rename .java to .kt 2023-05-31 21:19:18 +02:00
Josh 9646b2c116 Merge pull request #1259 from Josh-Larson/convert-objects-to-kotlin
Convert SWG Objects to kotlin (part 2)
2023-05-28 18:22:36 -05:00
Josh 54ac6c5fea Merge pull request #1320 from madsboddum/static_city_points_sdbloader
Static city points sdbloader
2023-05-28 17:04:57 -05:00