PhunLewt 2.1
Изображение 1 из 13. Материалы автора из Steam Workshop.
О материале
«PhunLewt 2.1» — материал мастерской Project Zomboid. Карты, транспорт, оружие и моды для выживания. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Fine tune loot spawns and respawns by area and time by reducing their chance of spawn
B42.20.4: Migrating your customisations
Build 42.20.4 removed the Lua functions this mod used to read and write its configuration file. Any customisations you already have in PhunLewt.txt will need to be converted to PhunLewt.json, or re-created from scratch in the editor.
Single-player
- Find your customisations at %UserProfile%/Zomboid/Lua/PhunLewt.txt.
- Open the Phun configuration converter.
- Select or drag PhunLewt.txt into the converter and download the resulting PhunLewt.json file.
- Place PhunLewt.json in the same %UserProfile%/Zomboid/Lua folder.
- Keep the old PhunLewt.txt until you have confirmed your configs load correctly.
Multiplayer Your customisations are on the server at %UserProfile%/Zomboid/Server//Lua/PhunLewt.txt. Convert it with the same tool and place PhunLewt.json beside the old file. Clients do not have the server's configuration file, so players do not need to do anything.
The converter runs entirely in your browser; your configuration files are never uploaded. If you skip this step the mod starts with no customisations and logs a reminder to the console; nothing is deleted.
Setup
Open the configs window by clicking the PhunLewts button in the Admin or Debug window
This is a list of all your different configurations. The Default profile is the configuration used if you are not using with PhunZones or if the zone you are in does not specify a configuration. It's the perfect place for your global defaults!
Let's make ammo really rare. To do so, I'll edit the default config, click the Categories tab, edit the Ammo category and set it to 90
That makes ALL items in that category reduce their spawn by 90%. Now, let's say I want no ammo spawning in certain places. To do this, I create a new config, inherit from default (which has the 90% reduction for ammo) and change the Ammo value to 100
I can then assign that config to a zone via the PhunZones editor
IMPORTANT
-
This mod only reduces loot when the game spawns or respawns items in a container.
-
It cannot reduce loot in containers that are already filled (eg a custom map that ships with loot already in containers). However it will apply when those containers restock. That also means that changes in your config will not affect containers that have already been stocked
-
It cannot force loot to respawn in custom maps that are missing or have broken forage zones. Basically if the game won't restock the container, this mod won't be able to change that
-
There are no longer dependencies required, however it is strongly suggested that you use PhunZones. Without it, only your default config is used
-
Remember, the values reduce loot spawns. 100 = 100% reduction and 0 = no reduction!
Configuration Settings
| Setting | Description |
|---|---|
| Name | Unique name for this configuration. |
| Default | Applies to all categories not explicitly defined here or in inherited configs. Leave blank to ignore. |
| Hours Till Full | How long (in in-game hours) it takes for the full reduction to apply. Example: if Clothing is set to 50% and this is 240 hours (10 game days), the reduction ramps from 0% → 50% over that time. |
| On Empty Add Item | If a restocked container ends up empty, this item is added as a visual cue that a restock occurred. |
| Inherit | Inherit values from another configuration (and its parents). Usually, you’ll want to inherit from your Global Default config. |
More Phun Stuff
Coded with love for our awesome PhunZoid community. Check out the GitHub repo for more info.
Workshop ID: 3676250472 Mod ID: phunlewt2.1
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.