/usr/share/games/cuyo/tiere.ld is in cuyo-data 2.0.0brl1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | #
# Copyright <=2004 by Immanuel Halupczok
# Modified 2006,2011 by Immanuel Halupczok
# Maintenance modifications 2005,2006,2008,2011 by the cuyo developers
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# The above notices apply to this file and to:
# itBlau.xpm[.gz], itGelb.xpm[.gz], itGras.xpm[.gz], itGrau.xpm[.gz],
# itGruen.xpm[.gz], itHintergrund.xpm[.gz], itLeer.xpm[.gz]
#
Tiere = {
name="Tiling Animals"
author="Immi"
numexplode=6
chaingrass=1
neighbours=<neighbours_hex6>
pics=tier * 3
greypic=grau
startpic=gras
startdist="AAAAAAAAAA","AAAAAAAAAA"
randomgreys[1]=100
bgcolor=0,0,0
bgpic=itHintergrund.xpm
<<
var po;
var dy = 0;
semiglobal.row_up = { dy+=1; };
semiglobal.row_down = { dy-=1; };
nicht_tier = {
po = dy@@ + loc_y + (loc_x % 2);
po = (po % 3) * 10;
if loc_x % 2 == 0 -> po += 2;
pos = po + 1; *@(0,-1);
pos = po + 0; [qu=Q_BR_TR] *@(-1,-0.5);
pos = po + 5; [qu=Q_TR_BR] *@(-1,-0.5);
pos = po + 6; *;
pos = po + 2; [qu=Q_BL_TL] *@(1,-0.5);
pos = po + 7; [qu=Q_TL_BL] *@(1,-0.5);
};
tier = {
file=kind-tier;
if falling -> {
[qu = Q_BL_TL] H*;
[qu = Q_BR_TR] H*;
[qu = Q_TL_BL] M*;
[qu = Q_TR_BR] M*;
}
else nicht_tier;
};
>>
tier = {
pics=itBlau.xpm,itGelb.xpm,itGruen.xpm
}
grau = {
pics=itGrau.xpm
<<
grau=nicht_tier;
>>
}
gras = {
pics=itGras.xpm
<<
gras=nicht_tier;
# gras={
# 4;
# switch {
# 1??1?? -> switch {
# x % 3 == 0 -> C*;
# -> D*;
#
# loc_x % 2 == 1 -> B*;
# -> {
# [qu=Q_BL_TL] A*;
# [qu=Q_BR_TR] A*;
# [qu=Q_TL_BL] C*;
# [qu=Q_TR_BR] C*;
# };
# };
# raender;
# };
>>
}
}
|