G.script — S.T.A.L.K.E.R. Inside Wiki

G.script

Материал из S.T.A.L.K.E.R. Inside Wiki

Перейти к: навигация, поиск

Оригинал:

function is_object_monster(obj)
	local otype = get_clsid(obj)
	if(otype == clsid.crow			or
		otype == clsid.zombie		or
		otype == clsid.flesh		or
		otype == clsid.controller	or
		otype == clsid.bloodsucker	or
		otype == clsid.burer		or
		otype == clsid.chimera		or
		otype == clsid.boar			or
		otype == clsid.dog_red		or
		otype == clsid.dog_black	or
		otype == clsid.poltergeist	or
		otype == clsid.pseudo_gigant  )
	then
		return true
	end

	return false
end

В модифицированный добавлено:

otype == clsid.cat		or
otype == clsid.fracture		or
Другие места
LANGUAGE