Changes

Jump to navigation Jump to search
→‎Inventory class: fix incorrect conversion
Line 2,676: Line 2,676:  
| <code>removeItemsFromInventory(id, count)</code>
 
| <code>removeItemsFromInventory(id, count)</code>
 
| &#32;
 
| &#32;
* To remove an item by ID, use <code>removeItemsFromInventory(id, count)</code>.
+
* To remove an item by ID, use <code>items.ReduceId(id, count)</code>.
 
* To deduct Golden Walnuts or Qi Gems, change the <samp>Game1.netWorldState.Value.GoldenWalnuts</samp> and <samp>Farmer.QiGems</samp> fields.
 
* To deduct Golden Walnuts or Qi Gems, change the <samp>Game1.netWorldState.Value.GoldenWalnuts</samp> and <samp>Farmer.QiGems</samp> fields.
 
|-
 
|-
translators
8,445

edits

Navigation menu