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

PROP

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

PROP (command) ROOM_ID (integer) CA_INDEX (integer) CA_VALUE (float)
The command PROP is used when making metarooms to set the amount of a CA in a room, and if you leave out the CA_VALUE it returns the amount of a CA in the specified room.

Examples[edit]

From Full Lifecycle Plant script:

		doif prop room targ 1 le ov80
			setv va00 1
		endi

		doif prop room targ 2 le ov82
			setv va01 1
		endi

		doif prop room targ 4 ge ov87
			setv va02 1
		endi


		doif va00 eq 1 and va01 eq 1 and va02 eq 1
			gsub grow
		endi

See also[edit]