1
0
Fork 0

chore(technologies): describe research cost resource logistics requirement

This commit is contained in:
Jason Fraley 2026-09-22 14:50:46 -04:00
parent 0617794da7
commit 8213d76816
2 changed files with 7 additions and 0 deletions

View file

@ -132,6 +132,10 @@ export const Technologies: CollectionConfig = {
{
name: "resources",
type: "array",
admin: {
description:
"These resources are consumed when this technology is researched. If a resource is not listed, you can add a new one, but creating new resources requires the Logistics qualification. Without it, the save will fail.",
},
fields: [
{
name: "resource",

View file

@ -994,6 +994,9 @@ export interface Technology {
| null;
};
researchCosts: {
/**
* These resources are consumed when this technology is researched. If a resource is not listed, you can add a new one, but creating new resources requires the Logistics qualification. Without it, the save will fail.
*/
resources?:
| {
resource: number | Resource;