/usr/share/games/cuyo/baender.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 | #
# Copyright 2005,2008 by Mark Weyer
# Modified 2010,2012 by Mark Weyer
# Maintenance modifications 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
#
Baender = {
name = "Ribbons"
author = "Mark Weyer"
description = "Ribbons connect diagonally."
neighbours = <neighbours_diagonal>
numexplode[1] = 5
numexplode[2] = 4
startpic = Gras
startdist = "*.........","**...*....","***.***..*","**********"
greypic = Grau
emptypic = Hinter
pics[1] = Band * 5
pics[2] = Band * 4
<<
var ausgleich;
semiglobal.row_up = ausgleich+=1;
semiglobal.row_down = ausgleich-=1;
Malen = {
qu=Q_TL;
if kind@(-1,-1)==kind -> A else B;
*;
if kind@(1,-1)==kind -> {C; *@(1,0)};
qu=Q_TR;
if kind@(1,-1)==kind -> A else B;
*;
if kind@(-1,-1)==kind -> {C; @(-1,0)*};
qu=Q_BL;
if kind@(-1,1)==kind -> A else B;
*;
if kind@(1,1)==kind -> {C; @(1,0)*};
qu=Q_BR;
if kind@(1,1)==kind -> A else B;
*;
if kind@(-1,1)==kind -> {C; *@(-1,0)};
};
>>
Band = {
pics = mbaBand1.xpm, mbaBand2.xpm, mbaBand3.xpm, mbaBand4.xpm, mbaBand5.xpm
<<
Band = {file=kind-Band; Malen;};
>>
}
Gras = {
pics = mbaGras.xpm
<<
Gras = Malen;
>>
}
Grau = {
pics = mbaGrau.xpm
<<
Grau = Malen;
>>
}
Hinter = {
pics = mbaHinter.xpm, mbaHinter2.xpm
<<
Hinter = {file=(loc_x+loc_y+ausgleich@@)%2; B; *};
>>
}
}
|