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
|