/usr/share/games/cuyo/silbergold.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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | #
# Copyright 2005,2006,2011 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
#
SilberGold={
name="Silver and Gold"
author="Mark Weyer"
numexplode=4
numexplode[easy]=3
chaingrass=0
pics=silber,gold,silbergold,goldsilber
bgcolor=0,0,0
topcolor=255,255,255
textcolor=255,0,0
toptime=200
startpic=mgsWeiss.xpm
startdist=".**.**.**.","**********","**********"
startdist[easy]=".**.**.**.","**********"
neighbours=<neighbours_knight>
speed=6
speed[easy]=3
<<
semiglobal.init = {falling_speed=speed;};
# Bei den 8 Malroutinen muss vorher file auf die Farbe gesetzt sein.
llo = {
qu=Q_TL;
if kind==kind@(-2,-1) -> {B*; [file=0]{
C;@(-1,0)*; D;*@(-1,0);
qu=Q_TR;
C;@(-1,0)*; D;*@(-1,0);
}}
else A*;
};
loo = {
qu=Q_TL;
if kind==kind@(-1,-2) -> {B*; [file=1]{
C;@(0,-1)*; D;*@(0,-1);
qu=Q_BL;
C;@(0,-1)*; D;*@(0,-1);
}}
else A*;
};
roo = {
qu=Q_TR;
if kind==kind@(1,-2) -> {B*; [file=1]{
A;@(0,-1)*; B;*@(0,-1);
qu=Q_BR;
A;@(0,-1)*; B;*@(0,-1);
}}
else A*;
};
rro = {
qu=Q_TR;
if kind==kind@(2,-1) -> {B*; [file=0]{
A;@(1,0)*; B;*@(1,0);
qu=Q_TL;
A;@(1,0)*; B;*@(1,0);
}}
else A*;
};
rru = {
qu=Q_BR;
if kind==kind@(2,1) -> {B*; [file=0]{
C;@(1,0)*; D;*@(1,0);
qu=Q_BL;
C;@(1,0)*; D;*@(1,0);
}}
else A*;
};
ruu = {
qu=Q_BR;
if kind==kind@(1,2) -> {B*; [file=1]{
C;@(0,1)*; D;*@(0,1);
qu=Q_TR;
C;@(0,1)*; D;*@(0,1);
}}
else A*;
};
luu = {
qu=Q_BL;
if kind==kind@(-1,2) -> {B*; [file=1]{
A;@(0,1)*; B;*@(0,1);
qu=Q_TL;
A;@(0,1)*; B;*@(0,1);
}}
else A*;
};
llu = {
qu=Q_BL;
if kind==kind@(-2,1) -> {B*; [file=0]{
A;@(-1,0)*; B;*@(-1,0);
qu=Q_BR;
A;@(-1,0)*; B;*@(-1,0);
}}
else A*;
};
>>
silber = {
pics = mgsSilber.xpm, mgsSilberVerbind.xpm
greyprob=1
<<
default inhibit = DIR_LLU+DIR_LLD+DIR_RRD+DIR_RRU : reapply;
silber = {0; loo; roo; ruu; luu;};
>>
}
gold = {
pics = mgsGoldVerbind.xpm, mgsGold.xpm
greyprob=1
<<
default inhibit = DIR_UUL+DIR_DDL+DIR_DDR+DIR_UUR : reapply;
gold = {1; llo; rro; rru; llu;};
>>
}
silbergold = {
pics = mgsGoldVerbind.xpm, mgsSilberVerbind.xpm, mgsSilberGold.xpm
greyprob=1
<<
default inhibit = DIR_UUL+DIR_LLD+DIR_DDR+DIR_RRU : reapply;
silbergold = {2; llo; roo; rru; luu;};
>>
}
goldsilber = {
pics = mgsGoldVerbind.xpm, mgsSilberVerbind.xpm, mgsGoldSilber.xpm
greyprob=1
<<
default inhibit = DIR_LLU+DIR_DDL+DIR_RRD+DIR_UUR : reapply;
goldsilber = {2; loo; rro; ruu; llu;};
>>
}
}
|