
scope Pedestal initializer init
	import ObjEditingNatives

	function init takes nothing returns nothing
		create_w3u_h003()
	end

	@compiletime function create_w3u_h003 takes nothing returns nothing
		if compiletime
			let u = createObjectDefinition("w3u", 'h003', 'hwtw')
			u.setString("uabi", "Aloc,Avul,A000")
			u.setString("upat", "")
			u.setString("upap", "")
			u.setString("uubs", "")
			u.setString("umdl", "buildings\\other\\BookOfSummoning\\BookOfSummoning.mdl")
			u.setString("uani", "upgrade,second")
			u.setString("unam", "Pedestal")
			u.setString("utar", "ground")
			u.setInt("ubdg", 0)
			u.setUnreal("ucol", 0.0)
			u.setInt("uhom", 1)
			u.setString("utyp", "")
			u.setReal("ussc", 1.35)
			u.setInt("uhpm", 1000000000)
			u.setInt("uuch", 1)
			u.setString("udty", "fort")
		else
			CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h003', - 1472.1, 3637.6, 221.417)
			CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h003', - 1627.9, 3787.0, 312.910)
		end
	end
endscope
