HWPFormat: Update HWP nesting
Wed, 04 Dec 2019 18:14:40 +0000
changeset 2109 e433562fb881
parent 2108 237737e5336c
child 2110 d06d541ca91c
HWPFormat: Update HWP nesting
--- a/HWPFormat.wiki	Tue Dec 03 08:44:00 2019 +0000
+++ b/HWPFormat.wiki	Wed Dec 04 18:14:40 2019 +0000
@@ -92,10 +92,10 @@
 Please remember how Hedgewars uses ammo icons in HWPs (see above).
-=== Limitations ===
-Important: HWPs are not recursive! This means if you put a HWP inside another HWP, Hedgewars will only load the actual contents of the outermost HWP. The contents of the inner HWP are not loaded. This implies that there is currently no way (via HWP) to distribute a script with custom data. You have to ask users to just extract a normal Zip file with your script data instead.
+=== Nested HWPs ===
+HWPs can be nested. That is, if you put a HWP inside another HWP, the contents of the inner HWP will be loaded as well.
-This is considered a bug, see https://issues.hedgewars.org/show_bug.cgi?id=174.
+There's a limit to this: The nesting can only go one layer deep, in order to keep things simple. HWPs that are nested even deeper are simply ignored.
 === Order of precedence ===