File: cel_help_floppy.cfg

package info (click to toggle)
frogatto-data 1.2%2Bdfsg-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 201,844 kB
  • sloc: python: 302; xml: 223; perl: 139; sh: 48; makefile: 13; ruby: 4
file content (44 lines) | stat: -rw-r--r-- 828 bytes parent folder | download
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
[object_type]
  id=cel_help_floppy

  [vars]
    team="'neutral'"
  [/vars]
  [editor_info]
    category=cellular
    [var]
    name=text
    type=text
    value="'TEXT'"
    [/var]
    [var]
    name=x_offset
    value="0"
    [/var]
    [var]
    name=y_offset
    value="25"
    [/var]
  [/editor_info]

  on_collide_object_body="[
    if(collide_with=level.player and tmp.texted_already=0,[
      spawn('text_controller_fading',midpoint_x-x_offset,midpoint_y-y_offset,1,[set_var('txt',text),set_var('font','default'),set_var('size',1),schedule(200,die())])
    ])
  ]"

  [base:animation]
    image=experimental/cellular/props.png
    accel_x=0
    accel_y=0
    pad=0
    body_area=all
  [/animation]
  [animation]
    id=stand_north
    rect=18,18,33,33
    pad=1
    frames=1
    duration=6
  [/animation]
[/object_type]