ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示

/doc/lfuns/query_weight

HOME :: doc :: lfuns :: query_weight

query_weight(5)        ES2 Mudlib Functions       query_weight(5)

NNAAMMEE
       query_weight() - get the net weight of an item.

SSYYNNOOPPSSIISS
       int query_weight();

DDEESSCCRRIIPPTTIIOONN
       This  function  returns  the  net weight of an item set by
       set_weight(). The actual weight can be obtained by calling
       weight(),  which  should  be  used  in most case that uses
       weight of an item.

       (Actual weight includes the total  weight  of  the  item's
       inventory)

AAPPPPLLIIEEDD
       F_MOVE

SSEEEE AALLSSOO
       set_weight(), weight()

ES2                        11 Apr 1996                          1

HOME :: doc :: lfuns :: query_weight