Ignore:
Timestamp:
May 7, 2011, 5:12:10 PM (11 years ago)
Author:
Sam Hocevar
Message:

data: merge registered data into the main data directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/data/lisp/flyer.lsp

    r589 r590  
    123123
    124124
    125 (setq load_warn nil)
    126 (if (not (load "register/flyer.lsp"))
    127     (progn
    128       (setq FLYER WHO)
    129       (setq GREEN_FLYER WHO)))
    130 (setq load_warn T)
     125
     126(def_char FLYER
     127  (funs (ai_fun flyer_ai)
     128        (damage_fun  flyer_damage)
     129        (constructor flyer_cons))
     130
     131  (flags (hurtable T))
     132  (abilities (start_hp 20))
     133  (vars fire_delay burst_delay burst_total burst_wait burst_left
     134        max_xvel   max_yvel    smoke_time fire_time)
     135  (fields ("fire_delay"  who_fdelay)
     136          ("burst_delay" who_bdelay)
     137          ("burst_total" who_btotal)
     138          ("max_xvel"    who_mxv)
     139          ("max_yvel"    who_myv)
     140          ("hp"          ai_health)
     141          ("aitype"      ai_type)
     142          ("aistate"     ai_state))
     143
     144  (range 200 200)
     145  (states "art/flyer.spe"
     146          (running (seq "ffly" 1 12))
     147          (stopped (seq "unhurtable" 1 7))
     148          (flinch_up  '("flinch" "flinch" "flinch"))
     149          (turn_around (seq "ftrn" 1 6))))
    131150
    132151
    133152
    134153
     154(def_char GREEN_FLYER
     155  (funs (ai_fun flyer_ai)
     156        (damage_fun  flyer_damage)
     157        (constructor flyer_cons))
    135158
     159  (flags (hurtable T))
     160  (abilities (start_hp 20))
     161  (vars fire_delay burst_delay burst_total burst_wait burst_left
     162        max_xvel   max_yvel    smoke_time fire_time)
     163  (fields ("fire_delay"   who_fdelay)
     164          ("burst_delay"  who_bdelay)
     165          ("burst_total"  who_btotal)
     166          ("max_xvel"     who_mxv)
     167          ("max_yvel"     who_myv)
     168          ("hp"           ai_health)
     169          ("aitype"       ai_type)
     170          ("aistate"      ai_state))
    136171
     172  (range 200 200)
     173  (states "art/flyer.spe"
     174          (running (seq "gspe" 1 7))
     175          (stopped (seq "gdrp" 1 12))
     176          (flinch_up  '("ghurt" "ghurt" "ghurt"))
     177          (turn_around (seq "gspn" 1 7))))
    137178
    138 
    139 
Note: See TracChangeset for help on using the changeset viewer.