Jump to content

[Solved] Problem with base items


Ksama

Recommended Posts

Hi guys,

 

I'm creating a mod for my friends and me because we're playing on a server together but I've got a problem.

I'm trying to change some base items, so I begin with something basic to see if it's works :

 

module DirtyMod {
	imports {
		Base
	}
	
	item Axe {
		Weight	=	1,
		Icon	=	Scissors,
	}
}

Then, I launched my game to enable the mod and I started the server but the changes didn't apply.

I mean, my character have an axe in his inventory but the weight remain at 3.0 and the icon is still the axe's one.

 

My mod is located in "C:\Users\Ksama\Zomboid\mods\" and this file called "changes.txt" is in "C:\Users\Ksama\Zomboid\mods\DirtyMod\media\scripts".

I also edited my server .ini to include the mod's ID which is "DirtyMod".

 

Thank you for your help! :-)

Edited by Ksama
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...