Welcome to the Creatures Wiki! Log in and join the community.

DRIV

From Creatures Wiki
Jump to navigation Jump to search

DRIV is a CAOS command used to change or output the value of one drive from a targeted creature. Unlike CHEM, DRIV will teach the targeted creature that the drive changed is part of the object's function, for example, that toys reduce loneliness.

Usage[edit]

Command[edit]

Syntax: DRIV drive(integer) adjustment(float)

Changes the level of the drive by the adjustment value (can be positive or negative).

Function[edit]

Syntax: DRIV drive(integer)

Returns the value of the specified drive.

Examples[edit]

The Hoverdoc stores the value of drive 13 (sex drive) for its fertility graph:

setv va14 driv 13

Collapsing bramboo fruit plants give nearby creatures a fright, depending on how tall the plant was:

inst
setv va70 25
mulv va70 name "sections"
divv va70 1000.00
rnge 350
esee 4 0 0
	doif targ <> null
		driv 10 va70
	endi
next
slow

See also[edit]

  • DRV! - returns the current highest drive