summaryrefslogtreecommitdiff
path: root/src/elements/plut.c
blob: 738e29d585efb796c8a231890fd11af236c8a6b8 (plain)
1
2
3
4
5
6
7
8
9
#include <powder.h>

int update_PLUT(UPDATE_FUNC_ARGS) {
	if (1>rand()%100 && ((int)(5.0f*pv[y/CELL][x/CELL]))>(rand()%1000))
	{
		create_part(i, x, y, PT_NEUT);
	}
	return 0;
}