Jump to content
elislavkat

How to change only 1 value, not all item in by mod.

Recommended Posts

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?

 

Share this post


Link to post
Share on other sites

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,
    }

Share this post


Link to post
Share on other sites
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"  ?

Share this post


Link to post
Share on other sites

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,
    }

 

}

 

Share this post


Link to post
Share on other sites
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 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...