變更

跳至導覽 跳至搜尋
無編輯摘要
第23行: 第23行:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! command
+
! 命令
! description
+
! 描述
 
!  
 
!  
 
|-
 
|-
第30行: 第30行:  
   |command = list_items
 
   |command = list_items
 
   |params  = {{o|S:search text}}
 
   |params  = {{o|S:search text}}
   |desc   = Shows a list of every item in the game (including those added by mods). The optional search text limits results to those which have all of the search words somewhere in their ID + type + name.
+
   |desc   = 列举游戏中所有物品(包括模组物品)。可选的搜索文本参数用于仅列举在ID+ 类型+ 名称中出现过全部关键词的物品。
    
   |example =
 
   |example =
第49行: 第49行:  
   |command = player_add name
 
   |command = player_add name
 
   |params  = {{t|S:item name}}, {{o|I:count}}, {{o|I:quality}}
 
   |params  = {{t|S:item name}}, {{o|I:count}}, {{o|I:quality}}
   |desc   = Adds an item to your inventory based on its name.
+
   |desc   = 依物品名称向背包添加物品
   −
Parameters:
+
参数:
* {{t|S:item name}} is the default or translated item name to spawn.
+
* {{t|S:item name}} 是欲生成的物品的默认名称/译名。
* {{o|I:count}} is how many items to add to your inventory (defaults to 1).
+
* {{o|I:count}} 是欲添加的数量(默认为1)
* {{o|I:quality}} is the quality of the item to create (defaults to normal). This can be one of <samp>0</samp> (normal), <samp>1</samp> (silver), <samp>2</samp> (gold), or 4 (<samp>iridium</samp>).
+
* {{o|I:quality}} 是物品的品质(默认为普通品质)。允许使用<samp>0</samp> (普通)、<samp>1</samp> (银星)、<samp>2</samp> (金星)、<samp>4</samp> (铱星)。
   |example = <code>player_add name "Galaxy Sword"</code> will create a Galaxy Sword.; <code>player_add name "Stir Fry" 10 4</code> will create 10 iridium-quality [[Stir Fry|stir fry]] dishes.
+
 
 +
   |example = <code>player_add name "Galaxy Sword"</code> 创建银河剑; <code>player_add name "Stir Fry" 10 4</code> 创建10个铱星品质的[[ 蔬菜什锦盖饭]]
 
}}
 
}}
 
{{/cmd
 
{{/cmd
 
   |command = player_add
 
   |command = player_add
 
   |params  = {{t|I:item ID}}, {{o|I:count}}, {{o|I:quality}}
 
   |params  = {{t|I:item ID}}, {{o|I:count}}, {{o|I:quality}}
   |desc   = Adds an item to your inventory based on its item ID.
+
   |desc   = 依物品ID向背包添加物品。
 +
 
 +
参数:
 +
* {{t|I:item ID}} 是欲添加物品的独有的ID(可通过<samp>list_items</samp>命令给出)。
 +
* {{o|I:count}} 是欲添加的数量(默认为1)。
 +
* {{o|I:quality}} 是物品的品质(默认为普通品质)。允许使用<samp>0</samp>(普通)、<samp>1</samp>(银星)、<samp>2</samp>(金星)、<samp>4</samp>(铱星)。
   −
Parameters:
+
   |example = <code>player_add (O)246</code> 创建一个[[ 大麦粉]] <code>player_add (O)128 10 4</code> 创建10条铱星品质的[[ 河豚]]
* {{t|I:item ID}} is the unique ID for the item to add (as shown by the <samp>list_items</samp> command).
  −
* {{o|I:count}} is how many items to add to your inventory (defaults to 1).
  −
* {{o|I:quality}} is the quality of the item to create (defaults to normal). This can be one of <samp>0</samp> (normal), <samp>1</samp> (silver), <samp>2</samp> (gold), or 4 (<samp>iridium</samp>).
  −
   |example = <code>player_add (O)246</code> will create a [[Wheat Flour|wheat flour]] item.;<code>player_add (O)128 10 4</code> would create 10 iridium-quality [[pufferfish]].
   
}}
 
}}
 
{{/cmd
 
{{/cmd
 
   |command = player_setmoney
 
   |command = player_setmoney
 
   |params  = {{t|I:amount}}
 
   |params  = {{t|I:amount}}
   |desc   = Changes the player's total money to the given amount of gold.
+
   |desc   = 将玩家的总钱数设为指定值。
   |example = <code>player_setmoney 5000</code> will change your total money to 5000g.
+
   |example = <code>player_setmoney 5000</code> 设定总钱数为5000金。
 
}}
 
}}
 
|}
 
|}
   −
===Player===
+
=== 玩家===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
39

次編輯

導覽菜單