Item Management: Difference between revisions
imported>StDoodle |
|||
Line 22: | Line 22: | ||
{{Flink|boolean|is_tradeable|item|desc=Returns whether the item can be placed in the mall.}} | {{Flink|boolean|is_tradeable|item|desc=Returns whether the item can be placed in the mall.}} | ||
{{Flink|boolean|is_giftable|item|desc=Returns whether the item can be traded in a gift package.}} | {{Flink|boolean|is_giftable|item|desc=Returns whether the item can be traded in a gift package.}} | ||
{{Flink|boolean|have_display|desc=Returns whether you have a display case.}} | |||
{{Flink|boolean|is_displayable|item|desc=Returns whether the item can be put in a display case (true for all but quest items).}} | {{Flink|boolean|is_displayable|item|desc=Returns whether the item can be put in a display case (true for all but quest items).}} | ||
{{Flink|boolean|is_npc_item|item|desc=Returns whether the item can be bought from an NPC store.}} | {{Flink|boolean|is_npc_item|item|desc=Returns whether the item can be bought from an NPC store.}} | ||
Line 28: | Line 29: | ||
{{Flink|int|autosell_price|item|desc=Returns the autosell price of the item (0 for items that cannot be autosold).}} | {{Flink|int|autosell_price|item|desc=Returns the autosell price of the item (0 for items that cannot be autosold).}} | ||
{{Flink|string|to_plural|item|desc=Returns the plural of an item as a string.}} | {{Flink|string|to_plural|item|desc=Returns the plural of an item as a string.}} | ||
==Moving Items Around== | ==Moving Items Around== | ||
{{Flink|boolean|put_closet|int|{{opt|item}}}} | {{Flink|boolean|put_closet|int|{{opt|item}}}} |
Revision as of 15:24, 25 March 2010
Informational
int my_meat()
int my_closet_meat()
boolean have_chef()
boolean have_bartender()
int [item] get_campground()
boolean have_mushroom_plot()
int [item] get_ingredients( item )
int [item] get_related( item, string )
boolean is_tradeable( item )
boolean is_giftable( item )
boolean have_display()
boolean is_displayable( item )
boolean is_npc_item( item )
void refresh_stash()
boolean mall_price( item )
string to_plural( item )
Moving Items Around
boolean put_closet( int, [item] )
boolean put_display( int, item )
boolean put_stash( int, item )
boolean take_closet( int, [item] )
boolean take_display( int, item )
boolean take_stash( int, item )
boolean take_storage( int, item )
If the item parameter is omitted from put_closet() or take_closet(), meat is transferred instead of an item.
boolean put_shop( int, int, [int], item )
Acquiring & Using Items
boolean retrieve_item( int, item )
boolean hermit( int, item )
boolean use( int, item )
boolean eat( int, item )
boolean drink( int, item )
boolean create( int, item )
boolean buy( int, item )
boolean autosell( int, item )
int craft( string, int, item, item )