1.9
This commit is contained in:
parent
fc7c94bd69
commit
2cc2f003df
71 changed files with 3359 additions and 1027 deletions
|
|
@ -535,6 +535,22 @@ const TARINAI_ACTION_DEFINITIONS = [
|
|||
createApproachMateActionSpec(),
|
||||
createFightRivalActionSpec(),
|
||||
createIntimidateEnemyActionSpec(),
|
||||
{
|
||||
id: "play_seesaw",
|
||||
need: "fulfill",
|
||||
subNeed: "social_play",
|
||||
state: "play_seesaw",
|
||||
label: "\u30b7\u30fc\u30bd\u30fc\u3067\u904a\u307c\u3046\u3068\u3057\u3066\u3044\u308b",
|
||||
phrase: "\u4e00\u7dd2\u306b\u30b7\u30fc\u30bd\u30fc\u3067\u904a\u3093\u3060",
|
||||
weight: 31,
|
||||
timerBacked: true,
|
||||
selectTarget(t, world) { return globalThis.TarinaiSeesawSystem?.findAvailable?.(world, t, 620)?.item || null; },
|
||||
canStart(t, world, ctx = {}) { return !!(ctx.target ?? this.selectTarget(t, world, ctx)); },
|
||||
start(t, world, ctx = {}) { return Boolean(globalThis.TarinaiSeesawSystem?.start?.(t, world, ctx.target ?? this.selectTarget(t, world, ctx))); },
|
||||
tick(t, world) { return globalThis.TarinaiSeesawSystem?.tickAction?.(t, world) ?? false; },
|
||||
finish(t) { globalThis.TarinaiSeesawSystem?.release?.(t); return true; },
|
||||
fail(t) { globalThis.TarinaiSeesawSystem?.release?.(t); return false; },
|
||||
},
|
||||
{
|
||||
id: "play",
|
||||
need: "fulfill",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue