File size: 782 Bytes
b6a38d7
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
-- ========== GENERATED BY ExtrasGen Editor (Ctrl-Alt-G) DO NOT EDIT MANUALLY! ==========

rawset(_G, 'ExtrasGenPrgs', rawget(_G, 'ExtrasGenPrgs') or {})
ExtrasGenPrgs.LayDirt = function(seed, initial_selection)
	local li = { id = "LayDirt" }
	initial_selection = initial_selection or editor.GetSel()
	local rand = BraidRandomCreate(seed or AsyncRand())
	prgdbg(li, 1, 1) sprocall(LayDecalsAlongGuide.Exec, LayDecalsAlongGuide, rand, initial_selection, nil, {PlaceObj('PlaceObjectDataDecal', {EditorClass = "DecWallDirt_03",FlipVertically = true,MoveDownPercent = 5,ScaleAfterPlace = 108,}),PlaceObj('PlaceObjectDataDecal', {EditorClass = "DecWallDirt_06",MoveDownPercent = 50,}),PlaceObj('PlaceObjectDataDecal', {EditorClass = "DecWallDirt_07",MoveDownPercent = 50,}),}, false)
end