Add new animals and new erratic prop
This commit is contained in:
parent
8991e21ced
commit
8f7c30dca0
|
@ -13,6 +13,7 @@ export interface CreatureDefinition {
|
|||
turnRate: number
|
||||
laziness: number // Laziness determines how often the creature wanders each time it decides if it should wander. 1 means it'll never act, 0 means it'll always act.
|
||||
noisiness: number // Noisness determines how likely the creature randomly will make noise.
|
||||
erratic: number // Erratic determines how likely the creature will randomly change direction while running.
|
||||
}
|
||||
|
||||
export const animals: Record<string, AnimalDefinition> = {
|
||||
|
@ -26,6 +27,7 @@ export const animals: Record<string, AnimalDefinition> = {
|
|||
turnRate: 10,
|
||||
laziness: 0.75,
|
||||
noisiness: 0.1,
|
||||
erratic: 0.1,
|
||||
},
|
||||
monster: {
|
||||
sight: 125,
|
||||
|
@ -35,6 +37,7 @@ export const animals: Record<string, AnimalDefinition> = {
|
|||
turnRate: 10,
|
||||
laziness: 0.75,
|
||||
noisiness: 0.1,
|
||||
erratic: 0.1,
|
||||
}
|
||||
},
|
||||
nutria: {
|
||||
|
@ -42,20 +45,22 @@ export const animals: Record<string, AnimalDefinition> = {
|
|||
animal: {
|
||||
sight: 50,
|
||||
scent: 50,
|
||||
acceleration: 0.25,
|
||||
acceleration: 0.5,
|
||||
maxSpeed: 2,
|
||||
turnRate: 20,
|
||||
laziness: 0.95,
|
||||
noisiness: 0.05,
|
||||
erratic: 0.1,
|
||||
},
|
||||
monster: {
|
||||
sight: 50,
|
||||
scent: 50,
|
||||
acceleration: 0.25,
|
||||
acceleration: 0.5,
|
||||
maxSpeed: 2,
|
||||
turnRate: 20,
|
||||
laziness: 0.95,
|
||||
noisiness: 0.05,
|
||||
erratic: 0.1,
|
||||
},
|
||||
},
|
||||
turkey: {
|
||||
|
@ -68,6 +73,7 @@ export const animals: Record<string, AnimalDefinition> = {
|
|||
turnRate: 20,
|
||||
laziness: 0.85,
|
||||
noisiness: 0.2,
|
||||
erratic: 0.2,
|
||||
},
|
||||
monster: {
|
||||
sight: 75,
|
||||
|
@ -77,6 +83,53 @@ export const animals: Record<string, AnimalDefinition> = {
|
|||
turnRate: 20,
|
||||
laziness: 0.85,
|
||||
noisiness: 0.2,
|
||||
erratic: 0.2,
|
||||
}
|
||||
},
|
||||
salamander: {
|
||||
name: 'salamander',
|
||||
animal: {
|
||||
sight: 35,
|
||||
scent: 50,
|
||||
acceleration: 0.75,
|
||||
maxSpeed: 1.5,
|
||||
turnRate: 10,
|
||||
laziness: 0.9,
|
||||
noisiness: 0.05,
|
||||
erratic: 0.05,
|
||||
},
|
||||
monster: {
|
||||
sight: 35,
|
||||
scent: 50,
|
||||
acceleration: 0.75,
|
||||
maxSpeed: 1.5,
|
||||
turnRate: 10,
|
||||
laziness: 0.9,
|
||||
noisiness: 0.05,
|
||||
erratic: 0.05,
|
||||
}
|
||||
},
|
||||
rabbit: {
|
||||
name: 'rabbit',
|
||||
animal: {
|
||||
sight: 50,
|
||||
scent: 100,
|
||||
acceleration: 1,
|
||||
maxSpeed: 2,
|
||||
turnRate: 15,
|
||||
laziness: 0.65,
|
||||
noisiness: 0.2,
|
||||
erratic: 0.7,
|
||||
},
|
||||
monster: {
|
||||
sight: 50,
|
||||
scent: 100,
|
||||
acceleration: 1,
|
||||
maxSpeed: 2,
|
||||
turnRate: 15,
|
||||
laziness: 0.65,
|
||||
noisiness: 0.2,
|
||||
erratic: 0.7,
|
||||
}
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue
Block a user