]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/entities.def2ent
make messages more consistent
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.def2ent
index 7f82d7a1e7290799b703adf0fd936545e98097a9..2ade9938cc32fc38831d1df2dc9485c94aadfbe8 100755 (executable)
@@ -11,7 +11,7 @@ open my $fh, '<', '../../xonotic-data.pk3dir/qcsrc/server/qc.asm'
 while(<$fh>)
 {
        chomp;
 while(<$fh>)
 {
        chomp;
-       if(/^\.(\w+) (\w+);$/)
+       if(/^\.(\w+) (\w+);(?: \/\* at .* \*\/)$/)
        {
                if($1 eq "float")
                {
        {
                if($1 eq "float")
                {
@@ -46,6 +46,7 @@ $types{target4} = "target";
 $types{targetname} = "targetname";
 $types{target} = "target";
 $types{team} = "integer";
 $types{targetname} = "targetname";
 $types{target} = "target";
 $types{team} = "integer";
+$types{target_random} = "boolean";
 
 # missing definition in QC, q3map2 only
 $types{_ambient} = "real";
 
 # missing definition in QC, q3map2 only
 $types{_ambient} = "real";