1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-02-16 16:34:28 +01:00
Go to file
Reece Dunham 4575924e80
Rewrite the escalation service to use group contracts (#63)
* Rewrite the escalation service to use group contracts (#28)

* Fix build and type errors

Signed-off-by: Reece Dunham <me@rdil.rocks>

* Improve Escalation Functionality with Contract Groups (#160)

* Fix Sinbad escalation and add group definition

* Add group contracts and fix InGroup IDs where needed

* Run prettier

* Add missing group definitions

* Fixed id issues with sinbad

* Fix missionsInLocation.ts

* Added groupdefinitions (#198)

Added localization and missing groupdefinitions for Peacock custom escalations

* Fix incorrect escalation contract ids

* Remove missing escalations

* Add Ataro group definition

* Add 7DS entrances

* Restore no2016 functionality, add xmas to no2016 list

* Add missing deluxe escalation entrance

* Fix linting

* Added h3 escalations (#204)

* Added h3 escalations

Added all remaining escalations from h3 maps

* Prettier

yeehaw

---------

Co-authored-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com>

* Fix escalation completion

* Fix smilax level 1

* Fix escalation challenges not completing

* Get groups when resolving contracts

* track escalation challenge completion

* fix mission end page for escalation challenges

* Update GameChangerProperties

* Update EvergreenGameChangerProperties

* Add new GameChangerProperties

* Fix aborting on invalid escalation group

* remove dupe yellow rabbit suit

* Fixed DGS having no challenges on career page

* run prettier

* Update Proloff Level 2

* Update escalation hub tile to work with group contracts

* Move escalations and elusives to subfolders

* Add 7DS campaign

* Fix escalation level picker

* Fix escalations being incorrectly marked as completed

* Remove completed status when editing escalation level progress

* Add new H3 escalations to level picker

* Add Season tag to elusives for future use

* Add Season tag to typedefs

* Respect Season tag when sending elusives

* Add Legacy Escalations

* Remove milfoil for now, add escalations to missions

* Move xmas escalation

* Fix Snowdrop not showing in 2016

* Add missing entitlements to escalations

* Fix play next level in 2016, remove use of deprecated function

* Move remaining Peacock escalations

* Swap out featured Peacock escalation

---------

Signed-off-by: Reece Dunham <me@rdil.rocks>
Co-authored-by: moonysolari <118079569+moonysolari@users.noreply.github.com>
Co-authored-by: Kaki <66200818+Kakiking@users.noreply.github.com>
Co-authored-by: moonysolari <changyiding@126.com>
Co-authored-by: riisikumi <54016129+riisikumi@users.noreply.github.com>
Co-authored-by: AnthonyFuller <24512050+AnthonyFuller@users.noreply.github.com>
2023-04-14 03:13:16 +01:00
.github Additionally target v7 PRs 2023-04-02 01:07:45 -04:00
.idea Significant performance improvement that I have not actually tested 2023-01-28 21:59:26 -05:00
.vscode Update some vscode settings 2022-11-10 03:49:47 +01:00
.yarn TypeScript v5 2023-04-08 22:29:40 -04:00
components Rewrite the escalation service to use group contracts (#63) 2023-04-14 03:13:16 +01:00
contractdata Rewrite the escalation service to use group contracts (#63) 2023-04-14 03:13:16 +01:00
docs Move the code of conduct to the docs folder [skip ci] 2023-01-04 11:33:58 -05:00
packaging Add Elusive Target challenges on H3 (#192) 2023-04-13 18:49:31 -04:00
patcher Initial commit 2022-10-19 21:33:45 -04:00
resources Rewrite the escalation service to use group contracts (#63) 2023-04-14 03:13:16 +01:00
static Rewrite the escalation service to use group contracts (#63) 2023-04-14 03:13:16 +01:00
tests Fixed an issue where refresh_token was not properly served (#190) 2023-04-06 21:47:08 +01:00
webui TypeScript v5 2023-04-08 22:29:40 -04:00
.cirrus.yml Add a CI task to run the tests 2023-04-08 22:46:51 -04:00
.editorconfig Initial commit 2022-10-19 21:33:45 -04:00
.eslintignore Initial commit 2022-10-19 21:33:45 -04:00
.eslintrc.js Update deps, don't do prettier through eslint 2023-04-08 22:25:29 -04:00
.gitattributes Fix the gitattributes 2022-12-02 12:01:29 -05:00
.gitignore Gitignore thirdpartynotices 2023-04-08 22:06:27 -04:00
.nvmrc Node 18.15.0 2023-04-02 00:35:02 -04:00
.prettierignore Add support for logging to console and files (#159) 2023-03-26 14:59:57 -04:00
.yarnrc.yml TypeScript v5 2023-04-08 22:29:40 -04:00
LICENSE Initial commit 2022-10-19 21:33:45 -04:00
package.json Bump version to v6.1.1 2023-04-12 01:28:23 +01:00
PeacockPatcher.exe Initial commit 2022-10-19 21:33:45 -04:00
readme.md Add credits section 2022-10-20 10:50:19 -04:00
tsconfig.json TypeScript v5 2023-04-08 22:29:40 -04:00
webstorm.config.js Update copyright years to 2023 2023-01-23 13:37:33 -05:00
yarn.lock Bump SMP version to v5.5.2 (#199) 2023-04-09 18:48:19 -04:00

The Peacock Project

Discord

The Peacock Project is a HITMAN World of Assassination Trilogy server replacement. The primary purpose is preservation of the game, but it also adds new features and content to the game, and allows for other enhancements to be made while in online mode.

Installation

Install Node.js. Use the Latest version, or the version specifically mentioned here: Version 18

Clone the repository where-ever you wish.

Open Windows terminal AS ADMINISTRATOR.

Install Yarn, by typing:

corepack enable

Then move to the folder where you cloned the repo to by using:

cd Folder/Path/Here

then install the dependencies by using:

yarn install

Usage

The project is bundled with a server running configuration. Run that when editing the project with the IDE of choice, and it should open.

We highly suggest you use WebStorm for development, but it is a paid product, so you may want to choose something like Visual Studio Code. WebStorm will provide a better experience for development, but VSCode will work just fine.

Contributing

Writing bug reports is cool. You should do that. Or update this readme whenever it's needed.

Thank you to people who have contributed!

License

Peacock is under the AGPL-3.0 license, see the license file for more info.

Credits

Peacock started off as a fork of LocalGhost by grappigegovert, and has since been rewritten in TypeScript, and a whole host of new features have been added. The codebase has been relicensed to AGPL-3.0 with explicit permission from grappigegovert.

The game is owned by IO Interactive, and is not affiliated with this project in any way.