7Meias

  • Content Count

    53
  • Joined

  • Last visited

Community Reputation

247 Excellent

About 7Meias

  • Rank
    Junior Member
...

Recent Profile Visitors

500 profile views
  1. Sorry I took so long to answer you guys, life has been quite busy haha No, when caves were enabled, I couldnt access the tab on controller nor through scrolling down! But what penguin said down there helped me a lot~ Yeah, I initially had my tag only on master_postint, so i moved to common_postint and it seemed to work!! Tysm
  2. Oh thank you very much!! I'll test some of these random higher numbers then!!
  3. EDIT: The problem reappeared and im not sure why! It's the same thing as on the previous time: tab appears on normal worlds but doesnt in ones with caves enabled. I've already tried to change the priority to 2, 8, 996, 998, 999 and even moving the command within the code a couple times but none worked. Does anyone have ideas? local springtab = AddRecipeTab("Floriography", 998, "images/mytab/maxtab.xml", "maxtab.tex", "canebuilder") my new mod main: modmain.lua -- -- -- -- -- -- -- -- -- -- -- Pretty much what the title says, I really don't know why, but my UI looks different from when I have caves enabled or not. I've never had a problem like this before, and I've tried many things already to no avail. Basically, my custom character is supposed to have his custom tab (Floriography) popping up whenever he holds an item (houndcane), and it was working so far on the worlds I was testing not holding item > holding item (dont mind the tab doesnt have an image yet, I'll take care of the graphics once the mod is done) But once I enable caves, the UI ""shrinks"" and I'm unable to see my tab, then, and also unable to use it third one is how my UI looks on cave worlds for comparison Any ideas? Here's my modmain btw, where my custom tab is, and the code of adding a tab i used modmain.lua local maxtab = AddRecipeTab("Floriography", 999, "images/mytab/maxtab.xml", "maxtab.tex", "canebuilder") EDIT (scratch this, problem returned) Pfft, I think my head was a bit too tired to think of new ideas xD Cause after a little nap I figured it out. Changed the priority of my tab, when sorting it out, and that seemed to do the trick. I kinda liked it being in the bottom more, but at least this works local maxtab = AddRecipeTab("Floriography", 2, "images/mytab/maxtab.xml", "maxtab.tex", "canebuilder") modmain.lua
  4. I GUESS ITS TIME TO DRAW A THOUSAND WENDIES TO FILL THE VOID IN MY HEART AFTER THIS SHORT
  5. Took some time but i did it- gonna post in case someone else gets this same doubt on the future All I did was make a new "ItemApathy" component (with a ListenForEvent ) and add this lil "CreateApathy" function in it if v.prefab and self.inst.components.inventory:Has(v.prefab, 1) then self.task = self.inst:DoPeriodicTask(1, function(inst) if self.inst.components.temperature.current < 90 and self.inst.components.temperature.current > 4 then self.inst.components.temperature:DoDelta(-2) end end) else if self.task ~= nil then self.task:Cancel() self.task = nil end end I'm going to test some more of the task's speed and the modifier- but the hard part, which is this basic skeleton, is already done and ready :>
  6. Hello, everyone, It's one of my first times modding on DST, tho i have experience with C++ and a bit of java lol And I was trying to make a new character with an item perk but found a couple difficulties, hoped someone could help . Well, what i had in mind is that, depending on things on their inventory, they'd get certain penalties or bonuses as long as the item remained with them. My first idea was to make my own itemaffinity component, much like wurt's. function ItemAffinity:AddAffinity(prefab, tag, sanity_bonus, priority) table.insert(self.affinities, {prefab = prefab, tag= tag, sanity_bonus = sanity_bonus, priority = priority}) self:RefreshAffinity() end Except what i wanted to happen is that instead of a sanity bonus the item would cause a temperature modifier (or a temperature penalty?). For example, if you had a certain amount of ice in your inventory, your temp would slowly start to drop. How would I do that? Is it even possible? My idea was also that the most ice u carried quicker you'd start to freeze but if we can only make penalties through item type priority that's fine. Analysing how wurt's component worked thats what i found function ItemAffinity:RefreshAffinity() self:SortAffinities() self.inst.components.sanity.externalmodifiers:RemoveModifier(self.inst) for i,v in ipairs(self.affinities) do if v.prefab and self.inst.components.inventory:Has(v.prefab, 1) then self.inst.components.sanity.externalmodifiers:SetModifier(self.inst, v.sanity_bonus) break elseif v.tag and self.inst.components.inventory:HasItemWithTag(v.tag, 1) then self.inst.components.sanity.externalmodifiers:SetModifier(self.inst, v.sanity_bonus) break end end end I'm aware that what is changing depends on the "self.inst.components.sanity.externalmodifiers:SetModifier" , and I also thought about stealing smth from the chilling amulet or the heatstone to put in its place (since they also drop ur temp with time) but i, honestly, didnt undertand much how their code worked KLSFLDFD Any ideas? Is there another way to do this? Thank you in advance ^^
  7. Wow omg I really like your style!! Your brush feels almost chaorcal-ish in the lates wes piece, which is lovely, and I also loved how you handled the shapes on ur outifit drawings /7\
  8. Just remembered I forgot to post this here!! Honestly one of my most fave pieces i've ever made Also an idea for older wortox because why not B)
  9. THE FLOWER AAAAAAAAAAAAAAAA ((Regardless of who the short might be about, thank yo SO much klei you guys are doing an incredible job <333 ))
  10. I just LOVE illustrating some of the little things that happen when I play aaaaa Here's the og pic too
  11. A very rare soft maxwell sight
  12. hELLO!! I brough two other drawings this time I'm dooding some of my fave character dynamics haha
  13. My sis installed one of the newest mods in my pc as a surprise before we started a world and needless to say i was NOT prepared for this if u also want to have fun/question ur sanity, here's the link for these maxspiders omg https://steamcommunity.com/sharedfiles/filedetails/?id=1952540206 Edit: the humans vs spiders war is over and i also wanted to share this pretty image of all of us sleeping