"매 Eugen Systems 의 NDF (Niche Definition Files) format 의 Python parser/serializer". 매 Wargame: Red Dragon, Steel Division, WARNO 의 mod 작성에 사용. 매 lossless round-trip + AST manipulation 을 제공.
매 핵심
매 NDF format 이란
Eugen 의 game data 정의 언어 — 매 unit stats, weapon, sound, UI binding 의 declarative description.
Lua-like syntax + GUID reference + template instantiation. 매 plain text but very large (수만 lines).
unit=source.by_name("Descriptor_Unit_M1A2_Abrams_US").value# unit is an Object node
매 module 안의 specific value 변경
modules=unit.by_name("ModulesDescriptors").valueformoduleinmodules:ifmodule.value.type=="TBaseDamageModuleDescriptor":hp_row=module.value.by_name("MaxPhysicalDamages")hp_row.value="12"# was "10"break