Module:Files/Objects
From CloudModding OoT Wiki
Documentation for this module may be created at Module:Files/Objects/doc
local p = {}
local t =
{
[1]="gameplay_keep",
[2]="gameplay_field_keep",
[3]="gameplay_dangeon_keep",
[6]="object_human",
[7]="object_okuta",
[8]="object_crow",
[9]="object_poh",
[10]="object_dy_obj",
[11]="object_wallmaster",
[12]="object_dodongo",
[13]="object_firefly",
[14]="object_box",
[15]="object_fire",
[18]="object_bubble",
[19]="object_niw",
[20]="object_link_boy",
[21]="object_link_child",
[22]="object_tite",
[23]="object_reeba",
[24]="object_peehat",
[25]="object_kingdodongo",
[26]="object_horse",
[27]="object_zf",
[28]="object_goma",
[29]="object_zl1",
[30]="object_gol",
[31]="object_dodojr",
[32]="object_torch2",
[33]="object_bl",
[34]="object_tp",
[35]="object_oA1",
[36]="object_st",
[37]="object_bw",
[38]="object_ei",
[39]="object_horse_normal",
[40]="object_oB1",
[41]="object_o_anime",
[42]="object_spot04_objects",
[43]="object_ddan_objects",
[44]="object_hidan_objects",
[45]="object_horse_ganon",
[46]="object_oA2",
[47]="object_spot00_objects",
[48]="object_mb",
[49]="object_bombf",
[50]="object_sk2",
[51]="object_oE1",
[52]="object_oE_anime",
[53]="object_oE2",
[54]="object_ydan_objects",
[55]="object_gnd",
[56]="object_am",
[57]="object_dekubaba",
[59]="object_oA3",
[60]="object_oA4",
[61]="object_oA5",
[62]="object_oA6",
[63]="object_oA7",
[64]="object_jj",
[65]="object_oA8",
[66]="object_oA9",
[67]="object_oB2",
[68]="object_oB3",
[69]="object_oB4",
[70]="object_horse_zelda",
[71]="object_opening_demo1",
[72]="object_warp1",
[73]="object_b_heart",
[74]="object_dekunuts",
[75]="object_oE3",
[76]="object_oE4",
[77]="object_menkuri_objects",
[78]="object_oE5",
[79]="object_oE6",
[80]="object_oE7",
[81]="object_oE8",
[82]="object_oE9",
[83]="object_oE10",
[84]="object_oE11",
[85]="object_oE12",
[86]="object_vali",
[87]="object_oA10",
[88]="object_oA11",
[89]="object_mizu_objects",
[90]="object_fhg",
[91]="object_ossan",
[92]="object_mori_hineri1",
[93]="object_Bb",
[94]="object_toki_objects",
[95]="object_yukabyun",
[96]="object_zl2",
[97]="object_mjin",
[98]="object_mjin_flash",
[99]="object_mjin_dark",
[100]="object_mjin_flame",
[101]="object_mjin_ice",
[102]="object_mjin_soul",
[103]="object_mjin_wind",
[104]="object_mjin_oka",
[105]="object_haka_objects",
[106]="object_spot06_objects",
[107]="object_ice_objects",
[108]="object_relay_objects",
[109]="object_po_field",
[110]="object_po_composer",
[111]="object_mori_hineri1a",
[112]="object_mori_hineri2",
[113]="object_mori_hineri2a",
[114]="object_mori_objects",
[115]="object_mori_tex",
[116]="object_spot08_obj",
[117]="object_warp2",
[118]="object_hata",
[119]="object_bird",
[124]="object_wood02",
[129]="object_lightbox",
[130]="object_pu_box",
[133]="object_trap",
[134]="object_vase",
[135]="object_im",
[136]="object_ta",
[137]="object_tk",
[138]="object_xc",
[139]="object_vm",
[140]="object_bv",
[141]="object_hakach_objects",
[142]="object_efc_crystal_light",
[143]="object_efc_fire_ball",
[144]="object_efc_flash",
[145]="object_efc_lgt_shower",
[146]="object_efc_star_field",
[147]="object_god_lgt",
[148]="object_light_ring",
[149]="object_triforce_spot",
[150]="object_bdan_objects",
[151]="object_sd",
[152]="object_rd",
[153]="object_po_sisters",
[154]="object_heavy_object",
[155]="object_gndd",
[156]="object_fd",
[157]="object_du",
[158]="object_fw",
[159]="object_medal",
[160]="object_horse_link_child",
[161]="object_spot02_objects",
[162]="object_haka",
[163]="object_ru1",
[164]="object_syokudai",
[165]="object_fd2",
[166]="object_dh",
[167]="object_rl",
[168]="object_efc_tw",
[169]="object_demo_tre_lgt",
[170]="object_gi_key",
[171]="object_mir_ray",
[172]="object_brob",
[173]="object_gi_jewel",
[174]="object_spot09_obj",
[175]="object_spot18_obj",
[176]="object_bdoor",
[177]="object_spot17_obj",
[178]="object_shop_dungen",
[179]="object_nb",
[180]="object_mo",
[181]="object_sb",
[182]="object_gi_melody",
[183]="object_gi_heart",
[184]="object_gi_compass",
[185]="object_gi_bosskey",
[186]="object_gi_medal",
[187]="object_gi_nuts",
[188]="object_sa",
[189]="object_gi_hearts",
[190]="object_gi_arrowcase",
[191]="object_gi_bombpouch",
[192]="object_in",
[193]="object_tr",
[194]="object_spot16_obj",
[195]="object_oE1s",
[196]="object_oE4s",
[197]="object_os_anime",
[198]="object_gi_bottle",
[199]="object_gi_stick",
[200]="object_gi_map",
[201]="object_oF1d_map",
[202]="object_ru2",
[203]="object_gi_shield_1",
[204]="object_dekujr",
[205]="object_gi_magicpot",
[206]="object_gi_bomb_1",
[207]="object_oF1s",
[208]="object_ma2",
[209]="object_gi_purse",
[210]="object_hni",
[211]="object_tw",
[212]="object_rr",
[213]="object_bxa",
[214]="object_anubice",
[215]="object_gi_gerudo",
[216]="object_gi_arrow",
[217]="object_gi_bomb_2",
[218]="object_gi_egg",
[219]="object_gi_scale",
[220]="object_gi_shield_2",
[221]="object_gi_hookshot",
[222]="object_gi_ocarina",
[223]="object_gi_milk",
[224]="object_ma1",
[225]="object_ganon",
[226]="object_sst",
[227]="object_ny",
[229]="object_ny",
[230]="object_fr",
[231]="object_gi_pachinko",
[232]="object_gi_boomerang",
[233]="object_gi_bow",
[234]="object_gi_glasses",
[235]="object_gi_liquid",
[236]="object_ani",
[237]="object_demo_6k",
[238]="object_gi_shield_3",
[239]="object_gi_letter",
[240]="object_spot15_obj",
[241]="object_jya_obj",
[242]="object_gi_clothes",
[243]="object_gi_bean",
[244]="object_gi_fish",
[245]="object_gi_saw",
[246]="object_gi_hammer",
[247]="object_gi_grass",
[248]="object_gi_longsword",
[249]="object_spot01_objects",
[250]="object_md",
[251]="object_md",
[252]="object_km1",
[253]="object_kw1",
[254]="object_zo",
[255]="object_kz",
[256]="object_umajump",
[257]="object_masterkokiri",
[258]="object_masterkokirihead",
[259]="object_mastergolon",
[260]="object_masterzoora",
[261]="object_aob",
[262]="object_ik",
[263]="object_ahg",
[264]="object_cne",
[265]="object_gi_niwatori",
[266]="object_skj",
[267]="object_gi_bottle_letter",
[268]="object_bji",
[269]="object_bba",
[270]="object_gi_ocarina_0",
[271]="object_ds",
[272]="object_ane",
[273]="object_boj",
[274]="object_spot03_object",
[275]="object_spot07_object",
[276]="object_fz",
[277]="object_bob",
[278]="object_ge1",
[279]="object_yabusame_point",
[280]="object_gi_boots_2",
[281]="object_gi_seed",
[282]="object_gnd_magic",
[283]="object_d_elevator",
[284]="object_d_hsblock",
[285]="object_d_lift",
[286]="object_mamenoki",
[287]="object_goroiwa",
[289]="object_toryo",
[290]="object_daiku",
[292]="object_nwc",
[293]="object_blkobj",
[294]="object_gm",
[295]="object_ms",
[296]="object_hs",
[297]="object_ingate",
[298]="object_lightswitch",
[299]="object_kusa",
[300]="object_tsubo",
[301]="object_gi_gloves",
[302]="object_gi_coin",
[303]="object_kanban",
[304]="object_gjyo_objects",
[305]="object_owl",
[306]="object_mk",
[307]="object_fu",
[308]="object_gi_ki_tan_mask",
[309]="object_gi_redead_mask",
[310]="object_gi_skj_mask",
[311]="object_gi_rabit_mask",
[312]="object_gi_truth_mask",
[313]="object_ganon_objects",
[314]="object_siofuki",
[315]="object_stream",
[316]="object_mm",
[317]="object_fa",
[318]="object_os",
[319]="object_gi_eye_lotion",
[320]="object_gi_powder",
[321]="object_gi_mushroom",
[322]="object_gi_ticketstone",
[323]="object_gi_brokensword",
[324]="object_js",
[325]="object_cs",
[326]="object_gi_prescription",
[327]="object_gi_bracelet",
[328]="object_gi_soldout",
[329]="object_gi_frog",
[330]="object_mag",
[331]="object_door_gerudo",
[332]="object_gt",
[333]="object_efc_erupc",
[334]="object_zl2_anime1",
[335]="object_zl2_anime2",
[336]="object_gi_golonmask",
[337]="object_gi_zoramask",
[338]="object_gi_gerudomask",
[339]="object_ganon2",
[340]="object_ka",
[341]="object_ts",
[342]="object_zg",
[343]="object_gi_hoverboots",
[344]="object_gi_m_arrow",
[345]="object_ds2",
[346]="object_ec",
[347]="object_fish",
[348]="object_gi_sutaru",
[349]="object_gi_goddess",
[350]="object_ssh",
[351]="object_bigokuta",
[352]="object_bg",
[353]="object_spot05_objects",
[354]="object_spot12_obj",
[355]="object_bombiwa",
[356]="object_hintnuts",
[357]="object_rs",
[358]="object_spot00_break",
[359]="object_gla",
[360]="object_shopnuts",
[361]="object_geldb",
[362]="object_gr",
[363]="object_dog",
[364]="object_jya_iron",
[365]="object_jya_door",
[367]="object_spot11_obj",
[368]="object_kibako2",
[369]="object_dns",
[370]="object_dnk",
[371]="object_gi_fire",
[372]="object_gi_insect",
[373]="object_gi_butterfly",
[374]="object_gi_ghost",
[375]="object_gi_soul",
[376]="object_bowl",
[377]="object_demo_kekkai",
[378]="object_efc_doughnut",
[379]="object_gi_dekupouch",
[380]="object_ganon_anime1",
[381]="object_ganon_anime2",
[382]="object_ganon_anime3",
[383]="object_gi_rupy",
[384]="object_spot01_matoya",
[385]="object_spot01_matoyab",
[386]="object_mu",
[387]="object_wf",
[388]="object_skb",
[389]="object_gj",
[390]="object_geff",
[391]="object_haka_door",
[392]="object_gs",
[393]="object_ps",
[394]="object_bwall",
[395]="object_cow",
[396]="object_cob",
[397]="object_gi_sword_1",
[398]="object_door_killer",
[399]="object_ouke_haka",
[400]="object_timeblock",
[401]="object_zl4",
-- Reverse ref
["gameplay_keep"]=1,
["gameplay_field_keep"]=2,
["gameplay_dangeon_keep"]=3,
["object_human"]=6,
["object_okuta"]=7,
["object_crow"]=8,
["object_poh"]=9,
["object_dy_obj"]=10,
["object_wallmaster"]=11,
["object_dodongo"]=12,
["object_firefly"]=13,
["object_box"]=14,
["object_fire"]=15,
["object_bubble"]=18,
["object_niw"]=19,
["object_link_boy"]=20,
["object_link_child"]=21,
["object_tite"]=22,
["object_reeba"]=23,
["object_peehat"]=24,
["object_kingdodongo"]=25,
["object_horse"]=26,
["object_zf"]=27,
["object_goma"]=28,
["object_zl1"]=29,
["object_gol"]=30,
["object_dodojr"]=31,
["object_torch2"]=32,
["object_bl"]=33,
["object_tp"]=34,
["object_oA1"]=35,
["object_st"]=36,
["object_bw"]=37,
["object_ei"]=38,
["object_horse_normal"]=39,
["object_oB1"]=40,
["object_o_anime"]=41,
["object_spot04_objects"]=42,
["object_ddan_objects"]=43,
["object_hidan_objects"]=44,
["object_horse_ganon"]=45,
["object_oA2"]=46,
["object_spot00_objects"]=47,
["object_mb"]=48,
["object_bombf"]=49,
["object_sk2"]=50,
["object_oE1"]=51,
["object_oE_anime"]=52,
["object_oE2"]=53,
["object_ydan_objects"]=54,
["object_gnd"]=55,
["object_am"]=56,
["object_dekubaba"]=57,
["object_oA3"]=59,
["object_oA4"]=60,
["object_oA5"]=61,
["object_oA6"]=62,
["object_oA7"]=63,
["object_jj"]=64,
["object_oA8"]=65,
["object_oA9"]=66,
["object_oB2"]=67,
["object_oB3"]=68,
["object_oB4"]=69,
["object_horse_zelda"]=70,
["object_opening_demo1"]=71,
["object_warp1"]=72,
["object_b_heart"]=73,
["object_dekunuts"]=74,
["object_oE3"]=75,
["object_oE4"]=76,
["object_menkuri_objects"]=77,
["object_oE5"]=78,
["object_oE6"]=79,
["object_oE7"]=80,
["object_oE8"]=81,
["object_oE9"]=82,
["object_oE10"]=83,
["object_oE11"]=84,
["object_oE12"]=85,
["object_vali"]=86,
["object_oA10"]=87,
["object_oA11"]=88,
["object_mizu_objects"]=89,
["object_fhg"]=90,
["object_ossan"]=91,
["object_mori_hineri1"]=92,
["object_Bb"]=93,
["object_toki_objects"]=94,
["object_yukabyun"]=95,
["object_zl2"]=96,
["object_mjin"]=97,
["object_mjin_flash"]=98,
["object_mjin_dark"]=99,
["object_mjin_flame"]=100,
["object_mjin_ice"]=101,
["object_mjin_soul"]=102,
["object_mjin_wind"]=103,
["object_mjin_oka"]=104,
["object_haka_objects"]=105,
["object_spot06_objects"]=106,
["object_ice_objects"]=107,
["object_relay_objects"]=108,
["object_po_field"]=109,
["object_po_composer"]=110,
["object_mori_hineri1a"]=111,
["object_mori_hineri2"]=112,
["object_mori_hineri2a"]=113,
["object_mori_objects"]=114,
["object_mori_tex"]=115,
["object_spot08_obj"]=116,
["object_warp2"]=117,
["object_hata"]=118,
["object_bird"]=119,
["object_wood02"]=124,
["object_lightbox"]=129,
["object_pu_box"]=130,
["object_trap"]=133,
["object_vase"]=134,
["object_im"]=135,
["object_ta"]=136,
["object_tk"]=137,
["object_xc"]=138,
["object_vm"]=139,
["object_bv"]=140,
["object_hakach_objects"]=141,
["object_efc_crystal_light"]=142,
["object_efc_fire_ball"]=143,
["object_efc_flash"]=144,
["object_efc_lgt_shower"]=145,
["object_efc_star_field"]=146,
["object_god_lgt"]=147,
["object_light_ring"]=148,
["object_triforce_spot"]=149,
["object_bdan_objects"]=150,
["object_sd"]=151,
["object_rd"]=152,
["object_po_sisters"]=153,
["object_heavy_object"]=154,
["object_gndd"]=155,
["object_fd"]=156,
["object_du"]=157,
["object_fw"]=158,
["object_medal"]=159,
["object_horse_link_child"]=160,
["object_spot02_objects"]=161,
["object_haka"]=162,
["object_ru1"]=163,
["object_syokudai"]=164,
["object_fd2"]=165,
["object_dh"]=166,
["object_rl"]=167,
["object_efc_tw"]=168,
["object_demo_tre_lgt"]=169,
["object_gi_key"]=170,
["object_mir_ray"]=171,
["object_brob"]=172,
["object_gi_jewel"]=173,
["object_spot09_obj"]=174,
["object_spot18_obj"]=175,
["object_bdoor"]=176,
["object_spot17_obj"]=177,
["object_shop_dungen"]=178,
["object_nb"]=179,
["object_mo"]=180,
["object_sb"]=181,
["object_gi_melody"]=182,
["object_gi_heart"]=183,
["object_gi_compass"]=184,
["object_gi_bosskey"]=185,
["object_gi_medal"]=186,
["object_gi_nuts"]=187,
["object_sa"]=188,
["object_gi_hearts"]=189,
["object_gi_arrowcase"]=190,
["object_gi_bombpouch"]=191,
["object_in"]=192,
["object_tr"]=193,
["object_spot16_obj"]=194,
["object_oE1s"]=195,
["object_oE4s"]=196,
["object_os_anime"]=197,
["object_gi_bottle"]=198,
["object_gi_stick"]=199,
["object_gi_map"]=200,
["object_oF1d_map"]=201,
["object_ru2"]=202,
["object_gi_shield_1"]=203,
["object_dekujr"]=204,
["object_gi_magicpot"]=205,
["object_gi_bomb_1"]=206,
["object_oF1s"]=207,
["object_ma2"]=208,
["object_gi_purse"]=209,
["object_hni"]=210,
["object_tw"]=211,
["object_rr"]=212,
["object_bxa"]=213,
["object_anubice"]=214,
["object_gi_gerudo"]=215,
["object_gi_arrow"]=216,
["object_gi_bomb_2"]=217,
["object_gi_egg"]=218,
["object_gi_scale"]=219,
["object_gi_shield_2"]=220,
["object_gi_hookshot"]=221,
["object_gi_ocarina"]=222,
["object_gi_milk"]=223,
["object_ma1"]=224,
["object_ganon"]=225,
["object_sst"]=226,
["object_ny"]=227,
["object_ny"]=229,
["object_fr"]=230,
["object_gi_pachinko"]=231,
["object_gi_boomerang"]=232,
["object_gi_bow"]=233,
["object_gi_glasses"]=234,
["object_gi_liquid"]=235,
["object_ani"]=236,
["object_demo_6k"]=237,
["object_gi_shield_3"]=238,
["object_gi_letter"]=239,
["object_spot15_obj"]=240,
["object_jya_obj"]=241,
["object_gi_clothes"]=242,
["object_gi_bean"]=243,
["object_gi_fish"]=244,
["object_gi_saw"]=245,
["object_gi_hammer"]=246,
["object_gi_grass"]=247,
["object_gi_longsword"]=248,
["object_spot01_objects"]=249,
["object_md"]=250,
["object_md"]=251,
["object_km1"]=252,
["object_kw1"]=253,
["object_zo"]=254,
["object_kz"]=255,
["object_umajump"]=256,
["object_masterkokiri"]=257,
["object_masterkokirihead"]=258,
["object_mastergolon"]=259,
["object_masterzoora"]=260,
["object_aob"]=261,
["object_ik"]=262,
["object_ahg"]=263,
["object_cne"]=264,
["object_gi_niwatori"]=265,
["object_skj"]=266,
["object_gi_bottle_letter"]=267,
["object_bji"]=268,
["object_bba"]=269,
["object_gi_ocarina_0"]=270,
["object_ds"]=271,
["object_ane"]=272,
["object_boj"]=273,
["object_spot03_object"]=274,
["object_spot07_object"]=275,
["object_fz"]=276,
["object_bob"]=277,
["object_ge1"]=278,
["object_yabusame_point"]=279,
["object_gi_boots_2"]=280,
["object_gi_seed"]=281,
["object_gnd_magic"]=282,
["object_d_elevator"]=283,
["object_d_hsblock"]=284,
["object_d_lift"]=285,
["object_mamenoki"]=286,
["object_goroiwa"]=287,
["object_toryo"]=289,
["object_daiku"]=290,
["object_nwc"]=292,
["object_blkobj"]=293,
["object_gm"]=294,
["object_ms"]=295,
["object_hs"]=296,
["object_ingate"]=297,
["object_lightswitch"]=298,
["object_kusa"]=299,
["object_tsubo"]=300,
["object_gi_gloves"]=301,
["object_gi_coin"]=302,
["object_kanban"]=303,
["object_gjyo_objects"]=304,
["object_owl"]=305,
["object_mk"]=306,
["object_fu"]=307,
["object_gi_ki_tan_mask"]=308,
["object_gi_redead_mask"]=309,
["object_gi_skj_mask"]=310,
["object_gi_rabit_mask"]=311,
["object_gi_truth_mask"]=312,
["object_ganon_objects"]=313,
["object_siofuki"]=314,
["object_stream"]=315,
["object_mm"]=316,
["object_fa"]=317,
["object_os"]=318,
["object_gi_eye_lotion"]=319,
["object_gi_powder"]=320,
["object_gi_mushroom"]=321,
["object_gi_ticketstone"]=322,
["object_gi_brokensword"]=323,
["object_js"]=324,
["object_cs"]=325,
["object_gi_prescription"]=326,
["object_gi_bracelet"]=327,
["object_gi_soldout"]=328,
["object_gi_frog"]=329,
["object_mag"]=330,
["object_door_gerudo"]=331,
["object_gt"]=332,
["object_efc_erupc"]=333,
["object_zl2_anime1"]=334,
["object_zl2_anime2"]=335,
["object_gi_golonmask"]=336,
["object_gi_zoramask"]=337,
["object_gi_gerudomask"]=338,
["object_ganon2"]=339,
["object_ka"]=340,
["object_ts"]=341,
["object_zg"]=342,
["object_gi_hoverboots"]=343,
["object_gi_m_arrow"]=344,
["object_ds2"]=345,
["object_ec"]=346,
["object_fish"]=347,
["object_gi_sutaru"]=348,
["object_gi_goddess"]=349,
["object_ssh"]=350,
["object_bigokuta"]=351,
["object_bg"]=352,
["object_spot05_objects"]=353,
["object_spot12_obj"]=354,
["object_bombiwa"]=355,
["object_hintnuts"]=356,
["object_rs"]=357,
["object_spot00_break"]=358,
["object_gla"]=359,
["object_shopnuts"]=360,
["object_geldb"]=361,
["object_gr"]=362,
["object_dog"]=363,
["object_jya_iron"]=364,
["object_jya_door"]=365,
["object_spot11_obj"]=367,
["object_kibako2"]=368,
["object_dns"]=369,
["object_dnk"]=370,
["object_gi_fire"]=371,
["object_gi_insect"]=372,
["object_gi_butterfly"]=373,
["object_gi_ghost"]=374,
["object_gi_soul"]=375,
["object_bowl"]=376,
["object_demo_kekkai"]=377,
["object_efc_doughnut"]=378,
["object_gi_dekupouch"]=379,
["object_ganon_anime1"]=380,
["object_ganon_anime2"]=381,
["object_ganon_anime3"]=382,
["object_gi_rupy"]=383,
["object_spot01_matoya"]=384,
["object_spot01_matoyab"]=385,
["object_mu"]=386,
["object_wf"]=387,
["object_skb"]=388,
["object_gj"]=389,
["object_geff"]=390,
["object_haka_door"]=391,
["object_gs"]=392,
["object_ps"]=393,
["object_bwall"]=394,
["object_cow"]=395,
["object_cob"]=396,
["object_gi_sword_1"]=397,
["object_door_killer"]=398,
["object_ouke_haka"]=399,
["object_timeblock"]=400,
["object_zl4"]=401,
}
function p.Id(f)
local args = f.args or f
local param = args[1]
local objectFile = "help"
local objectId = tonumber(param, 16)
local objectDescription = nil
if (objectId) then
objectFile = t[objectId]
else
objectId = t[param]
objectFile = param
end
if (not objectFile) then
return "<Invalid or unused object index>"
end
local descriptions = require( "Module:Files/Descriptions" )
pResult, objectDescription = pcall(descriptions.Description,{objectFile})
if (pResult) then
return string.format("[[%s]] (%04X, %s)",objectFile,objectId, objectDescription)
else
return "<Invalid filename>"
end
end
return p