Skip to content

Commit e69f490

Browse files
committed
added param desc to take and use methods
1 parent 36f32a6 commit e69f490

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

take_methods.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
---@param amount number
2+
---@param amount number the amount to take
33
---@return void
44
function api_take_honeycore(amount) end
55

66
---
7-
---@param amount number
7+
---@param amount number the amount to take
88
---@return void
99
function api_take_money(amount) end

use_methods.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
---@param item_oid string
3-
---@param amount number
2+
---@param item_oid string the item to use up
3+
---@param amount number the amount to use up
44
---@return void
55
function api_use_item(item_oid, amount) end
66

77
---
8-
---@param item_oid string
8+
---@param item_oid string the item to use up
99
---@return number total amount of item in player inventory and opened menus
1010
function api_use_item(item_oid) end

0 commit comments

Comments
 (0)