feat(content): migrate stub actions to kind/group model
This commit is contained in:
@@ -7,6 +7,8 @@ export const actionDefs = [
|
||||
{
|
||||
id: 'gather_supplies',
|
||||
name: 'Gather supplies',
|
||||
kind: 'timed',
|
||||
group: { id: 'camp', label: 'Camp' },
|
||||
durationMs: 3000,
|
||||
yields: [{ resourceId: 'supplies', amount: 2 }],
|
||||
storyHint: 'Basic camp labor.',
|
||||
@@ -15,6 +17,8 @@ export const actionDefs = [
|
||||
{
|
||||
id: 'scout_path',
|
||||
name: 'Scout the path',
|
||||
kind: 'timed',
|
||||
group: { id: 'travel', label: 'Travel' },
|
||||
durationMs: 5000,
|
||||
costs: [{ resourceId: 'supplies', amount: 2 }],
|
||||
yields: [{ resourceId: 'coin', amount: 1 }],
|
||||
@@ -24,6 +28,8 @@ export const actionDefs = [
|
||||
{
|
||||
id: 'trade_supplies',
|
||||
name: 'Trade at camp',
|
||||
kind: 'timed',
|
||||
group: { id: 'camp', label: 'Camp' },
|
||||
durationMs: 4000,
|
||||
costs: [{ resourceId: 'supplies', amount: 3 }],
|
||||
yields: [{ resourceId: 'coin', amount: 2 }],
|
||||
@@ -34,6 +40,8 @@ export const actionDefs = [
|
||||
{
|
||||
id: 'fortify_camp',
|
||||
name: 'Fortify camp',
|
||||
kind: 'timed',
|
||||
group: { id: 'camp', label: 'Camp' },
|
||||
durationMs: 8000,
|
||||
costs: [
|
||||
{ resourceId: 'supplies', amount: 5 },
|
||||
@@ -47,6 +55,8 @@ export const actionDefs = [
|
||||
{
|
||||
id: 'push_onward',
|
||||
name: 'Push onward',
|
||||
kind: 'timed',
|
||||
group: { id: 'travel', label: 'Travel' },
|
||||
durationMs: 6000,
|
||||
costs: [{ resourceId: 'supplies', amount: 2 }],
|
||||
yields: [{ resourceId: 'coin', amount: 3 }],
|
||||
@@ -57,9 +67,32 @@ export const actionDefs = [
|
||||
{
|
||||
id: 'rest',
|
||||
name: 'Rest briefly',
|
||||
kind: 'loop',
|
||||
group: { id: 'camp_loop', label: 'Camp activities' },
|
||||
loopPriority: 0,
|
||||
durationMs: 2000,
|
||||
yields: [{ resourceId: 'supplies', amount: 1 }],
|
||||
storyHint: 'Catch your breath.',
|
||||
storyTooltip: 'Yields 1 Supply. Quick recovery.',
|
||||
storyTooltip: 'Idle upkeep — runs when nothing else is queued.',
|
||||
},
|
||||
{
|
||||
id: 'pick_high_road',
|
||||
name: 'Take the high road',
|
||||
kind: 'story',
|
||||
group: { id: 'fork', label: 'Crossroads' },
|
||||
storyChoiceId: 'pick_a',
|
||||
storyHint: 'Route A — high ground and supplies.',
|
||||
storyTooltip: 'Story fork: grants route A flag and resources. Hides river path.',
|
||||
yields: [],
|
||||
},
|
||||
{
|
||||
id: 'follow_river',
|
||||
name: 'Follow the river',
|
||||
kind: 'story',
|
||||
group: { id: 'fork', label: 'Crossroads' },
|
||||
storyChoiceId: 'pick_b',
|
||||
storyHint: 'Route B — river trade and coin.',
|
||||
storyTooltip: 'Story fork: grants route B flag. Hides high road path.',
|
||||
yields: [],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user