Merge pull request #2255 from kacpherek/fix/camel-ai-speeds
🤖 Agent: Read against the vanilla 26.3 sources (Walk, follow and flee at the camel's real AI speeds) and proven in contrib-gate-21's union of 72 kacpherek PRs: 95 parity harnesses on playhorizon and the Mac mini, clippy, 1534 tests, lan_e2e 23 checks in-frame and with --server-thread. Thanks @kacpherek!
This commit is contained in:
@@ -24,12 +24,13 @@ pub fn register(m: &mut Mob) {
|
||||
m.extra.tame = true;
|
||||
let tempt = m.kind.tempt.clone();
|
||||
let g = &mut m.ai.goals;
|
||||
// CamelAi speed modifiers (times the 0.09 movement speed attribute).
|
||||
g.add(0, Float);
|
||||
g.add(1, CamelPanic(Panic::new(4.0 * 0.25)));
|
||||
g.add(1, CamelPanic(Panic::new(4.0)));
|
||||
g.add(2, Breed::new(1.0));
|
||||
g.add(3, Tempt::new(2.5 * 0.25, tempt, false));
|
||||
g.add(4, FollowParent::new(2.5 * 0.25));
|
||||
g.add(5, Stroll::new(2.0 * 0.25));
|
||||
g.add(3, Tempt::new(2.5, tempt, false));
|
||||
g.add(4, FollowParent::new(2.5));
|
||||
g.add(5, Stroll::new(2.0));
|
||||
g.add(5, RandomSitting);
|
||||
g.add(6, LookAtPlayer::new(6.0));
|
||||
g.add(7, RandomLookAround::default());
|
||||
|
||||
Reference in New Issue
Block a user