Search the Community
Showing results for tags 'mod character'.
Found 4 results
746 downloadsAlso available on the Steam Workshop: In Single-Player Form: June the String-Puller [DS][ROG][SW] And Multi-Player Form: June the String-Puller [DST] June is my own OC (from her own universe, not from Don't Starve). As such, please do not reupload this mod and or character without permission. Stats: Health - 110 Hunger - 100 Sanity - 300 Damage Multiplier - x0.85 Attack Interval - 0.3 Perks: Pigmen, Rabbitmen, and Wildboars gain an extra 50% loyalty time when befriended by June. Each gains unique buffs as well! Bunnymen do not aggro on her carrying meat. Starts with 3 meat in her inventory [Don't Starve Only] Can craft a Meat Effigy at the cost of 3 Meat and 3 Monster Meat without the need for prototyping! [Don't Starve Together Only] Can revive off of viable companion mobs. Will not have a max health penalty, but will respawn with only 15 health and kill the companion you haunted (viable companion mobs include Pigmen, Rabbitmen, Rock Lobsters, Chester and Glommer. This can be further modified in configuration) [Don't Starve Together Only] June is a pretty corrupt person, and the more loyal or numerous her following becomes, the more her corruption shows towards others. As such, if June has 3+ followers or at least 1 extremely loyal follower, she will emit an aura, draining other players' sanity. This can also scale up the more followers and or extremely loyal followers you have. Gameplay Style: June is a moderately weak character whose only shining point stat-wise is her immensely high sanity max of 300. Outside of this, her true strength lies when she finds a companion. For instance, feeding a Pigman or Rabbitman will increase their loyalty gained by the food item by 50%. This, combined with her starting inventory of 3 meat, gives you enough food from the start to keep one pig loyal for up to 4.5 days. Even smaller meals can give more loyalty, so you don't have to just feed them meat. Another perk of hers is that Rabbitmen will never aggro on her when she has meat in her inventory, which makes having a following comprised of both Pig and Rabbitmen more viable for her. Her final (and most influential) perk is her ability to revive off of viable companion mobs (includes Pigmen, Rabbitmen, Rock Lobsters, Chester, and Glommer). For doing this however, the companion dies and she spawns in with only 15 health, but does not gain a max-health penalty and possibly even the killed companion's food of choice, allowing you to start the follower cycle all over again. June's followers gain buffs that scale up based on how loyal they are, separated into 4 stages. At stage 1, June's followers become sick of her demands and slack, degrading June's sanity in the process. At stage 2, they are at their default stats. At stage 3, they gain a small buff. At stage 4, they gain a strong buff, passive regeneration, and even passively raise June's sanity over time. (Followers will let you know what stage they're at through comments) It is best recommended to have a small following, so that when food becomes scarce, June doesn't suffer a huge amount of lost sanity. Backstory (for those that want one): June is an anthromorph, a creature composed of both human and animal DNA. Created to live for hundreds of years and look as beautiful as if she was still young. Before her kind was given proper human rights, she was produced as a dime-a-dozen servant/slave whose sole purpose was to please her owner’s demands. However, June was a special case. Unlike other anthromorphs of her time, she was extremely intelligent and didn’t take satisfaction in pleasing her owner, so much so that when her owner got drunk one night, she fooled him into his bedroom with her, and killed him in cold blood. Of course, because of how anthromorphs were “stupid creatures who follow their master’s will,” the courts ruled out murder in favor of suicide and June got off scot free. From then on she used her mind and body to trick unknowing people into doing exactly what she wanted. Now, trapped in the world of Don’t Starve, she finds her skills of manipulation being put to the test, as she now must use them to make her way through using this world’s smartest creatures… believe me… that isn’t saying much. If you've downloaded June off of this page and not the Steam Workshop and suffer from a game-crashing bug, please make sure to check and see if your version is up to date before reporting. Currently June's version is: 1.3.4 for Don't Starve Together (see changelog for more information) 1.1.3 for Don't Starve (see changelog for more information) Known Bugs: [Don't Starve Only] When saving a game and re-loading it, any companions you currently have will have their loyalty reset to 100% (50% in the case of June's loyalty increasing perk) if their current loyalty to June at the time of saving exceeded the maximum default loyalty. [Don't Starve Together Only] If you enable Widgette by Dragon Wolf Leo and have one player play as June with another as Widgette, the one playing as Widgette will crash (I believe this has something to do with both having lightning in their modmain... but I don't believe I can fix this since it could be June or it could be Widgette... I can't really tell from the code) Special thanks to: Dragon Wolf Leo, creator of the Extended Character Template Electroferret for help with coding and enthusiasm
greetings. I have been working on a character recently, but have run into a crash I cant seem to resolve. here is the log: As far as I am aware, a value in strings/mod.lua is not existant, and is breaking everything, and I don't know why. Any assistance would be appreciated.
I'm currently having a problem with my code within the modmain of a custom character I was creating and I was able to isolate it down to this line here: if v.components.age:GetAgeInDays() % daysRequired = 0 then What I'm trying to accomplish is a simple RNG item giver to a specific character, but only when their time alive in the world fully divides (nothing in the decimal places) into the required day count (determined by the config data of 'gem_generation'). However, when it comes to running the code below, I always receive the same results from the game. For the line I isolated above, it always crashes saying that "then is expected near =" for said line. I'd appreciate any assistance in finding out the issue as well as how to solve it. The full code: if GetModConfigData('gem_generation') > 0 then local function GiveGems() for i,v in ipairs(AllPlayers) do local daysRequired = tonumber(GetModConfigData('gem_generation')) local playerAge = tonumber(v.components.age:GetAgeInDays()) -- If the player is example, has more than 0 health (isn't dead) and the age of the player meets the generation requirements if (v:HasTag("example")) and (v.components.health.currenthealth > 0) and (playerAge > 1) and not v:HasTag("playerghost") then if v.components.age:GetAgeInDays() % daysRequired = 0 then --Gives the player a random gem local RNG = math.random(1,36) if RNG < 7 then v.components.inventory:GiveItem("redgem") elseif RNG >= 7 and RNG < 13 then v.components.inventory:GiveItem("orangegem") elseif RNG >= 13 and RNG < 19 then v.components.inventory:GiveItem("yellowgem") elseif RNG >= 19 and RNG < 25 then v.components.inventory:GiveItem("greengem") elseif RNG >= 25 and RNG < 31 then v.components.inventory:GiveItem("bluegem") else v.components.inventory:GiveItem("purplegem") end end end end end -- Runs GiveGems local function OnDayComplete(inst,day) GiveGems() end -- Runs GiveGems at the start of a new day AddWorldPostInit(function(w) w:WatchWorldState("cycles", OnDayComplete) end) end
All right @rezecib here is the coding as promised and how it is with my mod along with small screenshots to show where stuff is located. Ignore the text being gibberish I had simply wanted to make sure it was reading the things I wrote. My modmain.lua coding with the modimport bolded The announcestrings.lua file that is placed underneath my character's speech files An image of where the file is located which is in the scripts folder of the mod