-- This information tells other players more about the mod name = "Usada Pekora" description = [[ 󰀡 HololiveJP: Usada Pekora 󰀡 Stats: 󰀍 150 󰀎 150 󰀓 150 Perks: 󰀬 Stealth and Attachable traps 󰀈 Powerful explosives 󰀀 Chemical Warfare There is a config if you want to change her perks and other stats Join Nousagi here! 󰀡: "https://www.youtube.com/channel/UC1DCedRgGHBdm81E1llLhOQ" ]] author = "ZeroRyuk, CoolChilli" version = "1.1.11" -- This is the version of the template. Change it to your own number. -- This lets other players know if your mod is out of date, update it to match the current version in the game api_version = 10 -- Compatible with Don't Starve Together dst_compatible = true -- Not compatible with Don't Starve dont_starve_compatible = false reign_of_giants_compatible = false shipwrecked_compatible = false -- Character mods are required by all clients all_clients_require_mod = true icon_atlas = "modicon.xml" icon = "modicon.tex" -- The mod's tags displayed on the server list server_filter_tags = { "character", "animation", } local function Title(title) return { name=title, hover = "", options={{description = "", data = 0}}, default = 0, } end local sounds = {'walter', 'warly', 'wathgrithr', 'waxwell', 'webber', 'wendy', 'wickerbottom', 'willow', 'wilson', 'winnie', 'winona', 'wolfgang', 'woodie', 'wortox', 'wurt', 'wx78'} local soundOptions = {} for i = 1, #sounds, 1 do soundOptions[i] = {description=sounds[i],data=sounds[i]} end local keys = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","LAlt","RAlt","LCtrl","RCtrl","LShift","RShift","Tab","Capslock","Space","Minus","Equals","Backspace","Insert","Home","Delete","End","Pageup","Pagedown","Print","Scrollock","Pause","Period","Slash","Semicolon","Leftbracket","Rightbracket","Backslash","Up","Down"} local keylist = {} local string = "" for i = 1, #keys do if keys[i] == "Z" then keylist[i] = {description = keys[i].." (Default)", data = "KEY_"..string.upper(keys[i])} else keylist[i] = {description = keys[i], data = "KEY_"..string.upper(keys[i])} end end configuration_options = { Title("Language/言語"), { name = "pekora_language", label = "Language settings/言語設定", hover = "Set language for some speechs and descriptions.", options = { {description = "Auto (Default)", data = "AUTO"}, {description = "日本語", data = "JP", hover="固有パーク及びアイテムの台詞と説明のみ日本語翻訳対応"}, {description = "中文", data = "CN", hover="Only translates perks and unique items to CN"}, {description = "English", data = "EN"}, }, default = "AUTO", }, Title(""), Title("Basic Stats"), { name = "pekora_health", label = "Health 󰀍", hover = "How much health Pekora has?", options = { {description = "50", data = 50}, {description = "75", data = 75}, {description = "100", data = 100}, {description = "125", data = 125}, {description = "150 (Default)", data = 150}, {description = "175", data = 175}, {description = "200", data = 200}, {description = "225", data = 225}, {description = "250", data = 250}, {description = "275", data = 275}, {description = "300", data = 300}, }, default = 150, }, { name = "pekora_hunger", label = "Hunger 󰀎", hover = "How much hunger Pekora has?", options = { {description = "50", data = 50}, {description = "75", data = 75}, {description = "100", data = 100}, {description = "125", data = 125}, {description = "150 (Default)", data = 150}, {description = "175", data = 175}, {description = "200 ", data = 200}, {description = "225", data = 225}, {description = "250", data = 250}, {description = "275", data = 275}, {description = "300", data = 300}, }, default = 150, }, { name = "pekora_sanity", label = "Sanity 󰀓", hover = "How much sanity Pekora has?", options = { {description = "50", data = 50}, {description = "75", data = 75}, {description = "100", data = 100}, {description = "125", data = 125}, {description = "150 (Default)", data = 150}, {description = "175", data = 175}, {description = "200", data = 200}, {description = "225", data = 225}, {description = "250", data = 250}, {description = "275", data = 275}, {description = "300", data = 300}, }, default = 150, }, { name = "pekora_hunger_rate", label = "Hunger Rate", hover = "How long Pekora takes to get hungry?", options = { {description = "x0.1", data = 0.1}, {description = "x0.2", data = 0.2}, {description = "x0.3", data = 0.3}, {description = "x0.4", data = 0.4}, {description = "x0.5", data = 0.5}, {description = "x0.6", data = 0.6}, {description = "x0.7", data = 0.7}, {description = "x0.8", data = 0.8}, {description = "x0.9", data = 0.9}, {description = "x1 (Default)", data = 1}, {description = "x1.1", data = 1.1}, {description = "x1.25", data = 1.25}, {description = "x1.5", data = 1.5}, {description = "x1.75", data = 1.75}, {description = "x2", data = 2}, {description = "x3", data = 3}, {description = "x4", data = 4}, {description = "x5", data = 5}, }, default = 1, }, { name = "pekora_movespeed", label = "Movement Speed", hover = "How fast Pekora can run?", options = { {description = "x0.1", data = 0.1}, {description = "x0.2", data = 0.2}, {description = "x0.3", data = 0.3}, {description = "x0.4", data = 0.4}, {description = "x0.5", data = 0.5}, {description = "x0.6", data = 0.6}, {description = "x0.7", data = 0.7}, {description = "x0.8", data = 0.8}, {description = "x0.9", data = 0.9}, {description = "x1 (Default)", data = 1}, {description = "x1.1", data = 1.1}, {description = "x1.25", data = 1.25}, {description = "x1.5", data = 1.5}, {description = "x1.75", data = 1.75}, {description = "x2", data = 2}, {description = "x3", data = 3}, {description = "x4", data = 4}, {description = "x5", data = 5}, }, default = 1, }, { name = "pekora_dmg", label = "Damage Multiplier", hover = "Pekora's attack damage multiplier.", options = { {description = "x0.1", data = 0.1}, {description = "x0.2", data = 0.2}, {description = "x0.3", data = 0.3}, {description = "x0.4", data = 0.4}, {description = "x0.5", data = 0.5}, {description = "x0.6", data = 0.6}, {description = "x0.7", data = 0.7}, {description = "x0.8", data = 0.8}, {description = "x0.9", data = 0.9}, {description = "x1 (Default)", data = 1}, {description = "x1.1", data = 1.1}, {description = "x1.25", data = 1.25}, {description = "x1.5", data = 1.5}, {description = "x1.75", data = 1.75}, {description = "x2", data = 2}, {description = "x3", data = 3}, {description = "x4", data = 4}, {description = "x5", data = 5}, }, default = 1, }, Title(""), Title("Carrot Sword"), { name = "pekora_sword_durability", label = "Carrot Sword Durability (DAYS)", options = { {description = "10 (HAMBAT)", data = 10}, {description = "20 (Default)", data = 20}, {description = "30", data = 30}, {description = "40", data = 40}, {description = "50", data = 50}, {description = "60", data = 60}, {description = "Infinite", data = 9999}, }, default = 20, }, { name = "pekora_sword_dmg", label = "Carrot Sword Damage", hover = "Minimum dmg is 60% Ex: 45 max : 27 min", options = { {description = "34 (SPEAR)", data = 34}, {description = "45 (Default)", data = 45}, {description = "51 (T.SPIKE)", data = 51}, {description = "59.5 (HAMBAT)", data = 59.5}, {description = "68 (DARKSWORD)", data = 68}, {description = "100", data = 100}, }, default = 45, }, { name = "pekora_sword_recipe", label = "Carrot Sword Recipe", options = { {description = "Cheap", data = 0, hover = "twigs x 2, rope x 1, carrot x 4"}, {description = "Default", data = 1, hover = "spear x 1, carrot x 4"}, {description = "Expensive", data = 2, hover = "spear x 1, rope x 1, carrot x 4"}, }, default = 1, }, Title(""), Title("Traps"), { name = "pekora_traps_tnt", label = "Explosive Trap Damage", options = { {description = "0", data = 0}, {description = "50", data = 50}, {description = "100", data = 100}, {description = "200 (Gunpowder)", data = 200}, {description = "300", data = 300}, {description = "400", data = 400}, {description = "500", data = 500}, }, default = 200, }, { name = "pekora_traps_range1", label = "Traps Range", options = { {description = "1", data = 1}, {description = "2", data = 2}, {description = "3", data = 3}, {description = "4 (Default)", data = 4}, {description = "5", data = 5}, {description = "6", data = 6}, {description = "7", data = 7}, }, default = 4, }, { name = "pekora_traps_recipe", label = "Traps Recipe", options = { {description = "Cheap", data = 0, hover = "(UNIQUE ITEM), nitre x 1"}, {description = "Default", data = 1, hover = "(UNIQUE ITEM), doodad x 1, nitre x 1"}, {description = "Expensive", data = 2, hover = "(UNIQUE ITEM), doodad x 2, nitre x 2"}, }, default = 1, }, { name = "pekora_traps_visible", label = "Visible to Pekora/Ame", options = { {description = "True", data = true, hover = "Pekora can see her own traps"}, {description = "False", data = false, hover = "Pekora can't see her own traps (Pekora vs Pekora)"}, }, default = true, }, { name = "pekora_traps_structures", label = "Trap attaches where?", options = { {description = "Mobs/Structures", data = true, hover = "Any structure and objects with heatlh"}, {description = "+Workable", data = false, hover = "(MIGHT LAG) Any structure and objects with heatlh + Trees,Rocks etc."}, }, default = true, }, Title(""), Title("Carrot Mine"), { name = "pekora_mine_tnt", label = "Carrot Mine Damage", options = { {description = "0", data = 0}, {description = "50", data = 50}, {description = "100", data = 100}, {description = "200 (Gunpowder)", data = 200}, {description = "300", data = 300}, {description = "400", data = 400}, {description = "500", data = 500}, }, default = 200, }, { name = "pekora_mine_range1", label = "Carrot Mine Range", options = { {description = "1", data = 1}, {description = "2", data = 2}, {description = "3", data = 3}, {description = "4 (Default)", data = 4}, {description = "5", data = 5}, {description = "6", data = 6}, {description = "7", data = 7}, }, default = 4, }, { name = "pekora_mine_recipe", label = "Carrot Mine Recipe", options = { {description = "Cheap", data = 0, hover = "gunpowder x 1, carrot x 4"}, {description = "Default", data = 1, hover = "gunpowder x 1, doodad x 1, carrot x 4"}, {description = "Expensive", data = 2, hover = "gunpowder x 1, doodad x 2, carrot x 4"}, }, default = 1, }, Title(""), Title("Gas Mask"), { name = "pekora_gasmask_dur", label = "Gas Mask Durability (DAYS)", options = { {description = "1", data = 1}, {description = "2", data = 2}, {description = "3 (Default)", data = 3}, {description = "4", data = 4}, {description = "5", data = 5}, {description = "6", data = 6}, {description = "7", data = 7}, {description = "14", data = 14}, {description = "30", data = 30}, {description = "Infinite", data = 9999}, }, default = 3, }, { name = "pekora_gasmask_recipe", label = "Gas Mask Recipe", options = { {description = "Cheap", data = 0, hover = "charcoal x 4, papyrus x 1"}, {description = "Default", data = 1, hover = "charcoal x 4, papyrus x 1, bunnypuff x 1"}, {description = "Expensive", data = 2, hover = "charcoal x 6, papyrus x 2, bunnypuff x 2"}, }, default = 1, }, Title(""), Title("Poison Gas"), { name = "pekora_poisongas_dps", label = "Poison gas' (base) dmg per tick.", hover = "The base damage of the stacks.", options = { {description = "1", data = 1}, {description = "5", data = 5}, {description = "10 (Default)", data = 10}, {description = "20", data = 20}, {description = "30", data = 30}, {description = "40", data = 40}, {description = "50", data = 50}, {description = "60", data = 60}, {description = "70", data = 70}, {description = "80", data = 80}, {description = "90", data = 90}, {description = "100", data = 100}, }, default = 10, }, { name = "pekora_poisongas_stack1", label = "Poison gas stacks (dmg mult)", hover = "Increases per tick while inside the cloud.", options = { {description = "1", data = 1}, {description = "5", data = 5}, {description = "10", data = 10}, {description = "15", data = 15}, {description = "20", data = 20}, {description = "30", data = 30}, {description = "40", data = 40}, {description = "50", data = 50}, {description = "60 (Default)", data = 60}, {description = "70", data = 70}, {description = "80", data = 80}, {description = "90", data = 90}, {description = "100", data = 100}, }, default = 60, }, { name = "pekora_poisongas_duration", label = "Poison gas cloud's duration.", hover = "How long does the cloud last?", options = { {description = "1", data = 1}, {description = "5", data = 5}, {description = "10", data = 10}, {description = "15", data = 15}, {description = "20 (Default)", data = 20}, {description = "30", data = 30}, {description = "40", data = 40}, {description = "50", data = 50}, {description = "60", data = 60}, {description = "70", data = 70}, {description = "80", data = 80}, {description = "90", data = 90}, {description = "100", data = 100}, }, default = 20, }, { name = "pekora_poisongas_poison_duration", label = "Poisoned status duration.", hover = "How long does a mob stay poisoned? (Resets inside the cloud)", options = { {description = "1", data = 1}, {description = "5", data = 5}, {description = "10", data = 10}, {description = "15", data = 15}, {description = "20 (Default)", data = 20}, {description = "30", data = 30}, {description = "40", data = 40}, {description = "50", data = 50}, {description = "60", data = 60}, {description = "70", data = 70}, {description = "80", data = 80}, {description = "90", data = 90}, {description = "100", data = 100}, }, default = 20, }, { name = "pekora_poisongas_tick", label = "Poison Tick", hover = "Poison damage intervals (Seconds)", options = { {description = "0.5", data = 0.5}, {description = "1", data = 1}, {description = "2 (Default)", data = 2}, {description = "3", data = 3}, {description = "4", data = 4}, {description = "5", data = 5}, {description = "6", data = 6}, {description = "7", data = 7}, }, default = 2, }, { name = "pekora_poisongas_spoils", label = "Poison Spoils", hover = "Poison makes food on the ground and inventory spoil. (0.1% every 0.1 sec. 0.01% if it's inside a container/inventory) ", options = { {description = "ON (Default)", data = true}, {description = "OFF", data = false}, }, default = true, }, Title(""), Title("ICBC"), { name = "pekora_icbc_dmg", label = "ICBC's Damage", options = { {description = "3000", data = 3000}, {description = "6000", data = 6000}, {description = "9000", data = 9000}, {description = "12000", data = 12000}, {description = "15000", data = 15000}, {description = "20000", data = 20000}, {description = "30000", data = 30000}, {description = "60000", data = 60000}, {description = "80000", data = 80000}, {description = "100000", data = 100000}, {description = "999999", data = 999999}, }, default = 30000, }, { name = "pekora_icbc_size", label = "ICBC's Explosion Size", options = { {description = "Small", data = 1}, {description = "Medium (Default)", data = 1.5}, {description = "Large", data = 2}, }, default = 1.5, }, { name = "pekora_icbc_missile_recipe", label = "ICBC's Missile Recipe", hover = "How much does the missile cost?", options = { {description = "Cheap", data = 0, hover = "gunpowder x 20, tnt traps x 10, doodad x 10, carrot x 40"}, {description = "Default", data = 1, hover = "gunpowder x 40, tnt traps x 20, doodad x 10, carrot x 40"}, {description = "Expensive", data = 2, hover = "gunpowder x 40, tnt traps x 40, doodad x 10, carrot x 40"}, }, default = 1, }, { name = "pekora_icbc_silo_recipe", label = "ICBC's Silo Recipe", hover = "How much does the silo cost?", options = { {description = "Cheap", data = 0, hover = "gears x 3, cutstone x 15, doodad x 10"}, {description = "Default", data = 1, hover = "gears x 5, cutstone x 20, doodad x 10"}, {description = "Expensive", data = 2, hover = "gears x 10, cutstone x 20, doodad x 10"}, }, default = 1, }, { name = "pekora_icbc_remote", label = "ICBC Remote Recipe", hover = "How much does the remote cost?", options = { {description = "Cheap", data = 0, hover = "cutstone x 1, carrot x 2"}, {description = "Default", data = 1, hover = "gears x 1, cutstone x 1, carrot x 2"}, {description = "Expensive", data = 2, hover = "gears x 2, cutstone x 1, carrot x 2"}, }, default = 1, }, Title(""), Title("Nousagis"), { name = "pekora_nousagi_on", label = "Enable Nousagi Raid", options = { {description = "ON (Default)", data = true}, {description = "OFF", data = false}, }, default = true, }, { name = "pekora_nousagi_bgm", label = "Nousagi Raid BGM", options = { {description = "ON (Default)", data = true}, {description = "OFF", data = false}, }, default = true, }, { name = "pekora_nousagi_duration", label = "Nousagi Duration", hover = "50 Seconds by default", options = { {description = "10", data = 1}, {description = "20", data = 20}, {description = "30", data = 30}, {description = "40", data = 40}, {description = "50 (Default)", data = 50}, {description = "60", data = 60}, {description = "70", data = 70}, {description = "80", data = 80}, {description = "90", data = 90}, {description = "100", data = 100}, }, default = 50, }, { name = "pekora_nousagi_treshold", label = "Nousagi Treshold", hover = "How many carrots before they spawn?", options = { {description = "10 - 40", data = 10}, {description = "15 - 60", data = 15}, {description = "20 - 80 (Default)", data = 20}, {description = "30 - 120", data = 30}, {description = "40 - 160", data = 40}, {description = "50 - 200", data = 50}, }, default = 20, }, Title(""), Title("Others"), { name = "pekora_starting_items", label = "Starting items", hover = "What items should Pekora starts with?", options = { {description = "Carrot Sword", data = 0}, {description = "Nothing", data = 1}, }, default = 0, }, { name = "pekora_voice", label = "Character Voice", hover = "What voice should Pekora use?", options = soundOptions, default = "wathgrithr", }, { name = "pekora_clothes", label = "Hidden Ingame Armor", hover = "Hides your Armor/Outer Clothing and Hats", options = { {description = "ON", data = true}, {description = "OFF (Default)", data = false}, }, default = false, }, { name = "pekora_admin", label = "Only Admin can use", options = { {description = "ON", data = true}, {description = "OFF (Default)", data = false}, }, default = false, }, }