Libcgmds e Cheatsheet (Polar)

From Trickster Development Wiki

NOTE: These values are different in the S2 files, please view your libcmgds_e for that information using TO-Toolbox![edit | edit source]

Cheatsheet by Mewsie :3c

KEY[edit | edit source]

value in libcmgds_e

value = description of value

Note: About the value(s)

GOODS[edit | edit source]

goods_code = item index # from ItemParam (or set item id if it's a set)

goods_name = name of goods

goods_desc = optional to input anything between "", doesn't appear to do anything

goods_set_count = # of items in a set (if it's a set)

goods_limit_use = Timer on item

0 = Boxes (Single purchase), untimed equips

1 = Timed Items e.g. Driller Boy, Capes, Sprints

2 = Fashion, Boxes (Untimed; bulk purchases)

goods_limit_time = # in hrs

goods_cash_price = MS price

goods_shop_new = flag for the "new" stamp

0 = Off

1 = On

goods_shop_popular = flag for the "popular" stamp

0 = Off

1 = On

goods_category = Tells the XML reader which MyShop store to populate the item with

MyShop[edit | edit source]

1 = Regular MyShop

MyCamp[edit | edit source]

1 = Set / Space

2 = Furniture / Special

goods_category0 = MyShop Category Tab the item is in

MyShop[edit | edit source]

11 = Special (MyShop)

12 = Equipment (MyShop)

13 = Enhance (MyShop)

14 = Use (MyShop)

15 = Fashion (MyShop)

MyCamp[edit | edit source]

1= Space

2= BG

3= Furniture

4= Furniture / Props

5= Special

goods_category1 = MyShop Subcategory the item is in

MyShop[edit | edit source]

Special pt 1 (Note: Special Box 113)[edit | edit source]

101 = New Item

102 = Recommended Item

103 = Equipment Set

104 = Special Set

113 = Special Box (Special)

Note: Yes, really. And it skips 112--I think that may be the "favorites" tab, but that is merely speculation.

Equipment[edit | edit source]

105 = Head

106 = Mask

107 = Accessory

108 = Cape

109 = Weapon

110 = Hat

111 = Shield (Equipment)

Enhance[edit | edit source]

114 = Pet (Enhance)

115 = Drill

116 = Pet Reinforce

117 = Guardian

118 = RuneStone

Use[edit | edit source]

Note: Category is scattered! I put the number of the heading on there next to it for your easy reference later!!!!

120 = Modifiers (2)

121 = Reset Items (1)

123 = Scroll (4)

124 = Special (7)

125 = Hair Dye (6)

126 = Potions (3)

127 = Compound Items (5)

Fashion[edit | edit source]

128 = Bunny / Paula

129 = Buffalo

130 = Sheep

131 = Dragon

132 = Fox

133 = Lion

134 = Cat

135 = Raccoon

MyCamp[edit | edit source]

It appears most of these sortable attributes may be set in either the XML or the NRI itself for MyCamp items.

Note: Remember, this is for goods_category1 = MyShop Subcategory the item is in!

0=Sort by file properties?

Set[edit | edit source]

(all of mine were set to issell=0 so I couldn't check this just yet, next myshop update!)

Props[edit | edit source]

1=S-Electrns

2=Wall Deco

3=Floor Deco

4=Carpet

Furniture[edit | edit source]

1=Bed

2=Rack

3=Table / Chair(? Why)

4=Chair

5=Furnishing

6=Kit/Bath

BG[edit | edit source]

0=Camp

1=Camp

3=Skin

4=WP

5=Floor

6=Window

7=Door

Space[edit | edit source]

1=Floor, Wall

2=Partition

Special[edit | edit source]

1 = Functional Furniture

goods_category2 = It appears this has a function for sorting for MyCamp only.

I only found one value for this in the brief search I did.

BG[edit | edit source]

2 = Stripe WP

Special[edit | edit source]

goods_limit_desc = Description of limit

goods_char_level = minimum level requirement. 1 to 400 must be used.

goods_char_sex = Localize purchases based on the character's class traits; gender-specific

0 = No Restriction

1 = Game-coded Males Only

2 = Game-coded Females Only

goods_char_type = Character type to flag it based on (Power/Charm vs Magic/Sense vs Paula vs Universal)

0=MyCamp Items, Universal

1=Raccoon, Cat, Bunny, Buffalo

2=Lion, Fox, Sheep, Dragon

4=Lion, Fox, Sheep, Dragon

8=Raccoon, Cat, Bunny, Buffalo

9=Paula

14= ? Used once for Rare Coplin box 190 - Unsure value

15= Universal as well like MyCamp? Used in Custom Boxes

goods_issell = If the listing being used or not

0 = No

1 = Yes and it's live

goods_created = goods creation date in YYYMMDD format

goods_filtercode1-4 = Interesting thing that I believe allows you to make alternate search labels? Otherwise best left at 0, but 1-4 do need to be listed, regardless of use.

goods_filterlevel = Probably would need experimenting with the filtercode. Otherwise best left at 0.

goods_discount_price = If you set up automatic discounts on your server, this would be a good idea to set now. I'm not sure how to, don't ask me.

discount_start_date = here, too, in YYYY-MM-DD HH:MM:SS format. Placeholder is 1900-01-01 00:00:00

discount_end_date = here, too, in YYYY-MM-DD HH:MM:SS format. Placeholder is 1900-01-01 00:00:00

discount_display_date = Always left at "" for me in nearly every row I can find. I am not sure if it wants the YYYY-MM-DD HH:MM:SS or YYYMMDD format in order to work.

GOODS_LIST[edit | edit source]

You MUST make one row of these for each item ID in the set, sans the Set ID itself which would be the GOODS we made above.

item_index = ItemParam ID

goods_name = First (or next) Item in set

item_count = however many you want to grant

item_class = Item Class from ItemParam

0 = MyCamp Items ONLY

1 = Item

2 = Equip

3 = Drill

preview_x / y / z / d = Always left at "" for me. Spitballing in the dark, I'd assume this overrides the left click preview for the equip display.

goods_list_code = SEPERATE LISTING CODE FROM ITEMPARAM ID; can make this number out of thin air more or less but the file seems to want to move sequentially

parents_list_code = set as goods_list_code