Jump to content

Armor Snurtleshell Base Script File Changes Request


Recommended Posts

I have a request so that modders may change values more easily for the armor_snurtleshell.lua in the base scripts folder.

 

I see in the armor_wood.lua that you can create a mod that would be able to use the TUNING.ARMORWOOD & TUNING.ARMORWOOD_ABSORPTION to change the base stats of the wood armor.

 

The thing that has got me baffled is that the armor_snurtleshell.lua has it when the initCondition as follows

 

    inst.components.armor:InitCondition(TUNING.ARMORMARBLE, 0.8)
 

uses the marble armor's condition?  Then instead of having the Absorbtion value a variable you have it a fixed value.  I would think it would be nice to have Absorbtion value a variable like the other armor sets so this can be more easily changed in a mod.

 

Also found that in another part of the script the Absorbtion value is also set, but at a dif value. Example from base script:

 

        equippedArmor.components.armor:SetAbsorbtion(1)
    else
        equippedArmor.components.armor:SetAbsorbtion(0.6)
 

Now since I see here the Absorbtion value is now set to 0.6 rather then 0.8 I am not sure if this was a oversight or what.

 

Now I can see the static nature of the 100% value for when you are in the shell, but my opinion is that the second value should be using a master variable.

 

I hope I was clear in this.  I am just giving some feedback/opinions on this armor set and its lua base script file.

I'll change that for the next update. Must have been overlooked when we first implemented the item.

Bryce,

 

Thank you.  I wasn't sure if it had been overlooked or not.

 

I was looking at at tehMug's InfiniteArmor mod and was wondering why his mod didn't include this armor set till I after I was playing with the Snurtleshell armor. I was in combat and right clicked on the armor to go into the shell.  When I came out it seemed that I was taking more damage than I was before, but just thought it was me. :o

 

Thus far since I got the game I am loving it!  I really love the modding ideas that are out there.  Wish there was a way to get more of the people that don't have the steam version of Don't Starve to publish their mods to the Steam Workshop :loyal:

 

Anyway.  Thanks again for a great game and hope to see all the good new stuff you guys will be adding :D

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...