elislavkat Posted November 2, 2019 Share Posted November 2, 2019 so, now i'm writing item Eraser { Weight = 0.05, Type = Normal, DisplayName = Eraser, Icon = Eraser, } but wanna item Eraser { Weight = 0.05, } is there syntaxis for change only weight? Arsenal26 1 Link to comment Share on other sites More sharing options...
Cory Posted November 7, 2019 Share Posted November 7, 2019 You will need to include Type/ DisplayName and Icon as they give ref to the object and allow it to be classed. item Eraser { Weight = 0.05, <-- change 0.05 to another amount. eg 0.01 Type = Normal, DisplayName = Eraser, Icon = Eraser, } Link to comment Share on other sites More sharing options...
elislavkat Posted November 8, 2019 Author Share Posted November 8, 2019 On 11/7/2019 at 4:23 PM, Cory said: You will need to include Type/ DisplayName and Icon as they give ref to the object and allow it to be classed. item Eraser { Weight = 0.05, <-- change 0.05 to another amount. eg 0.01 Type = Normal, DisplayName = Eraser, Icon = Eraser, } and, should i write something like " input base" ? Link to comment Share on other sites More sharing options...
Cory Posted November 8, 2019 Share Posted November 8, 2019 Yes the full script would be something like.. module Base { /***********Normal************* item Eraser { Weight = 0.05, <-- change 0.05 to another amount. eg 0.01 Type = Normal, DisplayName = Eraser, Icon = Eraser, } } Arsenal26 and ohgodspidersno 2 Link to comment Share on other sites More sharing options...
elislavkat Posted November 8, 2019 Author Share Posted November 8, 2019 1 hour ago, Cory said: Yes the full script would be something like.. module Base { /***********Normal************* item Eraser { Weight = 0.05, <-- change 0.05 to another amount. eg 0.01 Type = Normal, DisplayName = Eraser, Icon = Eraser, } } Thanks, will try it with something bigger ohgodspidersno 1 Link to comment Share on other sites More sharing options...
elislavkat Posted November 22, 2019 Author Share Posted November 22, 2019 On 11/9/2019 at 4:52 AM, Cory said: Yes the full script would be something like.. module Base { /***********Normal************* item Eraser { Weight = 0.05, <-- change 0.05 to another amount. eg 0.01 Type = Normal, DisplayName = Eraser, Icon = Eraser, } } no this doesn't work - you need to determine all values again. Link to comment Share on other sites More sharing options...
Cory Posted November 22, 2019 Share Posted November 22, 2019 9 hours ago, elislavkat said: no this doesn't work - you need to determine all values again. Not sure what your now trying to do now, but to change the weight of an item, as you asked is as per above. Simply change the weight value. Link to comment Share on other sites More sharing options...
ohgodspidersno Posted March 26, 2020 Share Posted March 26, 2020 You need to use a lua script. Luckily DarkSlayerEX already made one. https://steamcommunity.com/sharedfiles/filedetails/?id=566115016 Basically you require his mod which gives you a new syntax that is really easy to use. Nebula 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now