Skip to content

Add daily random quests#63

Open
boraini wants to merge 37 commits into
kuroppoi:developfrom
boraini:quests-without-android
Open

Add daily random quests#63
boraini wants to merge 37 commits into
kuroppoi:developfrom
boraini:quests-without-android

Conversation

@boraini
Copy link
Copy Markdown
Contributor

@boraini boraini commented Oct 26, 2024

  • Each player gets a random quest if they didn't have one previously or if 24 hours has passed since the last issue.
  • Random quests are written as classes which can leverage the randomobject package found in gameserver util.
  • Quests are written in such a way that it can also deserialize the quests implemented in the Ruby server
  • The handling of quests is backwards-compatible with the Ruby server (which is pretty clean in my opinion even if it uses a lot of lists, no matter what language is the server you have like a handful of JSON constructs after all).

For the configured quests to serialize, GameConfiguration should also deserialize YAML files starting with config-.

hardcoded-quests.json is not provided.

@boraini
Copy link
Copy Markdown
Contributor Author

boraini commented Oct 26, 2024

Right now the event is tracked with Inventory.addItem(…). It will instead be tracked in BlockMineRequest and Player.awardLoot(…)

@boraini
Copy link
Copy Markdown
Contributor Author

boraini commented Nov 17, 2024

Graptik and I think this can be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant