Jump to content
Garbonzo

Is there an item ID list?

Recommended Posts

Really curious if there is a list I can look at.

 

Lets say I want to spawn in an apple I would type /additem "Base.Apple"  

 

What about the other items? I.E. skill books and other things I have tried but to no avail.

Share this post


Link to post
Share on other sites

There is no specific list but if you have a look at the script files located in this directory:

 

...\Steam\SteamApps\common\ProjectZomboid\media\scripts\

 

You will see files set up like this:

module Base{/************************Weapon************************/	item Axe	{		MaxRange	=	1.5,		WeaponSprite	=	Fireaxe,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3.0,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.002,		Categories	=	Axe,		ConditionLowerChanceOneIn	=	30,		Weight	=	3,		SplatNumber	=	1,		PushBackMod	=	0.3,		MaxDamage	=	2.5,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	35,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	20,		WeaponWeight	=	3,		DisplayName	=	Axe,		MinRange	=	0.61,		SwingTime	=	3.0,		HitAngleMod	=	-30,		MinDamage	=	1,		SplatSize	=	5,		KnockdownMod	=	2,		SplatBloodOnNoDeath	=	TRUE,		Icon	=	Axe,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}	item BaseballBat	{		MaxRange	=	1.5,		WeaponSprite	=	Baseballbat,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.02,		Categories	=	Blunt,		ConditionLowerChanceOneIn	=	20,		Weight	=	2,		SplatNumber	=	1,		PushBackMod	=	0.5,		MaxDamage	=	1.2,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	7,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	10,		WeaponWeight	=	2,		DisplayName	=	Baseball Bat,		MinRange	=	0.61,		SwingTime	=	3,		HitAngleMod	=	-30,		MinDamage	=	0.8,		KnockdownMod	=	0,		SplatBloodOnNoDeath	=	FALSE,		Icon	=	BaseballBat,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}

now as far as additem is concerned, the only parts you need to pay attention to are.

  1. At the very beginning there will be a module reference, in this case "module Base".... This means that any item in this list will begin with the module reference Base.
  2. At the beginning of each item in the list there will be an item reference, in this case "item Axe" & "item BaseballBat"

These 2 pieces of information come together to form the module\item reference, which in the case of these 2 items are:

 

Base.Axe & Base.BaseballBat

Share this post


Link to post
Share on other sites

There is no specific list but if you have a look at the script files located in this directory:

 

...\Steam\SteamApps\common\ProjectZomboid\media\scripts\

 

You will see files set up like this:

module Base{/************************Weapon************************/	item Axe	{		MaxRange	=	1.5,		WeaponSprite	=	Fireaxe,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3.0,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.002,		Categories	=	Axe,		ConditionLowerChanceOneIn	=	30,		Weight	=	3,		SplatNumber	=	1,		PushBackMod	=	0.3,		MaxDamage	=	2.5,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	35,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	20,		WeaponWeight	=	3,		DisplayName	=	Axe,		MinRange	=	0.61,		SwingTime	=	3.0,		HitAngleMod	=	-30,		MinDamage	=	1,		SplatSize	=	5,		KnockdownMod	=	2,		SplatBloodOnNoDeath	=	TRUE,		Icon	=	Axe,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}	item BaseballBat	{		MaxRange	=	1.5,		WeaponSprite	=	Baseballbat,		MinAngle	=	0.2,		Type	=	Weapon,		MinimumSwingTime	=	3,		KnockBackOnNoDeath	=	TRUE,		SwingAmountBeforeImpact	=	0.02,		Categories	=	Blunt,		ConditionLowerChanceOneIn	=	20,		Weight	=	2,		SplatNumber	=	1,		PushBackMod	=	0.5,		MaxDamage	=	1.2,		SubCategory	=	Swinging,		ConditionMax	=	15,		MaxHitCount	=	2,		DoorDamage	=	7,		IdleAnim	=	Idle_Weapon2,		SwingAnim	=	Bat,		CriticalChance	=	10,		WeaponWeight	=	2,		DisplayName	=	Baseball Bat,		MinRange	=	0.61,		SwingTime	=	3,		HitAngleMod	=	-30,		MinDamage	=	0.8,		KnockdownMod	=	0,		SplatBloodOnNoDeath	=	FALSE,		Icon	=	BaseballBat,		RunAnim	=	Run_Weapon2,        TwoHandWeapon = TRUE,	}

now as far as additem is concerned, the only parts you need to pay attention to are.

  1. At the very beginning there will be a module reference, in this case "module Base".... This means that any item in this list will begin with the module reference Base.
  2. At the beginning of each item in the list there will be an item reference, in this case "item Axe" & "item BaseballBat"

These 2 pieces of information come together to form the module\item reference, which in the case of these 2 items are:

 

Base.Axe & Base.BaseballBat

Interesting. Now I know how what to use with admin commands, I can ever get around to setting up an admin profile on my server.

Share this post


Link to post
Share on other sites

Thank you for this. But I'm going to have a long long talk with myself about this. I'm building a huge fort and

have made a lot of progress using only hard work. Perhaps this will feel like cheating. Yeah, I don't know, I'm

torn. But big thanks for letting me know about your fantastic mod. Cheers.

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...