Skip to content
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

Draft schematics #1341

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
Draft

Conversation

madsboddum
Copy link
Member

@madsboddum madsboddum commented Jul 30, 2023

Relating to #589.

  • Server reboot no longer causes 0 draft schematics to appear in the datapad
  • Draft schematics appear in the datapad, based on the skills of the player
  • A way to find the default object name from an .iff file (turns out holocore already had this capability)
  • Component ingredients should have default object display names instead of paths to .iff files
  • Schematic group parsing and SDB
  • Show ingredients when clicking on the draft schematic
  • Holocore must have access to resource weights, like it has access to ingredients
  • Show resource weights when clicking on the draft schematic

@madsboddum
Copy link
Member Author

Current status is that it looks like this.

image

image

@Undercova Undercova added the FEATURE New feature or request label Jul 30, 2023
@Undercova Undercova added this to the Game Update ? - Artisan milestone Jul 30, 2023
@madsboddum
Copy link
Member Author

Regarding "A way to find the default object name from an .iff file", we apparently have a sdb with this information in it already.
serverdata/objects/object_data.sdb.

@madsboddum
Copy link
Member Author

Current status: Component names now resolve correctly.

image

…aticCombinedCrc class

We now persist object templates instead of the combined CRC, as these are not humanly readable.
It's a networking implementation detail and having it leak into the persistence layer doesn't seem like a good idea.
@madsboddum
Copy link
Member Author

madsboddum commented Nov 3, 2023

Example for resource weights of instruments:

const resource_weight[] OBJ_ASSEMBLY_ATTRIBUTE_RESOURCES = {
	new resource_weight("hitPoints", new resource_weight.weight[] {
		new resource_weight.weight(craftinglib.RESOURCE_QUALITY,      1)
		}
	)
};

@Undercova Undercova modified the milestones: Game Update ? - Artisan, Game Update ? - Crafting Nov 3, 2023
@Undercova
Copy link
Member

Resource weight:
https://hastebin.skyra.pw/yexadevoto.cc

@Undercova Undercova removed this from the [Crafting] Overview milestone Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Crafting] Schematics SDBs, tables and values FEATURE New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants