git » fp-git.git » master » tree

[master] / FP / src / conf / tiles.conf

#   Princed V3 - Prince of Persia Level Editor for PC Version
#   Copyright (C) 2003 Princed Development Team
#
#   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 authors of this program may be contacted at http://forum.princed.com.ar

# tiles.conf: FreePrince : Tiles list
# ����������
# Copyright 2004, 2003 Princed Development Team
#  Created: 15 Aug 2004
#
#  Author: Enrique Calot <ecalot.cod@princed.com.ar>
#
# Note:
#  DO NOT remove this copyright notice
#

tile EMPTY 0 free
dangerous space bricke1@1 bricke2@2 window@3

tile FLOOR 1 free
walkable floor brickf1@1 brickf2@2

tile SPIKES 2 spike
walkable dangerous spikes chopper_spike
spikeup@Danger@((2<info->frame)&&(info->frame<5))

tile PILLAR 3 none
walkable pillar

tile GATE 4 gate
door gates gateFrame walkable
block@Gate@info->frame>15

tile BTN_STUCK 5 none
walkable

tile BTN_DROP 6 event
walkable pressable
unpressed@Pressable@info->action==eNormal
pressed@Pressable@info->action!=eNormal
drop_unpressed@Pressable@info->action==eNormal
drop_pressed@Pressable@info->action!=eNormal

tile TAPESTRY 7 tapest
tile BP_BOTTOM 8 none
walkable

tile BP_TOP 9 none
#bricke1@1 bricke2@2 bricke3@3

tile POTION 10 potion
walkable potion floor
#by effect
hitpoint@1
life@2
featherfall@3
invert@4
poison@5
open@6

#by size
smallpotion@0
smallpotion@1
bigpotion@2
bigpotion@3
bigpotion@4
smallpotion@5
smallpotion@6

#by colour
redpotion@1
redpotion@2
greenpotion@3
greenpotion@4
bluepotion@5
bluepotion@6

tile LOOSE 11 none
#it has floor and is walkable only if it is not down
floor@Danger@info->action==eLosNormal
walkable@Danger@info->action!=eLosDown
space@Danger@info->action==eLosDown
loosemoving@Danger@info->action==eLosMoving
loosenormal@Danger@info->action==eLosNormal
chopper_spike

tile TAPESTRY_TOP 12 ttop
gateFrame
#bricke1@1 bricke2@2 bricke3@3

tile MIRROR 13 none
walkable

tile DEBRIS 14 none
brokenTile walkable

tile BTN_RAISE 15 event
walkable dangerous pressable raise
unpressed@Pressable@info->action==eNormal
pressed@Pressable@info->action!=eNormal
raise_unpressed@Pressable@info->action==eNormal
raise_pressed@Pressable@info->action!=eNormal

tile EXIT_LEFT 16 none
gates walkable 
exitdoor@Gate@info->frame==0

tile EXIT_RIGHT 17 none
walkable 

tile CHOPPER 18 chomp
chopper floor walkable chopper_spike

tile TORCH 19 none
floor torch walkable

tile WALL 20 wall
block wall

tile SKELETON 21 none
walkable skeleton

tile SWORD 22 none
sword floor walkable

tile BALCONY_LEFT 23 none
tile BALCONY_RIGHT 24 none

tile LATTICE_PILLAR 25 none
pillar

tile LATTICE_SUPPORT 26 none
tile LATTICE_SMALL 27 none
tile LATTICE_LEFT 28 none
tile LATTICE_RIGHT 29 none
tile TORCH_DEBRIS 30 none
walkable torch brokenTile

tile NULL 31 none