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

DROP

From Creatures Wiki
(Redirected from Drop)
Jump to navigation Jump to search

DROP is a CV and DS-only CAOS command used to force TARG to drop what it is carrying. The game will try to find a safe place for the agent to fall.

Usage[edit]

Syntax: 'DROP

Example[edit]

DROP is used in the creature sleep scripts, so that creatures can't continue holding things in their sleep.

From the Food that turns into edible detritus when eaten's eat script:

scrp 2 11 5000 12
	inst
	doif pose eq 0
		stim writ from 79 1
		pose 1
		cato 10
		emit 8 0
		targ from
		drop
	else
		stim writ from 81 1
		kill ownr
	endi
endm