← ClaudeAtlas

stalker-soc-itemslisted

Create items for a S.T.A.L.K.E.R. Shadow of Chernobyl mod - quest/story items, food, belt artefacts with custom stats, heavy trap items, script-spawned stash boxes with loot, custom inventory icons composited into the ui_icon_equipment atlas, and item handling from Lua (give, take, count, box callbacks). Use when adding or changing any SoC inventory item, icon, stash or loot.
webpnk/stalker-soc-skills · ★ 0 · Web & Frontend · score 67
Install: claude install-skill webpnk/stalker-soc-skills
# SoC items, icons and stashes ## Item sections Start from `templates\items.ltx` (`__PREFIX__` -> your prefix); put sections into `config\<p>\<p>_system.ltx` (or a file `#include`d from it). Patterns: | Kind | Parent | Notes | |---|---|---| | story/quest item | `quest_case_01` | `quest_item = true`, `can_trade = false`; pick a vanilla visual (`equipments\item_document_1/2`, `item_merger`, `item_flash_2`, `weapons\vodka\vodka`, `physics\box\expl_dinamit.ogf`...) | | food | `bread` (or `kolbasa`, `conserva`) | `eat_health`, `eat_power`, `eat_satiety` | | belt artefact | `af_base` + `class = ARTEFACT` | `*_restore_speed` are per game second (x10 real time); `hit_absorbation_sect` immunities scale incoming hits while worn | | trap weight | `quest_case_01`, `inv_weight = 400` | carrying it = can't move (there's no walk-speed API) | | stash box | `inventory_box` | **must** have `custom_data = scripts\treasure_inventory_box.ltx`; use `physics\box\box_wood_01` (box_metall_01 gets no use prompt) | Strings: `inv_name`, `inv_name_short`, `description` are string ids (never empty - an empty `<text></text>` crashes the game). A section that doesn't exist crashes `alife():create` silently - double-check spelling (validate section names against `unpacked\config` + your configs). ## Icons 1. Render or draw a transparent PNG per item into `src\art\icons\png\<section>.png` (e.g. a Blender orthographic render of the item model on a transparent background, 50 px per cell). 2. List cells