[Tut] How to make FurniData + SQL's.

Navigation

Posting Freak
Feb 15, 2012
715
137
It's pretty simple.
This is for Phoenix.

Download the SWF file, you want to use.

The FurniData you give it an ID [Identification].

Here's a standard form for a FurniData.

Code:
["s","ID","SWFNAME","ID","0","1","1","",""NAME","DESCRIPTION","","-1","-1"],

ItemID: What ID you give the Furniture.
SWF-Name: Same as the SWF File name.
ItemID: Furniture ID.
Description: Description of Furniture.

Example:

Code:
["s","51264","DEGG","51264","0","1","1","",""Dino Egg","Example for a Dino Egg!","","-1","-1"],

Making the SQL.

Furniture.

Code:
INSERT INTO `furniture` (`id`, `public_name`, `item_name`, `type`, `width`, `length`, `stack_height`, `can_stack`, `can_sit`, `is_walkable`, `sprite_id`, `allow_recycle`, `allow_trade`, `allow_marketplace_sell`, `allow_gift`, `allow_inventory_stack`, `interaction_type`, `interaction_modes_count`, `vending_ids`) VALUES
(id, 'SWFname', 'SWFname', 's', 1, 1, 1, '0', '0', '0', ID, '1', '1', '1', '1', '1', 'default', 1, '0', '0')

Catalogue.

Code:
INSERT INTO `catalog_items` (`id`, `page_id`, `item_ids`, `catalog_name`, `cost_credits`, `cost_pixels`, `cost_snow`, `amount`) VALUES


Credits:

I didn't write this myself, I brought it here, and smartened it up.

'Doghotel': 80% For ripping from Unknown.

'Navigation': 20% For editing.
 

Users who are viewing this thread

Top