File: raft_2.dat

package info (click to toggle)
edgar 1.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 227,860 kB
  • sloc: ansic: 93,832; sh: 388; makefile: 185; xml: 88
file content (21 lines) | stat: -rw-r--r-- 575 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
IF Raft_Point HEALTH 0
REMOVE "Chopped Log" 6 6 Raft_Point 2 8
END
IF Raft_Point HEALTH 1
REMOVE "Chopped Log" 6 6 Raft_Point 2 3
END
IF Raft_Point HEALTH 8
TALK Edgar Aw, not again!
ADD OBJECTIVE "Collect 6 Chopped Logs" " "
ADD TRIGGER "Chopped Log" 6 UPDATE_OBJECTIVE "Collect 6 Chopped Logs"
SET Raft_Point HEALTH 1
END
IF Raft_Point HEALTH 3
TALK Edgar I need 6 Chopped Logs to build a raft
SET Raft_Point HEALTH 1
END
IF Raft_Point HEALTH 2
TALK Edgar This had better be the last time I have to do this...
ADD ENTITY ITEM misc/raft "Raft" 8384 1280
KILL Raft_Point
END