/usr/share/games/cuyo/unterwasser.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 | #
# Copyright <=2004 by Bernhard Seckinger and Immanuel Halupczok
# Modified 2006 by Bernhard Seckinger
# 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:
# ibwAlgen.xpm[.gz], ibwBlaeschen.xpm[.gz], ibwFisch.xpm[.gz],
# ibwMuschel.xpm[.gz], ibwPlankton.xpm[.gz], ibwSchuh.xpm[.gz],
# ibwTintenfisch.xpm[.gz], ibwWellen.xpm[.gz]
#
# Status: (M=Muss, S=Soll, K=Kann, F=Feature, B=Bugs)
#
# Fertig?
#
UnterWasser={
name="Under Water"
author="Berni & Immi"
numexplode=4
chaingrass=1
pics=Tintenfisch,Fisch,Muschel,Plankton
bgcolor=0,30,60
topcolor=200,220,255
toptime=50
toppic=ibwWellen.xpm
topoverlap=32
startpic=Algen
startdist[1]="..A.......","..A.......","..A......A","..A..A...A","..AA.A...A","A.AA.A...A","A.AA.A.A.A"
startdist="..A.......","..A.......","..A..A...A","A.A..A.A.A"
greypic=ibwSchuh.xpm
textcolor=200,220,255
#bubblespic=ibwBlaeschen
description="Bubbles (Level still under construction.)"
emptypic=ibwNix
<<
var bl_pos, bl_vers, bl_stat;
inc_bl_stat={
bl_stat+=1;
switch {
bl_vers==0 -> bl_stat%=6;
bl_vers==1 -> bl_stat%=12;
}
};
blaeschen={
switch {
bl_pos==0 -> switch {
# Vom Boden starten:
#kind@(0,1) = outside && falling && 1:500 ->
# bl_pos=1,bl_stat=0;{1:2->bl_vers=0;->bl_vers=1;};
# Von den Algen starten:
kind == Algen && 1:200 -> {
bl_pos=1;
bl_stat=0;
bl_vers=0;
};
# Von den Muscheln starten:
kind == Muschel && 1:200 -> {
bl_pos=1;
bl_stat=0;
bl_vers=1;
};
bl_pos@(0,1)==2 -> {
bl_pos=1;
bl_stat=bl_stat@(0,1);
bl_vers=bl_vers@(0,1);
};
};
-> {
bl_pos = (bl_pos + 1) % 4;
};
};
inc_bl_stat;
switch {
bl_pos != 0 -> {
switch {
bl_vers==0 -> switch {
bl_stat==0 -> A;
bl_stat==1 || bl_stat==5 -> B;
bl_stat==2 || bl_stat==4 -> C;
bl_stat==3 -> D;
};
bl_vers==1 -> switch {
bl_stat==0..1 -> E;
bl_stat==2..3 || bl_stat==10..11 -> F;
bl_stat==4..5 || bl_stat==8..9 -> G;
bl_stat==6..7 -> H;
};
};
switch {
bl_pos==1 -> {[qu=Q_TL_BL] 0*;[qu=Q_TR_BR] 0*};
bl_pos==2 -> 0*;
bl_pos==3 -> {[qu=Q_BL_TL] 0*;[qu=Q_BR_TR] 0*};
};
};
};
};
>>
ibwNix={
pics=ibwBlaeschen.xpm
<< ibwNix=blaeschen; >>
}
Tintenfisch={
pics=ibwBlaeschen.xpm,ibwTintenfisch.xpm
<< Tintenfisch={blaeschen;1;schema16}; >>
}
Fisch={
pics=ibwBlaeschen.xpm,ibwFisch.xpm
<< Fisch={blaeschen;1;schema16}; >>
}
Plankton={
pics=ibwBlaeschen.xpm,ibwPlankton.xpm
<< Plankton={blaeschen;1;schema16}; >>
}
Algen={
pics=ibwBlaeschen.xpm,ibwAlgen.xpm
<<
Algen={
blaeschen;
switch {
0??????? -> B;
1??????? -> A;
};
1*
};
>>
}
Muschel={
pics=ibwBlaeschen.xpm,ibwMuschel.xpm
<<
var mitte,po;
Muschel={
blaeschen;
switch {
mitte==0 -> {
po=rnd(16);
mitte=1
};
};
pos=po;
1*
};
>>
schema=3
}
}
|