當前位置: 首頁>>代碼示例>>PHP>>正文


PHP set_item_setting函數代碼示例

本文整理匯總了PHP中set_item_setting函數的典型用法代碼示例。如果您正苦於以下問題:PHP set_item_setting函數的具體用法?PHP set_item_setting怎麽用?PHP set_item_setting使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了set_item_setting函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: hunterslodge_requisition_define_item

function hunterslodge_requisition_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_req_large");
    set_item_setting("description", " bag containing twenty-five thousand Requistion tokens. Use this item to obtain the Requisition for yourself, or give the item to a friend.", "hunterslodge_req_large");
    set_item_setting("destroyafteruse", "true", "hunterslodge_req_large");
    set_item_setting("dkpersist", "true", "hunterslodge_req_large");
    set_item_setting("context_forest", "true", "hunterslodge_req_large");
    set_item_setting("giftable", "true", "hunterslodge_req_large");
    set_item_setting("image", "hunterslodge_req_large.png", "hunterslodge_req_large");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_req_large");
    set_item_setting("lodge", "true", "hunterslodge_req_large");
    set_item_setting("lodge_cost", "1000", "hunterslodge_req_large");
    set_item_setting("lodge_longdesc", "Bags of Requisition tokens in your Inventory can't be lost to Thieving Midget Bastards until the Requisition is taken out of the bag. Bags like this also make it easier to give Requisition to your friends. You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_req_large");
    set_item_setting("playergold", "25000", "hunterslodge_req_large");
    set_item_setting("usetext", "You tip the bag over and pour its contents into your pockets.", "hunterslodge_req_large");
    set_item_setting("verbosename", "Large bag of Requisition Tokens", "hunterslodge_req_large");
    set_item_setting("context_village", "true", "hunterslodge_req_large");
    set_item_setting("context_worldmap", "true", "hunterslodge_req_large");
    set_item_setting("require_file", "hunterslodge_requisition.php", "hunterslodge_req_large");
    set_item_setting("call_function", "hunterslodge_requisition_large_use", "hunterslodge_req_large");
    set_item_setting("cannotdiscard", "true", "hunterslodge_req_medium");
    set_item_setting("description", " bag containing twelve thousand Requistion tokens. Use this item to obtain the Requisition for yourself, or give the item to a friend.", "hunterslodge_req_medium");
    set_item_setting("destroyafteruse", "true", "hunterslodge_req_medium");
    set_item_setting("dkpersist", "true", "hunterslodge_req_medium");
    set_item_setting("context_forest", "true", "hunterslodge_req_medium");
    set_item_setting("giftable", "true", "hunterslodge_req_medium");
    set_item_setting("image", "hunterslodge_req_medium.png", "hunterslodge_req_medium");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_req_medium");
    set_item_setting("lodge", "true", "hunterslodge_req_medium");
    set_item_setting("lodge_cost", "500", "hunterslodge_req_medium");
    set_item_setting("lodge_longdesc", "Bags of Requisition tokens in your Inventory can't be lost to Thieving Midget Bastards until the Requisition is taken out of the bag. Bags like this also make it easier to give Requisition to your friends. You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_req_medium");
    set_item_setting("playergold", "12000", "hunterslodge_req_medium");
    set_item_setting("usetext", "You tip the bag over and pour its contents into your pockets.", "hunterslodge_req_medium");
    set_item_setting("verbosename", "Medium bag of Requisition Tokens", "hunterslodge_req_medium");
    set_item_setting("context_village", "true", "hunterslodge_req_medium");
    set_item_setting("context_worldmap", "true", "hunterslodge_req_medium");
    set_item_setting("require_file", "hunterslodge_requisition.php", "hunterslodge_req_medium");
    set_item_setting("call_function", "hunterslodge_requisition_medium_use", "hunterslodge_req_medium");
    set_item_setting("cannotdiscard", "true", "hunterslodge_req_small");
    set_item_setting("description", " bag containing two thousand Requistion tokens. Use this item to obtain the Requisition for yourself, or give the item to a friend.", "hunterslodge_req_small");
    set_item_setting("destroyafteruse", "true", "hunterslodge_req_small");
    set_item_setting("dkpersist", "true", "hunterslodge_req_small");
    set_item_setting("context_forest", "true", "hunterslodge_req_small");
    set_item_setting("giftable", "true", "hunterslodge_req_small");
    set_item_setting("image", "hunterslodge_req_small.png", "hunterslodge_req_small");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_req_small");
    set_item_setting("lodge", "true", "hunterslodge_req_small");
    set_item_setting("lodge_cost", "100", "hunterslodge_req_small");
    set_item_setting("lodge_longdesc", "Bags of Requisition tokens in your Inventory can't be lost to Thieving Midget Bastards until the Requisition is taken out of the bag. Bags like this also make it easier to give Requisition to your friends. You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_req_small");
    set_item_setting("playergold", "2000", "hunterslodge_req_small");
    set_item_setting("usetext", "You tip the bag over and pour its contents into your pockets.", "hunterslodge_req_small");
    set_item_setting("verbosename", "Small bag of Requisition Tokens", "hunterslodge_req_small");
    set_item_setting("context_village", "true", "hunterslodge_req_small");
    set_item_setting("context_worldmap", "true", "hunterslodge_req_small");
    set_item_setting("require_file", "hunterslodge_requisition.php", "hunterslodge_req_small");
    set_item_setting("call_function", "hunterslodge_requisition_small_use", "hunterslodge_req_small");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:57,代碼來源:hunterslodge_requisition.php

示例2: hunterslodge_cigarettes_define_item

function hunterslodge_cigarettes_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_cigs_large");
    set_item_setting("description", "A box of seventy-five cigarettes. Use this item to obtain the cigarettes for yourself, or give the item to a friend.", "hunterslodge_cigs_large");
    set_item_setting("destroyafteruse", "true", "hunterslodge_cigs_large");
    set_item_setting("dkpersist", "true", "hunterslodge_cigs_large");
    set_item_setting("context_forest", "true", "hunterslodge_cigs_large");
    set_item_setting("giftable", "true", "hunterslodge_cigs_large");
    set_item_setting("image", "hunterslodge_cigs_large.png", "hunterslodge_cigs_large");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_cigs_large");
    set_item_setting("lodge", "true", "hunterslodge_cigs_large");
    set_item_setting("lodge_cost", "1000", "hunterslodge_cigs_large");
    set_item_setting("lodge_longdesc", "Cigarettes can be used for many things that Requisition cannot, as I'm sure you're aware by now. These cigarettes, in prepackaged quantities, are easy to give as presents. You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_cigs_large");
    set_item_setting("usetext", "You open up the box and stuff its delicious contents into your pockets.", "hunterslodge_cigs_large");
    set_item_setting("verbosename", "Large box of Cigarettes", "hunterslodge_cigs_large");
    set_item_setting("context_village", "true", "hunterslodge_cigs_large");
    set_item_setting("context_worldmap", "true", "hunterslodge_cigs_large");
    set_item_setting("require_file", "hunterslodge_cigarettes.php", "hunterslodge_cigarettes_large");
    set_item_setting("call_function", "hunterslodge_cigarettes_large_use", "hunterslodge_cigarettes_large");
    set_item_setting("cannotdiscard", "true", "hunterslodge_cigs_medium");
    set_item_setting("description", "A box of thirty cigarettes. Use this item to obtain the cigarettes for yourself, or give the item to a friend.", "hunterslodge_cigs_medium");
    set_item_setting("destroyafteruse", "true", "hunterslodge_cigs_medium");
    set_item_setting("dkpersist", "true", "hunterslodge_cigs_medium");
    set_item_setting("context_forest", "true", "hunterslodge_cigs_medium");
    set_item_setting("giftable", "true", "hunterslodge_cigs_medium");
    set_item_setting("image", "hunterslodge_cigs_medium.png", "hunterslodge_cigs_medium");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_cigs_medium");
    set_item_setting("lodge", "true", "hunterslodge_cigs_medium");
    set_item_setting("lodge_cost", "500", "hunterslodge_cigs_medium");
    set_item_setting("lodge_longdesc", "Cigarettes can be used for many things that Requisition cannot, as I'm sure you're aware by now. These cigarettes, in prepackaged quantities, are easy to give as presents. You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_cigs_medium");
    set_item_setting("usetext", "You open up the box and stuff its delicious contents into your pockets.", "hunterslodge_cigs_medium");
    set_item_setting("verbosename", "Medium box of Cigarettes", "hunterslodge_cigs_medium");
    set_item_setting("context_village", "true", "hunterslodge_cigs_medium");
    set_item_setting("context_worldmap", "true", "hunterslodge_cigs_medium");
    set_item_setting("require_file", "hunterslodge_cigarettes.php", "hunterslodge_cigarettes_medium");
    set_item_setting("call_function", "hunterslodge_cigarettes_medium_use", "hunterslodge_cigarettes_medium");
    set_item_setting("cannotdiscard", "true", "hunterslodge_cigs_small");
    set_item_setting("description", "A box of five cigarettes. Use this item to obtain the cigarettes for yourself, or give the item to a friend.", "hunterslodge_cigs_small");
    set_item_setting("destroyafteruse", "true", "hunterslodge_cigs_small");
    set_item_setting("dkpersist", "true", "hunterslodge_cigs_small");
    set_item_setting("context_forest", "true", "hunterslodge_cigs_small");
    set_item_setting("giftable", "true", "hunterslodge_cigs_small");
    set_item_setting("image", "hunterslodge_cigs_small.png", "hunterslodge_cigs_small");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_cigs_small");
    set_item_setting("lodge", "true", "hunterslodge_cigs_small");
    set_item_setting("lodge_cost", "100", "hunterslodge_cigs_small");
    set_item_setting("lodge_longdesc", "Cigarettes can be used for many things that Requisition cannot, as I'm sure you're aware by now. These cigarettes, in prepackaged quantities, are easy to give as presents. You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_cigs_small");
    set_item_setting("usetext", "You open up the box and stuff its delicious contents into your pockets.", "hunterslodge_cigs_small");
    set_item_setting("verbosename", "Small box of Cigarettes", "hunterslodge_cigs_small");
    set_item_setting("context_village", "true", "hunterslodge_cigs_small");
    set_item_setting("context_worldmap", "true", "hunterslodge_cigs_small");
    set_item_setting("require_file", "hunterslodge_cigarettes.php", "hunterslodge_cigarettes_small");
    set_item_setting("call_function", "hunterslodge_cigarettes_small_use", "hunterslodge_cigarettes_small");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:54,代碼來源:hunterslodge_cigarettes.php

示例3: hunterslodge_specialcomments_define_item

function hunterslodge_specialcomments_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_specialcomments_large");
    set_item_setting("description", "A bundle of sixty Quills representing Special Comments, which lets you post things in commentary areas without your name attached. Use this item to redeem the Specials.", "hunterslodge_specialcomments_large");
    set_item_setting("destroyafteruse", "true", "hunterslodge_specialcomments_large");
    set_item_setting("dkpersist", "true", "hunterslodge_specialcomments_large");
    set_item_setting("context_forest", "true", "hunterslodge_specialcomments_large");
    set_item_setting("giftable", "true", "hunterslodge_specialcomments_large");
    set_item_setting("image", "hunterslodge_specialcomments_large.png", "hunterslodge_specialcomments_large");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_specialcomments_large");
    set_item_setting("lodge", "true", "hunterslodge_specialcomments_large");
    set_item_setting("lodge_cost", "1000", "hunterslodge_specialcomments_large");
    set_item_setting("lodge_longdesc", "Special Comments allow you to post messages in commentary areas without your name attached. Normally if you post \"Hello\", the game will show your comment as (for example) `4Admin CavemanJoe`7 says \"`#Hello`7\"`0. If you type \": mumbles \"Hello\" and scurries off\", then the game will render that as `4Admin CavemanJoe`7 mumbles \"Hello\" and scurries off`0. However, if you have Special Comments and you type \"/special A strange rumbling can be heard in the distance\", then the game will render that simply as `7A strange rumbling can be heard in the distance`0, without your name attached. So, Special Comments are just the job for special effects, mischief and general tomfoolery. Quills are Hunter's Lodge items that represent bundles of Special Comments - in order to get the Special Comments, go into your Inventory and use the Quills item. Packaging them as Quills also makes them easier to give to your friends! You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_specialcomments_large");
    set_item_setting("usetext", "You unwrap the bundle of Quills, which promptly disappears. You now have extra Special Comments.", "hunterslodge_specialcomments_large");
    set_item_setting("verbosename", "Large bundle of Quills", "hunterslodge_specialcomments_large");
    set_item_setting("context_village", "true", "hunterslodge_specialcomments_large");
    set_item_setting("context_worldmap", "true", "hunterslodge_specialcomments_large");
    set_item_setting("require_file", "hunterslodge_specialcomments.php", "hunterslodge_specialcomments_large");
    set_item_setting("call_function", "hunterslodge_specialcomments_large_use", "hunterslodge_specialcomments_large");
    set_item_setting("cannotdiscard", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("description", "A bundle of twenty-five Quills representing Special Comments, which lets you post things in commentary areas without your name attached. Use this item to redeem the Specials.", "hunterslodge_specialcomments_medium");
    set_item_setting("destroyafteruse", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("dkpersist", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("context_forest", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("giftable", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("image", "hunterslodge_specialcomments_medium.png", "hunterslodge_specialcomments_medium");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_specialcomments_medium");
    set_item_setting("lodge", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("lodge_cost", "500", "hunterslodge_specialcomments_medium");
    set_item_setting("lodge_longdesc", "Special Comments allow you to post messages in commentary areas without your name attached. Normally if you post \"Hello\", the game will show your comment as (for example) `4Admin CavemanJoe`7 says \"`#Hello`7\"`0. If you type \": mumbles \"Hello\" and scurries off\", then the game will render that as `4Admin CavemanJoe`7 mumbles \"Hello\" and scurries off`0. However, if you have Special Comments and you type \"/special A strange rumbling can be heard in the distance\", then the game will render that simply as `7A strange rumbling can be heard in the distance`0, without your name attached. So, Special Comments are just the job for special effects, mischief and general tomfoolery. Quills are Hunter's Lodge items that represent bundles of Special Comments - in order to get the Special Comments, go into your Inventory and use the Quills item. Packaging them as Quills also makes them easier to give to your friends! You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_specialcomments_medium");
    set_item_setting("usetext", "You unwrap the bundle of Quills, which promptly disappears. You now have extra Special Comments.", "hunterslodge_specialcomments_medium");
    set_item_setting("verbosename", "Medium bundle of Quills", "hunterslodge_specialcomments_medium");
    set_item_setting("context_village", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("context_worldmap", "true", "hunterslodge_specialcomments_medium");
    set_item_setting("require_file", "hunterslodge_specialcomments.php", "hunterslodge_specialcomments_medium");
    set_item_setting("call_function", "hunterslodge_specialcomments_medium_use", "hunterslodge_specialcomments_medium");
    set_item_setting("cannotdiscard", "true", "hunterslodge_specialcomments_small");
    set_item_setting("description", "A bundle of four Quills representing Special Comments, which lets you post things in commentary areas without your name attached. Use this item to redeem the Specials.", "hunterslodge_specialcomments_small");
    set_item_setting("destroyafteruse", "true", "hunterslodge_specialcomments_small");
    set_item_setting("dkpersist", "true", "hunterslodge_specialcomments_small");
    set_item_setting("context_forest", "true", "hunterslodge_specialcomments_small");
    set_item_setting("giftable", "true", "hunterslodge_specialcomments_small");
    set_item_setting("image", "hunterslodge_specialcomments_small.png", "hunterslodge_specialcomments_small");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_specialcomments_small");
    set_item_setting("lodge", "true", "hunterslodge_specialcomments_small");
    set_item_setting("lodge_cost", "100", "hunterslodge_specialcomments_small");
    set_item_setting("lodge_longdesc", "Special Comments allow you to post messages in commentary areas without your name attached. Normally if you post \"Hello\", the game will show your comment as (for example) `4Admin CavemanJoe`7 says \"`#Hello`7\"`0. If you type \": mumbles \"Hello\" and scurries off\", then the game will render that as `4Admin CavemanJoe`7 mumbles \"Hello\" and scurries off`0. However, if you have Special Comments and you type \"/special A strange rumbling can be heard in the distance\", then the game will render that simply as `7A strange rumbling can be heard in the distance`0, without your name attached. So, Special Comments are just the job for special effects, mischief and general tomfoolery. Quills are Hunter's Lodge items that represent bundles of Special Comments - in order to get the Special Comments, go into your Inventory and use the Quills item. Packaging them as Quills also makes them easier to give to your friends! You can use this item on the World Map, in Outposts, or in the Jungle.", "hunterslodge_specialcomments_small");
    set_item_setting("usetext", "You unwrap the bundle of Quills, which promptly disappears. You now have extra Special Comments.", "hunterslodge_specialcomments_small");
    set_item_setting("verbosename", "Small bundle of Quills", "hunterslodge_specialcomments_small");
    set_item_setting("context_village", "true", "hunterslodge_specialcomments_small");
    set_item_setting("context_worldmap", "true", "hunterslodge_specialcomments_small");
    set_item_setting("require_file", "hunterslodge_specialcomments.php", "hunterslodge_specialcomments_small");
    set_item_setting("call_function", "hunterslodge_specialcomments_small_use", "hunterslodge_specialcomments_small");
}
開發者ID:Beeps,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:54,代碼來源:hunterslodge_specialcomments.php

示例4: cratesniffer_define_item

function cratesniffer_define_item()
{
    set_item_setting("context_worldmap", "1", "cratesniffer");
    set_item_setting("cratefind", "20", "cratesniffer");
    set_item_setting("description", "This crudely-built device has enough power to send out a radio pulse to any supply crates within 3 klicks of your current location. It then displays the number of pings it receives back from supply crates, effectively telling you how many crates are nearby.  Typically these cheaply-made devices only survive a single use.", "cratesniffer");
    set_item_setting("destroyafteruse", true, "cratesniffer");
    set_item_setting("eboy", "true", "cratesniffer");
    set_item_setting("image", "cratesniffer.png", "cratesniffer");
    set_item_setting("verbosename", "Crate Sniffer", "cratesniffer");
    set_item_setting("weight", "1.8", "cratesniffer");
    set_item_setting("require_file", "cratesniffer.php", "cratesniffer");
    set_item_setting("call_function", "cratesniffer_use", "cratesniffer");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:13,代碼來源:cratesniffer.php

示例5: supplycrate_define_item

function supplycrate_define_item()
{
    set_item_setting("description", "A large crate filled with... well, who knows what?", "supplycrate");
    set_item_setting("destroyafteruse", true, "supplycrate");
    set_item_setting("dropworldmap", true, "supplycrate");
    set_item_setting("giftable", true, "supplycrate");
    set_item_setting("image", "supplycrate.png", "supplycrate");
    set_item_setting("plural", "Supply Crates", "supplycrate");
    set_item_setting("verbosename", "Supply Crate", "supplycrate");
    set_item_setting("weight", "20", "supplycrate");
    set_item_setting("require_file", "supplycrate.php", "supplycrate");
    set_item_setting("call_function", "supplycrate_use", "supplycrate");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:13,代碼來源:supplycrate.php

示例6: banggrenade_define_item

function banggrenade_define_item()
{
    set_item_setting("allowtransfer", "fight", "banggrenade");
    set_item_setting("context_fight", "1", "banggrenade");
    set_item_setting("cratefind", "100", "banggrenade");
    set_item_setting("description", "A BANG Grenade is your average run-of-the-mill handheld explosive device. Pull the pin, chuck it at an enemy, hope you're on target. 'nuff said.", "banggrenade");
    set_item_setting("destroyafteruse", "true", "banggrenade");
    set_item_setting("eboy", "true", "banggrenade");
    set_item_setting("image", "banggrenade.png", "banggrenade");
    set_item_setting("verbosename", "BANG Grenade", "banggrenade");
    set_item_setting("weight", "0.8", "banggrenade");
    set_item_setting("require_file", "banggrenade.php", "banggrenade");
    set_item_setting("call_function", "banggrenade_use", "banggrenade");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:14,代碼來源:banggrenade.php

示例7: hunterslodge_customrace_permanent_define_item

function hunterslodge_customrace_permanent_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_customrace_permanent");
    set_item_setting("description", "This version of the Cunning Disguise will let you change your Custom Race as often as you want. It's Groucho glasses all the way down!", "hunterslodge_customrace_permanent");
    set_item_setting("dkpersist", "true", "hunterslodge_customrace_permanent");
    set_item_setting("image", "hunterslodge_customrace_permanent.png", "hunterslodge_customrace_permanent");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_customrace_permanent");
    set_item_setting("lodge", "true", "hunterslodge_customrace_permanent");
    set_item_setting("context_lodge", "true", "hunterslodge_customrace_permanent");
    set_item_setting("lodge_cost", "1000", "hunterslodge_customrace_permanent");
    set_item_setting("lodge_longdesc", "In addition to being an extremely silly object all around, this Cunning Disguise Cunningly Disguised with a Cunning Disguise allows you to dress up like a member of another race. Perhaps even an entirely fictional race. Your race icon in commentary areas will be replaced with a silver question mark; mousing over this symbol reveals the race name that you choose when you use this item (up to a maximum of 25 characters). If you want to roleplay as a JokerMorph or other race that isn't playable or might not be strictly canonical, this is the item you need.`n`nThis item lets you change your custom race as many times you as you like, as often as you like. `4Only items that have never been used can be given to other players,`0 so if you're buying this as a gift, it's a good idea to give it to the recipient straight away.`n`nYou can use this item from any Hunter's Lodge.", "hunterslodge_customrace_permanent");
    set_item_setting("verbosename", "Cunning Disguise Cunningly Disguised with a Cunning Disguise", "hunterslodge_customrace_permanent");
    set_item_setting("require_file", "hunterslodge_customrace.php", "hunterslodge_customrace_permanent");
    set_item_setting("call_function", "hunterslodge_customrace_permanent_use", "hunterslodge_customrace_permanent");
}
開發者ID:Beeps,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:15,代碼來源:hunterslodge_customrace.php

示例8: improbabilitybomb_define_item

function improbabilitybomb_define_item()
{
    set_item_setting("allowtransfer", "fight", "improbabilitybomb");
    set_item_setting("context_fight", "1", "improbabilitybomb");
    set_item_setting("cratefind", "2", "improbabilitybomb");
    set_item_setting("description", "Improbability Bombs are used in combat. Their effects are somewhat unpredictable. Be careful with these.", "improbabilitybomb");
    set_item_setting("destroyafteruse", "true", "improbabilitybomb");
    set_item_setting("eboy", "true", "improbabilitybomb");
    set_item_setting("giftable", "true", "improbabilitybomb");
    set_item_setting("image", "improbabilitybomb.png", "improbabilitybomb");
    set_item_setting("verbosename", "Improbability Bomb", "improbabilitybomb");
    set_item_setting("weight", "1.5", "improbabilitybomb");
    set_item_setting("require_file", "improbabilitybomb.php", "improbabilitybomb");
    set_item_setting("call_function", "improbabilitybomb_use", "improbabilitybomb");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:15,代碼來源:improbabilitybomb.php

示例9: whoomphgrenade_define_item

function whoomphgrenade_define_item()
{
    set_item_setting("allowtransfer", "fight", "whoomphgrenade");
    set_item_setting("context_fight", "1", "whoomphgrenade");
    set_item_setting("cratefind", "100", "whoomphgrenade");
    set_item_setting("description", "An incendiary device that sets your foes on fire!", "whoomphgrenade");
    set_item_setting("destroyafteruse", "true", "whoomphgrenade");
    set_item_setting("eboy", "true", "whoomphgrenade");
    set_item_setting("giftable", "true", "whoomphgrenade");
    set_item_setting("image", "whoomphgrenade.png", "whoomphgrenade");
    set_item_setting("verbosename", "WHOOMPH Grenade", "whoomphgrenade");
    set_item_setting("weight", "0.8", "whoomphgrenade");
    set_item_setting("require_file", "whoomphgrenade.php", "whoomphgrenade");
    set_item_setting("call_function", "whoomphgrenade_use", "whoomphgrenade");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:15,代碼來源:whoomphgrenade.php

示例10: zapgrenade_define_item

function zapgrenade_define_item()
{
    set_item_setting("allowtransfer", "fight", "zapgrenade");
    set_item_setting("context_fight", "1", "zapgrenade");
    set_item_setting("cratefind", "100", "zapgrenade");
    set_item_setting("description", "A ZAP Grenade will blind and deafen your enemy, allowing you to quickly put the boot in while they're disoriented. It's very useful for when you just need to hold on a little longer.", "zapgrenade");
    set_item_setting("destroyafteruse", "true", "zapgrenade");
    set_item_setting("eboy", "true", "zapgrenade");
    set_item_setting("giftable", "true", "zapgrenade");
    set_item_setting("image", "zapgrenade.png", "zapgrenade");
    set_item_setting("verbosename", "ZAP Grenade", "zapgrenade");
    set_item_setting("weight", "0.8", "zapgrenade");
    set_item_setting("require_file", "zapgrenade.php", "zapgrenade");
    set_item_setting("call_function", "zapgrenade_use", "zapgrenade");
}
開發者ID:CavemanJoe,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:15,代碼來源:zapgrenade.php

示例11: hunterslodge_avatar_permanent_define_item

function hunterslodge_avatar_permanent_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_avatar_permanent");
    set_item_setting("description", "This fancy picture frame allows you to change your Avatar picture as often as you like!", "hunterslodge_avatar_permanent");
    set_item_setting("dkpersist", "true", "hunterslodge_avatar_permanent");
    set_item_setting("image", "hunterslodge_avatar_permanent.png", "hunterslodge_avatar_permanent");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_avatar_permanent");
    set_item_setting("lodge", "true", "hunterslodge_avatar_permanent");
    set_item_setting("context_lodge", "true", "hunterslodge_avatar_permanent");
    set_item_setting("lodge_cost", "1000", "hunterslodge_avatar_permanent");
    set_item_setting("lodge_longdesc", "This picture frame allows you to upload a picture of your choosing, to be used in your Bio and in commentary mouseover areas. The image can be up to 100 pixels wide, by 100 pixels tall, and no larger than 100 kilobytes, in .jpg or .png format.`n`nThis item allows you to change your avatar picture any time you like without further cost. `4Only picture frames that have never been used can be given to other players,`0 so if you're buying this as a gift, it's a good idea to give it to the recipient straight away.`n`nYou can use this item from any Hunter's Lodge.", "hunterslodge_avatar_permanent");
    set_item_setting("verbosename", "Fancy Picture Frame", "hunterslodge_avatar_permanent");
    set_item_setting("require_file", "hunterslodge_avatar.php", "hunterslodge_avatar_permanent");
    set_item_setting("call_function", "hunterslodge_avatar_permanent_use", "hunterslodge_avatar_permanent");
}
開發者ID:Beeps,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:15,代碼來源:hunterslodge_avatar.php

示例12: hunterslodge_namedmount_permanent_define_item

function hunterslodge_namedmount_permanent_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_namedmount_permanent");
    set_item_setting("description", "This fancy collar lets you change your Mount's name as often as you like!", "hunterslodge_namedmount_permanent");
    set_item_setting("dkpersist", "true", "hunterslodge_namedmount_permanent");
    set_item_setting("giftable", "true", "hunterslodge_namedmount_permanent");
    set_item_setting("image", "hunterslodge_namedmount_permanent.png", "hunterslodge_namedmount_permanent");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_namedmount_permanent");
    set_item_setting("lodge", "true", "hunterslodge_namedmount_permanent");
    set_item_setting("context_lodge", "true", "hunterslodge_namedmount_permanent");
    set_item_setting("lodge_cost", "1000", "hunterslodge_namedmount_permanent");
    set_item_setting("lodge_longdesc", "This collar allows you to change the name of your Mount. In your Bio pages, viewable by anyone, your mount will be called \"(name you choose) the (type of your mount),\" for example \"Fido the Budget Horse.\" You can use colour codes in there too, up to a maximum of 25 characters. Once you've changed the name of your Mount, any other Mount you buy thereafter will have the same given name.`n`nThis item lets you change the name of your Mount as many times as you like, but remember that `4only unused Collars can be gifted.`0 Secondhand collars covered in spit and fur do not a nice gift make.`n`nYou can use this item from any Hunter's Lodge.", "hunterslodge_namedmount_permanent");
    set_item_setting("verbosename", "Deluxe Collar", "hunterslodge_namedmount_permanent");
    set_item_setting("require_file", "hunterslodge_namedmount.php", "hunterslodge_namedmount_permanent");
    set_item_setting("call_function", "hunterslodge_namedmount_permanent_use", "hunterslodge_namedmount_permanent");
}
開發者ID:Beeps,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:16,代碼來源:hunterslodge_namedmount.php

示例13: hunterslodge_customtitle_permanent_define_item

function hunterslodge_customtitle_permanent_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_customtitle_permanent");
    set_item_setting("description", "This mysteriously-official-looking document allows you to change your in-game title to something of your own choosing. The extra seal makes this document Officially Even More Official, and allows you to change your title as often as you like!", "hunterslodge_customtitle_permanent");
    set_item_setting("dkpersist", "true", "hunterslodge_customtitle_permanent");
    set_item_setting("giftable", "true", "hunterslodge_customtitle_permanent");
    set_item_setting("image", "hunterslodge_customtitle_permanent.png", "hunterslodge_customtitle_permanent");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_customtitle_permanent");
    set_item_setting("lodge", "true", "hunterslodge_customtitle_permanent");
    set_item_setting("context_lodge", "true", "hunterslodge_customtitle_permanent");
    set_item_setting("lodge_cost", "1000", "hunterslodge_customtitle_permanent");
    set_item_setting("lodge_longdesc", "This official-looking document lets you change your title - that is, the first part of your character's name, which could be \"Rookie,\" \"Contestant,\" \"Returning Contestant\" all the way up to silly things like \"Grand High Supreme Badass\" - to something of your own devising. You can use colour codes in there too, up to a maximum of 25 characters. Once you've changed your title, it stays that way until you change it again.`n`nThis item lets you change your title as many times as you like. If you're buying this as a present, remember that `4only unused Title Change documents can be gifted!`0 Nobody gives second-hand bits of paper as presents.`n`nYou can use this item from any Hunter's Lodge.", "hunterslodge_customtitle_permanent");
    set_item_setting("verbosename", "Super-Official Title Change Document", "hunterslodge_customtitle_permanent");
    set_item_setting("require_file", "hunterslodge_customtitle.php", "hunterslodge_customtitle_permanent");
    set_item_setting("call_function", "hunterslodge_customtitle_permanent_use", "hunterslodge_customtitle_permanent");
}
開發者ID:Beeps,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:16,代碼來源:hunterslodge_customtitle.php

示例14: hunterslodge_customcolours_permanent_define_item

function hunterslodge_customcolours_permanent_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_customcolours_permanent");
    set_item_setting("description", "These pens allow you to change the colours in your name as often as you like!", "hunterslodge_customcolours_permanent");
    set_item_setting("dkpersist", "true", "hunterslodge_customcolours_permanent");
    set_item_setting("giftable", "true", "hunterslodge_customcolours_permanent");
    set_item_setting("image", "hunterslodge_customcolours_permanent.png", "hunterslodge_customcolours_permanent");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_customcolours_permanent");
    set_item_setting("lodge", "true", "hunterslodge_customcolours_permanent");
    set_item_setting("context_lodge", "true", "hunterslodge_customcolours_permanent");
    set_item_setting("lodge_cost", "1000", "hunterslodge_customcolours_permanent");
    set_item_setting("lodge_longdesc", "This Name Colourisation Kit (IE a big pack of felt-tip pens) will allow you to add colour codes to your name. If you want a fancy, colourful name, then this is the item for you; you might want to check out the Title Change item, too.`n`nThis item lets you colourise your name as many times as you want, and as often as you want - but remember, `4only `bunused`b Name Colourisation Kits can be gifted to other players.`0`n`nYou can use this item from any Hunter's Lodge.", "hunterslodge_customcolours_permanent");
    set_item_setting("verbosename", "Deluxe Name Colourisation Kit", "hunterslodge_customcolours_permanent");
    set_item_setting("require_file", "hunterslodge_customcolours.php", "hunterslodge_customcolours_permanent");
    set_item_setting("call_function", "hunterslodge_customcolours_permanent_use", "hunterslodge_customcolours_permanent");
}
開發者ID:Beeps,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:16,代碼來源:hunterslodge_customcolours.php

示例15: hunterslodge_customweapon_permanent_define_item

function hunterslodge_customweapon_permanent_define_item()
{
    set_item_setting("cannotdiscard", "true", "hunterslodge_customweapon_permanent");
    set_item_setting("description", "The deluxe version of the Weapon Disguise gives you unlimited weapon name changes. Change your weapon as often as you like!", "hunterslodge_customweapon_permanent");
    set_item_setting("dkpersist", "true", "hunterslodge_customweapon_permanent");
    set_item_setting("giftable", "true", "hunterslodge_customweapon_permanent");
    set_item_setting("image", "hunterslodge_customweapon_permanent.png", "hunterslodge_customweapon_permanent");
    set_item_setting("inventorylocation", "lodgebag", "hunterslodge_customweapon_permanent");
    set_item_setting("lodge", "true", "hunterslodge_customweapon_permanent");
    set_item_setting("context_lodge", "true", "hunterslodge_customweapon_permanent");
    set_item_setting("lodge_cost", "1000", "hunterslodge_customweapon_permanent");
    set_item_setting("lodge_longdesc", "This Extra-Cunning Weapon Disguise allows you to set the name of your weapon to anything you'd like. You get 25 characters to play with, and other players will be able to see your weapon name in commentary mouseover areas. If you want to roleplay a character with an unusual weapon that Sheila's Shack doesn't sell, this is the item you'll want to buy. Please note that setting a custom weapon is a permanent deal; although you can still buy new weapons and have their effects take hold normally, the name will always be what you set when you attached your Extra-Cunning Weapon Disguise, unless you change or reset it by using this item again.`n`nThis item lets you change your weapon name as many times as you like, but remember: `4you can only gift or trade Extra-Cunning Weapon Disguises that have never been used.`0 If you're buying this as a present for somebody, it's a good idea to give it to them straight away.`n`nYou can use this item from any Hunter's Lodge.", "hunterslodge_customweapon_permanent");
    set_item_setting("verbosename", "Extra-Cunning Weapon Disguise", "hunterslodge_customweapon_permanent");
    set_item_setting("require_file", "hunterslodge_customweapon.php", "hunterslodge_customweapon_permanent");
    set_item_setting("call_function", "hunterslodge_customweapon_permanent_use", "hunterslodge_customweapon_permanent");
}
開發者ID:Beeps,項目名稱:Improbable-Island---DragonScales---DragonBones---LotGD-2.0---Season-Three,代碼行數:16,代碼來源:hunterslodge_customweapon.php


注:本文中的set_item_setting函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。