From e90fa8cc417d4610b0269f2b289a620d8219bf85 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 30 Apr 2019 07:55:40 +0900 Subject: [PATCH] Improve usability --- locales/ja-JP.yml | 2 +- src/client/app/common/scripts/aiscript.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 463c4cbf7..c732f841e 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2013,7 +2013,7 @@ pages: _numberToString: arg1: "数値" ref: "変数" - in: "入力" + in: "引数" _in: arg1: "スロット番号" fn: "関数" diff --git a/src/client/app/common/scripts/aiscript.ts b/src/client/app/common/scripts/aiscript.ts index 98c1da921..50c73421e 100644 --- a/src/client/app/common/scripts/aiscript.ts +++ b/src/client/app/common/scripts/aiscript.ts @@ -73,10 +73,10 @@ const funcDefs = { stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: faExchangeAlt, }, numberToString: { in: ['number'], out: 'string', category: 'convert', icon: faExchangeAlt, }, rannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: faDice, }, - random: { in: ['number'], out: 'boolean', category: 'random', icon: faDice, }, - randomPick: { in: [0], out: 0, category: 'random', icon: faDice, }, dailyRannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: faDice, }, + random: { in: ['number'], out: 'boolean', category: 'random', icon: faDice, }, dailyRandom: { in: ['number'], out: 'boolean', category: 'random', icon: faDice, }, + randomPick: { in: [0], out: 0, category: 'random', icon: faDice, }, dailyRandomPick: { in: [0], out: 0, category: 'random', icon: faDice, }, };