Build 42+ UNSUPPORTED – Item Tweaker API – 【Project Zomboid】

サバイバル・クラフト追加ゲームバランス調整服装・装備追加車両追加マップ・建物追加ゾンビ・難易度調整UI改善
  • 対応バージョン:不明
  • サブスクライバー数:1772619
  • 最終更新:2026-04-13 21:00:06 UTC
  • 制作者76561198007584659

MOD説明(日本語)

MOD概要

Modders向けにゲーム内既存アイテムのプロパティを個別に変更するためのAPI(Application Programming Interface)です。複数のModが同じアイテムの異なるプロパティを変更する際の互換性を高めることを目的としています。Project ZomboidのBuild 41向けに提供されており、Build 42以降のサポートは終了しています。別の同名Mod (ID: 2510747487) と同時にサブスクライブすると競合する可能性があるため、そちらのModはアンサブスクライブする必要があるとされています。

このMODで何が変わるか

**プレイヤー視点:**
このMOD自体は直接的なゲームプレイの変更は行いません。このAPIを利用する他のMODが導入されることで、ゲーム内のアイテムのプロパティ(重量、表示名、カテゴリ、空腹度減少量など)が変更されたり、カスタムModDataが追加されたりします。

**Modder視点:**
– Luaスクリプトを通じて、既存アイテムの特定のプロパティ(重量、表示名、カテゴリ、空腹度減少量など)を個別に変更できるようになります。
– アイテムにカスタムModDataを追加できるようになります。
– 他のModと競合しにくい形でアイテムのプロパティを変更できるため、Modの互換性が向上します(ただし、同じプロパティを複数のModが変更しようとした場合、最後にロードされたModの変更が優先されます)。
– アイテムの`TYPE`プロパティを変更すると、既にスポーンしている該当アイテムのインスタンスが全て削除されます。

想定されるメリット(推定)

– **Modの互換性向上:** このAPIを利用するMod同士は、同じアイテムの異なるプロパティを変更する場合に競合しにくくなると考えられます。これにより、多くのModを同時に導入しても安定性が保たれやすくなる可能性があります。
– **Mod開発の柔軟性:** Modderはアイテム定義ファイルを丸ごと上書きする代わりに、必要な部分だけを変更できるため、より細かくバランス調整や機能追加を行うModが作りやすくなると考えられます。
– **ゲーム体験のカスタマイズ性向上:** このAPIを利用した多くのModが共存することで、プレイヤーはアイテムに関する様々な調整や追加機能をより安定して享受できる可能性があります。

想定されるデメリット・注意点(推定)

– **Build 42以降での非推奨/非動作:** 作者によってBuild 42以降のサポートが終了していると明記されており、現在のProject Zomboidの主要なゲームバージョン(Build 42以降)では正常に動作しない、または予期せぬ問題が発生する可能性があります。
– **競合のリスク:**
– 別の同名Mod (ID: 2510747487) と同時にサブスクライブした場合、ゲームの読み込みで問題が発生し、エラーやクラッシュにつながる可能性があります。
– このAPIを使用しないMod、または同じプロパティを直接変更しようとするModとの間では、ロード順によって変更が上書きされる可能性があります。
– **間接的な影響:** このMod自体は直接的な変更を加えないため、恩恵を受けるには他のModがこのAPIを利用している必要があります。もし利用しているModが少ない場合、導入のメリットは限定的になる可能性があります。
– **`TYPE`変更の危険性:** もしこのAPIを利用するModがアイテムの`TYPE`プロパティを変更しようとした場合、既にゲーム内に存在するそのアイテムが全て削除されるため、既存のセーブデータに大きな影響を与える可能性があります。

向いている人(推定)

– **Project ZomboidのBuild 41以前のゲームバージョンでプレイしている人:** ModがBuild 41向けにサポートされているため、このバージョンを使用しているプレイヤーは、このAPIを利用するModの恩恵を受けられる可能性があります。
– **Project ZomboidのModを開発するModder:** 特に、Build 41以前のバージョン向けにアイテムのプロパティを細かく調整したい、または他のModとの互換性を重視したいModderにとって有用なツールとなると考えられます。
– **多くのModを導入し、アイテム関連の互換性の問題を減らしたいプレイヤー:** このAPIを利用するModが多数あれば、アイテム関連の競合を減らす一助となる可能性があります。

向いていない人(推定)

– **Project ZomboidのBuild 42以降でプレイしている人:** ModのサポートがBuild 42以降で終了しているため、導入しても動作しないか、問題を引き起こす可能性が高いです。
– **Mod開発に興味がなく、純粋にゲームプレイを楽しみたいプレイヤー:** このModはAPIであり、直接的なゲームプレイの変更はありません。恩恵を受けるには他のModの導入が必要なため、単体で導入する意味はほとんどありません。
– **ミニマルなMod構成を好む人:** このModは他のModの前提となるため、Mod数を増やしたくない人には向かないかもしれません。

総合評価(暫定)

– おすすめ度:★★☆☆☆
– 根拠:ModdersにとってMod間の互換性向上に寄与する有用なAPIであり、かつては多くのModに利用されてきましたが、作者によってProject Zomboid Build 42以降のサポートが終了しているため、現在のゲームバージョンでの有用性は低いです。Build 41以前の環境でModを開発したり、特定の古いModを動かしたりする場合には依然として価値があると考えられます。

※この説明文はAIによる自動翻訳です。正確な情報は下記の原文またはSteam Workshop公式ページをご確認ください。

原文を見る(英語)
Workshop ID: 566115016
ModID: ItemTweakerAPI

–EDIT 3 – End of Support —
I thank you all who have subscribed, and with these numbers am humbled.
I am aware this mod no longer works for build 42. I am okay with this, and in fact am glad, as this mod was honestly never really needed. It has been 9 years, and was once drastically needed to help spread modding awareness, this is by far no longer true.
It is time to return the attention this mod has been given back to the Zomboid devs, who laid the framework this mod piggybacked.

For Context:
This mod was built during a time where new Zomboid modders would release mods containing entire files worth of item definitions, in order to only change a single entry, thus removing any changes a mod loaded previously would make.

This mod mod makes use of code that Zomboid always had simply to make new modders know how to make mods more compatible. I honestly never intended for people to continue to use this mod for their mods for the last 9 years instead of discovering the real method behind how to do it themselves.

That being said, while I appreciate the support, and the sheer number of people subscribing, I am going to keep this mod in a mothballed state, ending support for build 42 onward, but keeping it available to any mod still relying on it in build 41. Feel free to unsubscribe when the time for it comes, but it’s still been quite a trip.

–EDIT 2–
For those of you who are -still- getting missing file errors, Unsubscribe from the other item tweaker here.
https://steamcommunity.com/workshop/filedetails/?id=2510747487

Having both versions subscribed list alone can cause issues, as they are using the same ModID, and is 100% confusing your game’s mod enabling/loading attempts.

This alone is making it try to load both my still working code, and the outdated version’s now broken code.

Furthermore, if this issue is still happening, and you know you haven’t subscribed to this mod, then there may be another mod you’ve subscribed to that is still using the outdated mod’s script files.

I recommend looking into which those are, and suggest those mods switch back to this still working version.

—EDIT—
It’s come to my attention that there is another version of item tweaker that had been updated at one point. While it may have been an improvement at one point, and I thank him for trying to keep this mod alive, his version is apparently causing many issues in the new build. This version seems to still work very well.

I have not been modding for PZ in quite a long time, however knowing this mod still works now as it did before makes me feel glad to have been part of the modding community. Should this start acting up for real, I may pass it on to someone more active, but as of now, I hope you continue to enjoy it. Thank you again Brybry and Blindcoder for helping to make improved mod compatability possible all these years

—ORIGINAL POST—

This modding API allows any modders to more simply make multiple changes to any items loaded into the game’s current database, while leaving the rest of the remaining values alone. This uses code that Zomboid already has implemented, but intended for new modders that haven’t discovered those commands yet.

Change any item’s weight, display name, display category, hunger reduction, or anything else, while keeping the item as mod friendly as possible.
(WARNING: changing TYPE will delete all instances of already spawned items)

You can change only an item icon, while another mod changes the same item’s weight, all without conflict (Unless mods do not use this mod to do so, or two mods try to change the same value, in which case, the last loaded mod will win)

For the Simplest Implementation through LUA:
———————————————————————–Begin File
if getActivatedMods():contains(“ItemTweakerAPI”) then
require(“ItemTweaker_Core”);
else return end

TweakItem(“Base.Needle”,”Icon”, “Worm”);
TweakItem(“Base.Needle”,”Tooltip”, “Wearable: Waist”);
TweakItem(“Base.Needle”,”DisplayCategory”, “Repair”);
———————————————————————–End File
For each item and property you wish to change, create a new line, and place the related values in place.

You can even add custom ModData to items.
TweakItem(“Base.Needle”,”BaseValue”, “500”);

Organized Item Names is an example mod to hopefully show beginner modders how to make use of this API

Mods I know of using this API:
Custom Categories
JPCategoriesPlus – By: Proxyer
Littering – By: Svarog
Jaw Stab Proliferation – By: LoonyLadel

Wedge’s Item Name Fixes – By: Wedge McCloud (Includes changes for some other mods)
[strike] Custom Categories[/strike](Outdated: Use Wedge’s Item Name Fixes instead)
[strike] Organized Item Names[/strike] (Outdated: Use Wedge’s Item Name Fixes instead)

Wedge’s Hydrocraft Tweaks – By: Wedge McCloud (Requires Hydrocraft)
Better Carts – By: yuriy206 (Requires Hydrocraft)

この記事/MODは気に入りましたか?

はい
いいえ
フィードバックをありがとうございます!

コメントする

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)

Steam Gamers-ナレッジ-
プライバシーに関する概要

当ウェブサイトでは、お客様に最適なユーザー体験を提供するためにクッキーを使用しています。クッキー情報はお客様のブラウザに保存され、お客様が当ウェブサイトに再訪問された際に識別したり、当チームがお客様にとって最も興味深く役立つサイト内のセクションを把握したりするなどの役割を果たします。